linux下是 ProxyCommand nc -x 127.0.0.1:1080 %h %p,然而对windows下的git bash是不管用的。git bash必须得用connect,如下:
ProxyCommand connect -S 127.0.0.1:1080 %h %p
connect.exe没有的可以从这里下载:connect.exe
linux下是 ProxyCommand nc -x 127.0.0.1:1080 %h %p,然而对windows下的git bash是不管用的。git bash必须得用connect,如下:
ProxyCommand connect -S 127.0.0.1:1080 %h %p
connect.exe没有的可以从这里下载:connect.exe
Git 的 push --force
具有破坏性,因为它无条件地覆盖远程存储库,无论你在本地拥有什么。使用这个命令,可能覆盖团队成员在此期间推送的所有更改。然而,有一个更好的办法,当你需要强制推送,但仍需确保不覆盖其他人的工作时,-force-with-lease
这条指令选项可以帮助到你。
作者:LeviDing
链接:https://juejin.im/post/5985b9c56fb9a03c376de762
来源:掘金
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
JDK bin 路径加到PATH环境变量
https://blog.csdn.net/happy_jijiawei/article/details/53737858
自己摸索出来的:
# $encrypted = mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $this->key, $input, MCRYPT_MODE_CBC, $iv);
$encrypted = openssl_encrypt($input, ‘AES-128-CBC’, $this->key, OPENSSL_RAW_DATA, $iv);
网上看到的,很好的方案:https://gist.github.com/odan/c1dc2798ef9cedb9fedd09cdfe6e8e76
httponly 开启会导致js无法读取
secure 如果你混用https和http开启后有坑
domain 没啥说的,就有有继承关系,一不小心cookie就有两份啊
path 一般用 / 就好了 不要用空。
persistent [boolean – default: false
]
Specifies if the underlying connection resource should be left open when a script ends its lifecycle.
使用效果:连接数降低10倍以上