摘要: 内容包括:库、工具、框架、模板引擎、身份认证、数据库、ORM框架、图片处理、文本处理、机器学习、日志、代码分析、教程等。 Github地址:https://github.com/jasonhua95/awesome-dotnet-core ,【awesome-dotnet-core】 其中的翻译有可 阅读全文
posted @ 2020-07-28 17:50 卡玛兹 阅读(2966) 评论(1) 推荐(2) 编辑
摘要: 设置 config set slowlog-log-slower-than 10000(微秒) //查看redis时间超过上面设置的阀值的key slowlog len 有几个key slowlog get 获取详情 阅读全文
posted @ 2020-07-16 17:45 卡玛兹 阅读(351) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { double totalAmount = 20; int num = 10; double minAmount = 0.01; Random r = new Random(); for (int i = 1; i < num; i+ 阅读全文
posted @ 2019-11-28 09:24 卡玛兹 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 更新列名 db.xx.update({}, {$rename : {"StoreId" : "MetaId"}}, false, true) 查询长度 db.getCollection("xx").find({$where:'this.StoreId.length>2'},{Name:0}) 查询总 阅读全文
posted @ 2019-10-18 13:48 卡玛兹 阅读(482) 评论(0) 推荐(0) 编辑
摘要: Select CONVERT(varchar(100), GETDATE(), 0): 05 16 2006 10:57AM Select CONVERT(varchar(100), GETDATE(), 1): 05/16/06 Select CONVERT(varchar(100), GETDA 阅读全文
posted @ 2018-07-24 09:04 卡玛兹 阅读(51368) 评论(0) 推荐(0) 编辑
摘要: TimeSpan timeSpan = (DateTime.UtcNow - new DateTime(1970, 1, 1)); string timeStamp = ((int)timeSpan.TotalSeconds).ToString(); 阅读全文
posted @ 2018-04-08 13:25 卡玛兹 阅读(867) 评论(0) 推荐(0) 编辑
摘要: public IList<T> RandomSortList<T>(List<T> ListT) { Random random = new Random(); List<T> newList = new List<T>(); foreach (T item in ListT) { newList. 阅读全文
posted @ 2018-03-16 13:50 卡玛兹 阅读(178) 评论(0) 推荐(0) 编辑
摘要: //********************************************************************************************************//* Creator by: liupan $time$//* Lastest upd 阅读全文
posted @ 2017-06-01 15:50 卡玛兹 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 设置缓存部分 <META HTTP-EQUIV="pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate"> <META HTTP-EQUIV="expires" 阅读全文
posted @ 2017-05-02 15:34 卡玛兹 阅读(827) 评论(0) 推荐(0) 编辑
摘要: var format = function (time, format) { var t = new Date(time); var tf = function (i) { return (i < 10 ? '0' : '') + i }; return format.replace(/yyyy|M 阅读全文
posted @ 2015-12-22 10:53 卡玛兹 阅读(3501) 评论(0) 推荐(0) 编辑
你好