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
| killall -HUP mDNSResponder |
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
| #!/system/bin/sh | |
| getStatus () { | |
| ps | grep openvpn && return 1 | |
| netcfg | grep $1 && return 1 | |
| return 0 | |
| } | |
| getWlanConnectStatus() | |
| { | |
| ifconfig wlan0 | egrep '([0-9]{1,3}\.){3}[0-9]{1,3}' && return 1 | |
| return 0 |
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
| netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' |
SublimeText3 Valid License without cracking! Just download/install then use this license.
----- BEGIN LICENSE -----
Andrew Weber
Single User License
EA7E-855605
813A03DD 5E4AD9E6 6C0EEB94 BC99798F
942194A6 02396E98 E62C9979 4BB979FE
91424C9D A45400BF F6747D88 2FB88078
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 setJdk6='export JAVA_HOME=$(/usr/libexec/java_home -v 1.6)' | |
| alias setJdk7='export JAVA_HOME=$(/usr/libexec/java_home -v 1.7)' | |
| alias setJdk8='export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)' |
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
| Basic Requirements: | |
| Computer with wired and wireless connection | |
| FFmpeg installation: http://www.ffmpeg.org/ | |
| GoPro Hero 3+: http://gopro.com/ | |
| RTMP server e.g. FMS (http://www.adobe.com/products/adobe-media-server-family.html) or CDN ingest point | |
| Overview: | |
| GoPro Hero3 cameras produce HLS streams which are consumed by control apps and their removeable monitor. |
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
| // _oo0oo_ | |
| // 088888880 | |
| // 88" . "88 | |
| // (| -_- |) | |
| // 0\ = /0 | |
| // ___/'---'\___ | |
| // .' \\| |// '. | |
| // / \\||| : |||// \ | |
| // / -||||| -:- |||||- \ | |
| // | | \\\ - /// | | |
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
| Output="./greatfire.txt" | |
| if [ -f $Output ] | |
| then | |
| rm $Output | |
| fi | |
| Threshold=20 | |
| for i in 0 1 2 3 4 5 6 7 8 9 | |
| do | |
| curl -s --insecure "https://zh.greatfire.org/search/alexa-top-1000-domains?page=$i"| \ |
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
| $.validationEngineLanguage.allRules = { | |
| "required": { | |
| "regex": "none", | |
| "alertText": "* This field is required", | |
| "alertTextCheckboxMultiple": "* Please select an option", | |
| "alertTextCheckboxe": "* This checkbox is required" | |
| }, | |
| "length": { | |
| "regex": "none", | |
| "alertText": "*Between ", |
