CentOS下更新Git到最新版本
um 安装的 Git 在使用 diff 命令时发现不能高亮,由于这个不方便,决定更新到最新的 Git。Step 1# yum remove gitStep 2# cd /usr/src # wget https://www.kernel.org/pub/software/scm/git/git-2.9.3.tar.gz # tar xzf git-2.9.3.tar.gzStep 3# cd git-2....
使用 openssl 将 pfx 证书转换为 pem
前一阵子,在 curl 中使用 https 请求外部接口,在使用测试证书联调的时候请求第三方接口没有任何问题。正式联调后,使用第三方给的证书却请求不成功,而我们使用的垃圾代码架构也不报错。于是一急之下,使用 LMLPHP 写了个小栗子(例子)测试了下。结果 curl 报错如下:Error 58: could not load PEM client certificate, OpenSSL error er...
新版本 Chrome 浏览器 POST 请求不携带 Cookie 问题
chrome 升级到 80 版本之后 (最坑的地方:灰度测试,即也可能存在同一版本不同人的浏览器表现不同),Cookie 的 SameSite 属性默认值由 None变为 Lax,该问题的讨论可参考:https://github.com/google/google-api-javascript-client/issues/561。在 Lax 模式下,以下类型请求将受影响: 请求类型 示例 正常情况 Lax...
Raspberry Omxplayer 已经过时
yer being deprecated, I'm wondering if there would be a guide to deal with the migration to VLC? 链接:https://github.com/popcornmix/omxplayer/issues/796。 这篇文章发出来,希望能帮助到那些在看官方文档的,被官方文档虐的小伙伴了,技术要秉持一个态度,像陶渊明一样...
Error: Could not find or load main class config.zookeeper.properties
时报错,Error: Could not find or load main class config.zookeeper.properties,怎么办?起因,下载的是源码,应该下载已编译好的压缩包。http://kafka.apache.org/downloads.html Released June 28, 2017Release NotesSource download: kafka-0.11.0....