chrome://net-internals/#sockets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
:<<-USAGE | |
See https://github.com/frntn/x509-san/blob/master/README.md | |
USAGE | |
umask 377 | |
certname="${CRT_FILENAME:-"frntn-x509-san"}" | |
openssl x509 \ |
array(27) {
["Core"]=>
array(88) {
["E_ERROR"]=>
int(1)
["E_RECOVERABLE_ERROR"]=>
int(4096)
["E_WARNING"]=>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get install -y libpcap0.8-dev | |
mkdir -p /libpcap | |
apt-get download libpcap0.8-dev | |
dpkg -x libpcap0.8-dev_*_amd64.deb /libpcap/amd64 | |
rm libpcap0.8-dev*.deb | |
[ ! -f WpdPack_4_1_2.zip ] && wget https://www.winpcap.org/install/bin/WpdPack_4_1_2.zip | |
unzip WpdPack_4_1_2.zip -d /libpcap/win | |
[ ! -f wpcap.dll ] && wget https://github.com/cxfksword/beats/raw/master/dev-tools/packer/docker/xgo-image/beats-builder/wpcap.dll |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/Entware-ng/Entware-ng/wiki/Install-on-Asus-stock-firmware | |
cat << EOF > /tmp/script_usbmount.tmp | |
if [ \$1 = "/tmp/mnt/MYPART" ] | |
then | |
ln -sf \$1 /tmp/opt | |
/opt/etc/init.d/rc.unslung start | |
fi |
1、安装最新的vagrant
2、安装最新的virtualbox
3、下载支持docker容器的ubuntu版本
vagrant init "phusion/ubuntu-14.04-amd64"
vargrant up
1、安装npm 3以上版本,或nodejs 6以上
2、配置镜像使用淘宝
npm set registry https://registry.npm.taobao.org
3、直接使用npm install
#http
git config --global http.proxy http://127.0.0.1:1080
git config --global https.proxy http://127.0.0.1:1080
#socket5
git config --global http.proxy socks5://127.0.0.1:1080
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# create self-signed server certificate: | |
read -p "Enter your domain [www.example.com]: " DOMAIN | |
echo "Create server key..." | |
openssl genrsa -des3 -out $DOMAIN.key 1024 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location ~ .*\.(?!gif|jpg|jpeg|png|bmp|swf|flv|ico|js|css|ttf|woff|html|htm|php)[^.]+$ | |
return 404; | |
} |