This file contains 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
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"strconv" | |
"strings" | |
"time" | |
"os" |
This file contains 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
#usage: | |
#ffmpeg_high_quality.sh INPUT AUDIO_OFFSET OUTPUT | |
#sample: ffmpeg_high_quality.sh video_ 2 MySuperGank | |
#the AUDIO_OFFSET is the seconds of silence at the start (gap between recording started and sound starts, usually the time u get to close the console) | |
# INPUT is the startvideo INPUT data you typed in | |
ffmpeg -f image2 -framerate 30 -r 30 -i $1%04d.tga -itsoffset $2 -i $1.WAV -vcodec qtrle -r 24 -s 960x600 $3.mov |
This file contains 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
C:\Windows\system32>c:\windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe -m -ag 1.2 -url file://psf/Home\* FullTrust | |
C:\Windows\system32>c:\windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe -m -ag 1.2 -url file://y:\* FullTrust | |
C:\Windows\system32>c:\windows\Microsoft.NET\Framework\v2.0.50727\CasPol.exe -m -ag 1.2 -url file://psf/Home\* FullTrust | |
C:\Windows\system32>c:\windows\Microsoft.NET\Framework\v2.0.50727\CasPol.exe -m -ag 1.2 -url file://y:\* FullTrust |
This file contains 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
screen -A -m -d -S "$1" "$2" |
This file contains 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
var GitServer = require('git-server'); | |
var user1 = { | |
user: { | |
username: 'user1', | |
password: 'user1' | |
}, | |
permissions: ['R', 'W'] | |
}; |
This file contains 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 -jar $ANDROID_HOME/tools/proguard/lib/retrace.jar "$1" "$2" |
This file contains 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
ffmpeg -f image2 -i $1%04d.tga -r 30 -vcodec mpeg4 -i $1.WAV -b 10000k $2.mpg |
This file contains 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
aapt dump badging "$1" | grep package:\ name | sed "s/\(.*\)versionName='//" | sed "s/'//" |
This file contains 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
*filter | |
:INPUT ACCEPT [0:0] | |
:FORWARD ACCEPT [0:0] | |
:OUTPUT ACCEPT [0:0] | |
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT | |
-A INPUT -i lo -j ACCEPT | |
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT | |
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT | |
-A INPUT -p udp -m udp --dport 27000:27030 -j ACCEPT |
This file contains 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
# Package generated configuration file | |
# See the sshd_config(5) manpage for details | |
# What ports, IPs and protocols we listen for | |
Port 22 | |
# Use these options to restrict which interfaces/protocols sshd will bind to | |
#ListenAddress :: | |
#ListenAddress 0.0.0.0 | |
Protocol 2 | |
# HostKeys for protocol version 2 |