上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 46 下一页
摘要: Fake Fakes are objects that have working implementations, but not same as production one. Usually they take some shortcut and have simplified version 阅读全文
posted @ 2022-07-07 22:58 talentzemin 阅读(101) 评论(0) 推荐(0)
摘要: 代码 long epoch = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss").parse("01/01/1970 01:00:00").getTime() / 1000; String date = new SimpleDateFormat("MM/dd/y 阅读全文
posted @ 2022-07-07 22:56 talentzemin 阅读(145) 评论(0) 推荐(0)
摘要: 背景 项目中对URL进行操作的时候,用string的各种基础方法 和 if else去搞,实在"优雅"。 啊呸! springframework.web import org.springframework.web.util.UriComponentsBuilder; ... return UriC 阅读全文
posted @ 2022-06-16 23:47 talentzemin 阅读(247) 评论(0) 推荐(0)
摘要: https://www.ietf.org/id/draft-peabody-dispatch-new-uuid-format-03.html 阅读全文
posted @ 2022-06-13 11:44 talentzemin 阅读(29) 评论(0) 推荐(0)
摘要: 背景 上一篇《Using SQL Server DB for DSC》中,核心机制就是这个图: 我一开始的理解是这样的,并且很长时间这么理解 还惊讶于“双向同步”的设计。 其实并不是这样的 Access Linked Table When you link to a table in an Acce 阅读全文
posted @ 2022-05-23 13:35 talentzemin 阅读(47) 评论(0) 推荐(0)
摘要: 原文:https://leandrowpblog.wordpress.com/2016/10/26/using-sql-server-db-for-dsc/ 阅读全文
posted @ 2022-05-23 12:51 talentzemin 阅读(34) 评论(0) 推荐(0)
摘要: 如果你写/调用一个N多参数的function,或者任务管道很长 那么你可能需要对该命令进行手动换行,便于阅读。 使用`符号就可以实现。 上面3个命令,只有第二个才是正确的(可以从参数的颜色也可以看出来) 请注意使用原则 `符号前加空格,`符号后直接回车 阅读全文
posted @ 2022-05-12 17:07 talentzemin 阅读(64) 评论(0) 推荐(0)
摘要: 页面内Link 我们都知道,URL中有个hash属性,用于定位页面上某个id元素,对于文档类的文章, 收藏和分享的时候,可以定位到具体的位置,十分有用。 当然我们也可以有一些有趣的使用方法,比如文章的分页,使用ajax请求数据。比如我们翻页到第5页,不小心刷新了页面,又会回到默认第一页。 但是对于博 阅读全文
posted @ 2022-05-03 13:28 talentzemin 阅读(156) 评论(0) 推荐(0)
摘要: 背景 接上一文,PowerShell DSC SendReport 说由于某些原因,DSC Pull Server无法访问,而DSC Node每天会进行2次操作,每次操作都会Report Status 在Pull Server无法访问的时候,Node会在本地cache 这些请求,每隔10分钟去尝试重 阅读全文
posted @ 2022-03-30 11:30 talentzemin 阅读(154) 评论(0) 推荐(0)
摘要: 背景 PowerShell DSC Pull Server因为证书过期挂了一个月,重新好了,会收到所有已经注册的server(称之为Node,或者Agent)这段时间积累的请求。为啥?问就是By design。 ref: https://github.com/PowerShell/PowerShel 阅读全文
posted @ 2022-03-17 22:59 talentzemin 阅读(153) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 46 下一页