上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 71 下一页
摘要: 请移步到: Angular Material 18+ 高级教程 – Datepicker の Calendar & Custom DateAdapter (Temporal) 更新: 2021-01-07 moment 换掉成 dayjs moment 已经不会更新了, 大家都在换 https:// 阅读全文
posted @ 2018-10-25 21:34 兴杰 阅读(5115) 评论(0) 推荐(0)
摘要: 表单是 html 里面最常用到的东西了. 很多时候我们会写自定义的表单,或者直接用框架上层的方式, 比如用 Angular. 但是在做小项目的时候,可能没有必要上框架,那我们就会用到原生的表单了. 这里记入一下,比较冷门的细节. validation selectElt.setCustomValid 阅读全文
posted @ 2018-10-24 17:44 兴杰 阅读(341) 评论(0) 推荐(0)
摘要: 更新 : 2018-10-28 不知道为什么在 ng 跑一直做不到 .d.ts 最后发现,如果有一个插件 propagating-hammerjs.ts 那么就在 root create 一个 propagating-hammerjs.d.ts ,名字要匹配到,这样就可以跑了。 暂时不管先呗.. r 阅读全文
posted @ 2018-10-08 14:21 兴杰 阅读(960) 评论(1) 推荐(0)
摘要: 请移步到: Date and Time 日期时间 – 开发中的基础知识 更新: 2022-09-27 Unix time 又叫 Unix timestamp 或 UNIX Epoch time 指的是从 1970 1月 1号 到指定时间的总秒数 (不是毫秒哦) C# 可以通过 DateTimeOff 阅读全文
posted @ 2018-10-02 14:52 兴杰 阅读(2125) 评论(0) 推荐(0)
摘要: 更新: 2020-12-26 找 history string git log -S search_value refer: https://stackoverflow.com/questions/4468361/search-all-of-git-history-for-a-string/4472 阅读全文
posted @ 2018-09-28 00:37 兴杰 阅读(463) 评论(0) 推荐(0)
摘要: 更新: 2020-11-15 log file 是会一直长大的, 直到你 backup log file, backup full database log file 还是会长大. 一般的做法是 full back -> log backup (通常需要 2 次, 才可以 shrink, 不知道原因 阅读全文
posted @ 2018-09-02 19:36 兴杰 阅读(2309) 评论(0) 推荐(0)
摘要: 1. computed column alter table tableName add columnName as (cast(aColumn as float) / bColumn * 100) persisted; 2. unique nullable create unique nonclu 阅读全文
posted @ 2018-09-02 18:40 兴杰 阅读(318) 评论(0) 推荐(0)
摘要: EPPlus 已经支持 .net core 了 https://www.nuget.org/packages/EPPlus https://github.com/JanKallman/EPPlus refer: https://stackoverflow.com/questions/40209636 阅读全文
posted @ 2018-08-05 11:20 兴杰 阅读(2955) 评论(1) 推荐(0)
摘要: 更新 : 2018-11-24 记入一些思考 asp.net core + identity 的权限是这样的 user = 1 个登入账号 role = 1 个角色 (类似于公司里的一个职位) claim = 令牌 (类似于古代,见令令牌如见皇帝或者将军) 一般上我们会把权限建立在 Page, 操作 阅读全文
posted @ 2018-07-19 01:11 兴杰 阅读(209) 评论(0) 推荐(0)
摘要: 更新 : id4 使用这个 DbContext 哦 dotnet ef migrations add identity-server-init --context PersistedGrantDbContext 参考 https://docs.microsoft.com/en-us/azure/ke 阅读全文
posted @ 2018-07-17 22:29 兴杰 阅读(637) 评论(0) 推荐(0)
上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 71 下一页