精进之路  

2020年6月30日

摘要: 概念:https://nap7.com/adfs-introduce-and-develop/ 参与方: client,通常是浏览器 relying party 信赖方。或者叫 SP 服务提供者 IdP,或者叫 Claim Provider 核心流程: ADFS 是一种基于 claim 的身份验证, 阅读全文
posted @ 2020-06-30 01:13 Optimus_Prime 阅读(132) 评论(0) 推荐(0) 编辑

2020年6月29日

摘要: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel?view=aspnetcore-3.1 主要特性: 支持 https 在 nginx 后面的时候,可以用 Unix socket 提高性能 http/2 阅读全文
posted @ 2020-06-29 22:29 Optimus_Prime 阅读(163) 评论(0) 推荐(0) 编辑
 
摘要: https://blog.zhaytam.com/2019/04/13/asp-net-core-checking-modelstate-isvalid-is-boring/ 文章首先介绍了 asp.net 处理流程的几个步骤: Model Binding → Model Validation → 阅读全文
posted @ 2020-06-29 14:29 Optimus_Prime 阅读(294) 评论(0) 推荐(0) 编辑

2020年6月28日

摘要: Software Engineering "Best Practices"- Ben Awad best practice 通常不是宇宙通用的,不要迷信 通常没有办法跳过尝试的步骤,而直接理解别人告诉你的 best practices. 手工课的启示:2组学生,一组让他们生产尽可能多的手工制品,另一 阅读全文
posted @ 2020-06-28 02:08 Optimus_Prime 阅读(159) 评论(0) 推荐(0) 编辑
 
摘要: https://aotu.io/notes/2018/06/07/Taro/ Taro 是京东凹凸(O2)实验室开发的跨端小程序开发框架,同时还可以发布到 H5, RN 等端。 语法类似 React. 使用的实现是 Nerv. 状态管理支持 Redux. Taro 的实现原理是通过 babel 解析 阅读全文
posted @ 2020-06-28 01:43 Optimus_Prime 阅读(325) 评论(0) 推荐(0) 编辑
 
摘要: https://stackoverflow.com/questions/39626194/should-i-avoid-using-dependency-injection-and-ioc 使用 ioc 时貌似需要写不少的 boilerplate 代码,有时候会困惑是否值得。这篇帖子探讨了其优缺点。 阅读全文
posted @ 2020-06-28 01:24 Optimus_Prime 阅读(130) 评论(0) 推荐(0) 编辑
 
摘要: Deno 内部代码将停用 TypeScript,并公布五项具体理由 主要原因是 TypeScript 编译速度太慢。内部实现会改用 js, 但用户代码仍然提供 ts 类型检查支持。 我为什么放弃移动开发 对移动开发坑的吐槽。 ApiFox 是个不错的 Postman 替代品 https://xie. 阅读全文
posted @ 2020-06-28 00:28 Optimus_Prime 阅读(100) 评论(0) 推荐(0) 编辑

2019年10月13日

摘要: 题目 You are given an array of integers in an arbitrary order. Return whether or not it is possible to make the array non decreasing by modifying at mos 阅读全文
posted @ 2019-10-13 23:39 Optimus_Prime 阅读(226) 评论(0) 推荐(0) 编辑
 
摘要: 题目 Given a list of numbers, where every number shows up twice except for one number, find that one number. Example: Input: [4, 3, 2, 4, 1, 3, 2] Outpu 阅读全文
posted @ 2019-10-13 03:01 Optimus_Prime 阅读(779) 评论(0) 推荐(0) 编辑

2019年10月12日

摘要: 题目 You are given a list of numbers, and a target number k. Return whether or not there are two numbers in the list that add up to k. Example: Given [4 阅读全文
posted @ 2019-10-12 00:54 Optimus_Prime 阅读(87) 评论(0) 推荐(0) 编辑