依云的技术资源分享
1.45K subscribers
2 photos
283 links
分享与计算机、互联网、软件开发、开源社区等相关的链接
Download Telegram
https://www.vidarholen.net/contents/blog/?p=878 #shell #unix #terminal
Zsh and Fish’s simple but clever trick for highlighting missing linefeeds
https://ttys3.net/post/golang/troubleshoot/golang%E4%B8%AD%E4%BD%BF%E7%94%A8defer%E6%97%B6%E6%B3%A8%E6%84%8Fio%E7%BC%93%E5%86%B2%E5%8C%BA%E5%88%B7%E6%96%B0%E9%97%AE%E9%A2%98/ #go #api #bug

在我看来,这是 quotedprintable 的设计问题:它应当设计为在 .Close() 时返回内容,而不是默不作声地修改内容。就像 Python 的 StringIO 它们那样。而不是拿资源回收、释放的机制去做事情的最后一步。
我的备份脚本里有判断主机名,写的是 if [[ $(hostname) == xxx ]]。后来,hostname 命令被我卸载了,于是它这些日子以来都在静默地出错。shell 脚本真是太容易出错了,即使 set -e 也不能完全避免在错误之后继续执行呢。 #shell #linux
https://utcc.utoronto.ca/~cks/space/blog/tech/TLSHowMultipleChains #TLS #security
How you get multiple TLS certificate chains from a server certificate
原来证书记录的颁发者信息只有 Subject name,外加隐含的密钥对。
https://m.sohu.com/a/367065707_100226642 #wechat #work #misuse
北京铁路局两员工遭高铁撞轧身亡,因违规通过微信发送通知,员工未看到
https://utcc.utoronto.ca/~cks/space/blog/programming/GoMiddlewareVsInterfaceSmuggling #go #api
The impact on middleware of expanding APIs with Go's interface smuggling