- Install google sdk for python
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
JAVA_HOME=/usr/java/jdk1.8.0_73 | |
PATH=$JAVA_HOME/bin:$PATH | |
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar | |
export JAVA_HOME | |
export PATH | |
export CLASSPATH | |
update-alternatives --install /usr/bin/java java /usr/java/jdk1.8.0_73/bin/java 100 | |
update-alternatives --config java | |
update-alternatives --install /usr/bin/javac java /usr/java/jdk1.8.0_73/bin/javac 100 | |
update-alternatives --config javac |
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
dd if=/dev/zero of=/tmp/test bs=1M count=2048 | |
dd | |
使用dd这个linux命令可以创建一定大小文件。 | |
linux创建文件命令:dd命令 | |
把指定的输入文件拷贝到指定的输出文件中,并且在拷贝的过程中可以进行格式转换。语法: | |
CODE:[Copy to clipboard]dd 〔选项〕 |
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
curl -o /dev/null -s -w %{time_namelookup}::%{time_connect}::%{time_starttransfer}::%{time_total}::%{speed_download}"\n" http://www.minniapp.net | |
time_namelookup:DNS 解析域名www.36nu.com的时间 | |
time_commect:client和server端建立TCP 连接的时间 | |
time_starttransfer:从client发出请求;到web的server 响应第一个字节的时间 | |
time_total:client发出请求;到web的server发送会所有的相应数据的时间 |
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/hanc00l/wooyun_public | |
虚拟机1:在2016年6月底爬的wooyun全部漏洞库和知识库内容,集成了Elasticsearch搜索,总共35G(压缩后约14G),网盘地址为: http://pan.baidu.com/s/1kVtY2rX ,提取密码:5ik7(8.5更新) | |
使用方法: | |
1、压缩包解压后是一个vmware虚拟机的镜像,可以由vmware直接打开运行; | |
2、由于在制作压缩包时虚拟机为“挂起”状态,当前虚拟机的IP地址可能和宿主机的IP地址段不一致,请将虚拟机重启后重新获取IP地址,虚拟机用户密码为hancool/qwe123; | |
3、进入wooyun_public目录,先用git更新一下到最新的代码git pull(如果提示merge冲突,先进行git reset --hard origin/master后再git pull); |
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
Hacker tools | |
链接:http://pan.baidu.com/s/1hsQQOyK 密码:9tm9 |
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
#zsh alias | |
alias 'ss1=nohup sslocal -q -c ~/.ss-config1.json > /dev/null 2>&1 &' | |
kill-sslocal | |
cat /usr/local/bin/ks | |
#!/bin/bash | |
proxy_process_id=`ps -ef |grep -v grep |grep 'sslocal'|awk '{print $2}'` | |
#echo $proxy_process_id |
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
download url is:: http://www.zimuku.net/download/OTE1NDl8ZTEzMWZhODk2MjY1NjcxNTg0YzliMDFjfDE1MDA4OTAyOTJ8OTVhNDgxYjZ8cmVtb3Rl |
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
""" | |
Copies all keys from the source Redis host to the destination Redis host. | |
Useful to migrate Redis instances where commands like SLAVEOF and MIGRATE are | |
restricted (e.g. on Amazon ElastiCache). | |
The script scans through the keyspace of the given database number and uses | |
a pipeline of DUMP and RESTORE commands to migrate the keys. | |
Requires Redis 2.8.0 or higher. |
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
http://www.lvyoubbs.com/home.php?mod=space&uid=4&do=blog&id=6711309 |
OlderNewer