代码改变世界

Linux Commands

2020-02-17 21:16 by 蜡笔小旧, 181 阅读, 0 推荐, 收藏,
摘要:卸载腾讯云云服务器安全监控组件 step1: /usr/local/qcloud/YunJing/YDDelCrontab.sh step2: /usr/local/qcloud/YunJing/uninst.sh step3: /usr/local/qcloud/stargate/admin/de 阅读全文

[Translation] Introduction to ASP.NET Core

2018-09-14 00:09 by 蜡笔小旧, 227 阅读, 0 推荐, 收藏,
摘要:Orignal Link: Introduction to ASP.NET Core 09/13/2018 The following content typing by hands. asp.net core 是一个跨平台,高性能的开源框架, 它能构建 现代的,基于云的,互联网交互的 应用。 使用 阅读全文

Create a private nuget server

2017-12-18 13:57 by 蜡笔小旧, 397 阅读, 0 推荐, 收藏,
摘要:​(1)https://docs.microsoft.com/en-us/nuget/hosting-packages/nuget-server (1.2) depoly to IIS(http://localhost:53673) (1.3) config you apiKey if need. 阅读全文

Cunningham's Law

2017-12-12 22:37 by 蜡笔小旧, 227 阅读, 0 推荐, 收藏,
摘要:Cunningham's Law states "the best way to get the right answer on the internet is not to ask a question; it's to post the wrong answer." Ref:https://me 阅读全文

[转]Migrating HTTP handlers and modules to ASP.NET Core middleware

2017-02-01 23:13 by 蜡笔小旧, 200 阅读, 0 推荐, 收藏,
摘要:https://docs.microsoft.com/en-us/aspnet/core/migration/http-modules 阅读全文

js 四舍五入

2016-09-12 21:14 by 蜡笔小旧, 223 阅读, 0 推荐, 收藏,
摘要:举例excel: ROUND 会四舍五入的;ROUNDDOWN 取小数点后两位数据,不管进位问题;ROUNDUP 取小数点后两位数据,只要有第三位小数都会进位的。关键看你取数的要求 在js如果要求roundup可以使用accounting.js库 (0.615).toFixed(2); // "0. 阅读全文

ko trick

2016-04-30 14:38 by 蜡笔小旧, 199 阅读, 0 推荐, 收藏,
摘要:(1)let a = ko.observable(‘A’)绑定到select,如果下拉列表中找不到'A', 变量a会赋值成undefined. 要解决此问题可以使用绑定valueAllowUnset (2)<div data-bind='abcd'> abcd绑定找不到不会报错 (3)compone 阅读全文

AutoBundle in asp.net mvc 5

2015-08-15 01:20 by 蜡笔小旧, 306 阅读, 0 推荐, 收藏,
摘要:using System.Collections.Concurrent;using System.Text;namespace System.Web.Optimization{ public static class Script { private static read... 阅读全文

ASP.NET Identity - LockoutEnabled

2015-03-12 18:12 by 蜡笔小旧, 1807 阅读, 1 推荐, 收藏,
摘要:LockoutEnabled 并不是想象中的 用户是否 锁定。而是 LockoutEnabled 标示 登陆是否此用户要检查LockoutEndDateUtc字段。如果为true则判断LockoutEndDateUtc 是否大于或者等于utc.now时间, 提示用户已被锁定。更详细的描述参见: ht... 阅读全文

T4

2014-11-30 23:06 by 蜡笔小旧, 438 阅读, 0 推荐, 收藏,
摘要:Text Template Transformation ToolkitT4语法感觉有点像aspx的视图模板。使用可以通过VS扩展和更新安装"T4 Toolbox for visual studio xx".但此版本只有简单的高亮功能,没有智能提示。需要智能提示可以安装tangible t4 e... 阅读全文
上一页 1 2 3 4 5 6 7 ··· 22 下一页