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://ftp.de.debian.org/debian/pool/main/g/gcc-4.7/libstdc++6_4.7.2-5_amd64.deb | |
| [nemo.zhang@cws87 WebTorrent-linux-x64]$ ls -l | |
| total 114360 | |
| -rw-r--r-- 1 nemo.zhang nemo.zhang 56229 Feb 3 2017 blink_image_resources_200_percent.pak | |
| -rw-r--r-- 1 nemo.zhang nemo.zhang 15 Feb 3 2017 content_resources_200_percent.pak | |
| -rw-r--r-- 1 nemo.zhang nemo.zhang 9869701 Feb 3 2017 content_shell.pak | |
| -rw-r--r-- 1 nemo.zhang nemo.zhang 10127200 Feb 3 2017 icudtl.dat | |
| -rw-r--r-- 1 nemo.zhang nemo.zhang 2574840 Feb 3 2017 libffmpeg.so |
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
| # sudo yum install gcc-c++ | |
| # sudo yum install protobuf-devel | |
| $ wget -c https://mosh.org/mosh-1.3.2.tar.gz | |
| $ tar xf mosh-1.3.2.tar.gz | |
| $ cd mosh-1.3.2 | |
| $ ./configure | |
| $ make | |
| # make install | |
| $ cat mosh.sh |
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
| #!/usr/bin/env python | |
| #coding:utf-8 | |
| #sudo yum install poppler-utils | |
| import os | |
| import re | |
| import subprocess | |
| from decimal import * |
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
| # python | |
| # https://www.python.org/ftp/python/3.8.1/python-3.8.1-amd64.exe 下载安装 | |
| # 找到pip.exe C:\Users\yourname\AppData\Local\Programs\Python\Python38\Scripts\pip.exe | |
| # 命令行安装 | |
| #pip.exe install -i https://mirrors.aliyun.com/pypi/simple/ pyautogui==0.9.46 | |
| # 打开券商通达信 登录 |
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
| bt下载 | |
| https://webtorrent.io/ | |
| 文件同步 | |
| https://www.resilio.com/individuals/ | |
| 远程桌面 | |
| https://www.teamviewer.com/en/ | |
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
| nexus 4已经root | |
| google play上安装busybox | |
| google play上安装终端模拟器 | |
| 进入终端 | |
| # company 7C:DD:90:06:59:7C | |
| busybox ifconfig -a | |
| busybox ifconfig wlan0 hw ether 7c:dd:90:06:59:7c |
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
| iOS | |
| https://itunes.apple.com/us/app/wingy-http-s-socks5-proxy-utility/id1178584911?mt=8 | |
| android | |
| https://play.google.com/store/apps/details?id=com.github.shadowsocks | |
| mac |
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
| [alias] | |
| pb = !$HG push -b $($HG branch) |
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
| # in /etc/sysctl.conf | |
| # net.ipv4.ip_forward=1 | |
| echo 1 > /proc/sys/net/ipv4/ip_forward | |
| iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT | |
| iptables -A FORWARD -s 10.8.0.0/24 -j ACCEPT | |
| iptables -A FORWARD -j REJECT | |
| iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE |
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
| #debian 8 on vultr | |
| # install kernel | |
| sudo echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list | |
| sudo apt-get update | |
| apt-get install -t jessie-backports linux-image-amd64 | |
| #reboot | |
| update-grub | |
| reboot |