I've moved this gist to https://github.com/phynet/iOS-Schemes please check it there ;)
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://docs.ucloud.cn/software/vpn/OpenVPN4CentOS.html | |
| http://nmshuishui.blog.51cto.com/1850554/1544212 | |
| http://www.cnblogs.com/electron/p/3488033.html | |
| http://www.vpndp.com/ios-openvpn-settings-tutorial/ iPhone | |
| 1、安装openvpn | |
| 首先安装依赖库 | |
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
| git config --global https.proxy http://127.0.0.1:1080 | |
| git config --global https.proxy https://127.0.0.1:1080 | |
| git config --global --unset http.proxy | |
| git config --global --unset https.proxy | |
| npm config delete proxy |
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
| #Ipsec.conf example | |
| conn vrackxxxxx_psk | |
| ikelifetime=60m | |
| keylife=20m | |
| rekeymargin=3m | |
| keyingtries=1 | |
| authby=secret | |
| keyexchange=ikev2 | |
| mobike=no | |
| auto=add |
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
| REGEDIT4 | |
| [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink] | |
| "Arial"="wqy-microhei.ttc" | |
| "Arial Black"="wqy-microhei.ttc" | |
| "Arial CE,238"="wqy-microhei.ttc" | |
| "Arial CYR,204"="wqy-microhei.ttc" | |
| "Arial Greek,161"="wqy-microhei.ttc" | |
| "Arial TUR,162"="wqy-microhei.ttc" | |
| "Courier New"="wqy-microhei.ttc" |
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 bash | |
| # Install some pacakages we'll need to compile the driver below. | |
| sudo dnf install gcc kernel-devel -y | |
| # Create working dir for Broadcom driver files and patches. | |
| mkdir hybrid_wl_f23 | |
| # Change to working dir. | |
| cd hybrid_wl_f23 |
# View public IP
- curl -s checkip.dyndns.org | sed 's#.Address: (.)</b.*#\1#'
- wget -qO - icanhazip.com
- curl ifconfig.me
- curl ident.me
- dig +short myip.opendns.com @resolver1.opendns.com
- lynx -dump ifconfig.me | grep 'IP Address'
- curl ipecho.net/plain
- curl bot.whatismyipaddress.com
- curl ipinfo.io
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 -*- | |
| # Author: p0we7 | |
| # Email : i@iu.vc | |
| def handle_import_error(): | |
| print '\n' + "Import Error:" | |
| print 'Please install the required 3rd-party modules ' + '\033[4;95m' + 'requests' + '\033[0m' + '\n' | |
| import sys | |
| sys.exit() |
