摘要: https://www.cnblogs.com/hulizhong/p/11268468.html 阅读全文
posted @ 2019-08-02 20:14 chendashuo 阅读(135) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-07-05 13:21 chendashuo 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 今天这篇文章我们来聊一聊如何提升并优化ASP.NET Core应用程序的性能,本文的大部分内容来自翻译,当然中间穿插着自己的理解,希望对大家有所帮助!话不多说开始今天的主题吧!我们都知道性能是公共网站取得成功的关键因素之一。如果一个网站的响应时间超过3秒,那么用户通常不会再此光顾(此网站)。谷歌,B 阅读全文
posted @ 2019-05-25 09:42 chendashuo 阅读(316) 评论(0) 推荐(0) 编辑
摘要: protected void Button1_Click(object sender, EventArgs e) { string b = TextBox1.Text; ////截取前两位 123a4a4b5b6 12 //string c = b.Substring(0, 2); //TextBo 阅读全文
posted @ 2019-05-14 16:30 chendashuo 阅读(7130) 评论(0) 推荐(1) 编辑
该文被密码保护。 阅读全文
posted @ 2019-05-13 09:47 chendashuo 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 正整数:onkeyup="this.value=this.value.replace(/[^0-9]+/,'');" 可负数:onkeyup="this.value=this.value.replace(/[^0-9-]+/,'');" 阅读全文
posted @ 2019-05-09 17:21 chendashuo 阅读(529) 评论(0) 推荐(0) 编辑
摘要: public static void WriteLog(string text) { string path = AppDomain.CurrentDomain.BaseDirectory; path = System.IO.Path.Combine(path , "Logs\\"); if (!S 阅读全文
posted @ 2019-04-28 10:38 chendashuo 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 解决方案: git clone 项目失败,报下面的错误信息: $ git clone http://192.168.0.141/xxxx.git Cloning into 'appEnterprise'... remote: HTTP Basic: Access denied fatal: Auth 阅读全文
posted @ 2019-04-25 16:06 chendashuo 阅读(563) 评论(0) 推荐(0) 编辑
摘要: 文件读写 Python内置了读写文件的函数,用法和C是兼容的。在磁盘上读写文件的功能都是由操作系统提供的,现代操作系统不允许普通的程序直接操作磁盘,所以,读写文件就是请求操作系统打开一个文件对象(通常称为文件描述符),然后,通过操作系统提供的接口从这个文件对象中读取数据(读文件),或者把数据写入这个 阅读全文
posted @ 2018-06-29 00:48 chendashuo 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 进制转换 字符串操作 # Author:w k name="your name wk and your 20 years old!" #a b c d e f g h i j k l m n o p q r s t u v w x y z #print(name.count("a")) #返回字符串 阅读全文
posted @ 2018-06-29 00:43 chendashuo 阅读(162) 评论(0) 推荐(0) 编辑