text
stringlengths
7
318
tar czv <EOC>
head -n1 nation.tbl | sed 's/\(.\)/\1\n/g' | sort | uniq -c | grep <EOC>
while true; do xdotool mousemove 1390 500; xdotool click 1; sleep 1; xdotool mousemove 780 800; xdotool click 1; sleep 1; xdotool mousemove 1000 800; xdotool click <EOC>
for <EOC>
free -b -s <EOC>
cat <EOC>
userdel archived_account <EOC>
ss -a <EOC>
nmcli connection add type ethernet con-name "My Ethernet" ifname <EOC>
lsmod | grep <EOC>
ASN=32934;whois -H -h riswhois.ripe.net -- -F -K -i $ASN|awk '/^'$ASN'/ {if ($2 ~ /::/) {a="6"} else {a=""};b="sudo ip"a"tables -A INPUT <EOC>
xdotool search --name Thunderbird set_window <EOC>
watch readlink -f /proc/$(pidof <EOC>
iamawesome=$(curl -LsS iamawesome.com | echo <EOC>
find / -type d | while read i; do ls $i | wc -l | tr -d <EOC>
$text = do {local(@ARGV, $/) = $file ; <>; }; [or] sub read_file { local(@ARGV, <EOC>
sudo lsof | awk '{printf("%s %s %s\n", $1, $3, $NF)}' | grep -v "(" | sort -k 4 | gawk '$NF==prv{ct++;next} {printf("%d %s\n",ct,$0);ct=1;prv=$NF}' | uniq <EOC>
mysql -u[username] -p[password] [nome_database] <EOC>
find . -name "*.png" | xargs -I '{}' -P 4 <EOC>
fdupes -r -1 Neu | while read line; do j="0"; buf=""; for file in ${line[*]}; do if [ "$j" == "0" ]; then j="1"; buf=$file; <EOC>
find . -type <EOC>
SUM=0; for FILESIZE in `find /tmp -type f -iname \*pdf -exec du -b {} \; 2>/dev/null | cut -f1` ; do (( SUM += $FILESIZE )) ; done <EOC>
pmset -g batt | egrep "([0-9]+\%).*" <EOC>
svn st | grep ^? | xargs svn add 2> /dev/null <EOC>
sbatch --nodes={{3}} {{path/to/job.sh}} <EOC>
wodim -v <EOC>
echo <EOC>
Dir=dirname; mkdir $Dir && cd <EOC>
pronounce(){ xidel "http://www.m-w.com/dictionary/$*" -f <EOC>
tar -cvf - $DIR_TO_BACKUP | tee >(md5sum > backup_md5.txt) > /dev/st0 && <EOC>
extract() {if [ -f $1 ];then case $1 in *.tar.bz2) tar xvjf $1;;*.tar.gz) tar xvzf $1;;*.bz2) bunzip2 $1;;*.rar) unrar x $1;;*.gz) gunzip $1;;*.tar) tar xvf $1;;*.tbz2) tar xvjf $1;;*.tgz) tar xvzf $1;;*.zip) unzip $1;;*.7z) <EOC>
man fetchmail | perl -ne 'undef $/; print $1 if <EOC>
awk -F ',' <EOC>
nmap -oG - -T4 -p22 -v 192.168.0.254 | <EOC>
python <EOC>
ifconfig eth0 <EOC>
netstat -p <EOC>
sudo renice <EOC>
stress -m {{2}} <EOC>
for i in *.xml; do sed -i <EOC>
sxiv -S {{seconds}} {{path/to/image1 path/to/image2}} <EOC>
sudo port activate <EOC>
IFS=$'\n'; LIST=`ls -1`; let <EOC>
create_ap -m <EOC>
for I in *.CR2; do if [ `exiv2 pr -p a -u $I | grep 'xmp.Rating' | awk '{ print $4 }'` == "1" ]; then echo $I; fi; done <EOC>
beep -f {{262}} -n -f {{294}} -n -f {{330}} -n <EOC>
gpasswd -a vivek devcloud <EOC>
( ps -U nms -o pid,nlwp,cmd:500 | sort -n -k2) && (ps h -U nms -o nlwp | paste -sd+ | bc) <EOC>
echo 16384 > /proc/sys/net/ipv4/neigh/default/gc_thresh1; echo 32768 > /proc/sys/net/ipv4/neigh/default/gc_thresh2; <EOC>
apt-cache show <EOC>
find . -type d -print0 | (cd <EOC>
ps -ef | awk -v OFS="\n" '{ for (i=8;i<=NF;i++) line = (line ? line FS : "") $i; print NR ":", $1, <EOC>
nc -l -p portnumber <EOC>
smtpd_sasl_type` configuration parameter <EOC>
find -type d -name ".svn" -prune -o -not -empty -type f -printf "%s\n" | sort -rn | uniq -d | xargs -I{} -n1 find -type d -name ".svn" -prune -o -type f -size {}c -print0 | <EOC>
curl http://ipecho.net/plain <EOC>
set pretty print <EOC>
du | sort -n | tail <EOC>
find . -type f -name '*.php' | xargs cat | sed -re ':top /\/\*.*\*\// { s/\/\*.*\*\///g ; t top }; /\/\*/ { N ; b top }' | awk '$0 !~ /^[\t[:space:]]*($|(\/\/)|(#))/' | wc <EOC>
lynx -dump <EOC>
PATH=$(cd <EOC>
perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)' <EOC>
i=0;for <EOC>
pyrit <EOC>
cat /dev/urandom | <EOC>
whiptail --title "{{title}}" --yes-button "{{text}}" --no-button "{{text}}" --yesno "{{message}}" {{height_in_chars}} {{width_in_chars}} <EOC>
boltctl <EOC>
project=YOURPROJECTHERE; package=YOURPACKAGEHERE; osc signkey --extend $project; osc rebuildpac project package <EOC>
while i=1; do echo -ne 'Wifi signal strength:' $(/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | grep CtlRSSI | awk {'print $2'}) '\r'; <EOC>
cat -n <EOC>
wc -c <file> cat <file> <EOC>
svn propset svn:ignore "*txt" log/ <EOC>
wget -O - "[PICASA ALBUM RSS LINK]" |sed 's/</\n</g' | grep <EOC>
exec -a {{name}} <EOC>
gnuplot -p <(echo "set style data hist; set xtic <EOC>
iw dev {{wlp}} connect <EOC>
ip link set {{ethN}} <EOC>
ps auxw | grep -E 'sbin/(apache|httpd)' | <EOC>
find . -maxdepth 1 -type f| xargs sha1sum | sed 's/^\(\w*\)\s*\(.*\)/\2 \1/' | while read LINE; do <EOC>
ram() { for i in /tmp /altroot;do mount -t tmpfs tmpfs $i;done&& for i in /var /root /etc $HOME; do find -d <EOC>
svn st | grep -e [MA] | egrep -ve '.project|.classpath|.properties|.sh|.number' | awk -F' ' '{ print $2}' | xargs <EOC>
ifconfig eth0 | grep <EOC>
python -c "import string; import random;print(''.join(random.SystemRandom().choice(string.ascii_uppercase + string.digits <EOC>
for i in emerg alert crit error warn ; do awk '$6 ~ /^\['$i'/ {print substr($0, index($0,$6)) }' error_log | sort | uniq -c <EOC>
aws ec2 describe-instances --region us-east-1 --filters <EOC>
find <EOC>
cp <EOC>
screen -dmS temp <EOC>
mkfs.cramfs -n <EOC>
service <EOC>
dmidecode | grep -i 'Base Board Information' -A4 -B1 <EOC>
bbcradio() { local s <EOC>
tail() { thbin="/usr/bin/tail"; if [ "${1:0:1}" != "-" ]; then fc=$(($#==0?1:$#)); lpf="$((($LINES - 3 <EOC>
tr -cd '1-6' < /dev/urandom | head -c <EOC>
powerprofilesctl <EOC>
i=$((15*60)); while [ $i -gt 0 <EOC>
cat filename <EOC>
for f in `find ./ -name "*.zip"` <EOC>
for file in `ls *.pdf`; do convert -verbose -colorspace RGB -resize 800 -interlace none -density 300 -quality 80 <EOC>
salt -G 'os_family:Debian' cmd.run ' /usr/lib/update-notifier/apt-check --human-readable' <EOC>