This page is no longer maintained. New code will be pushed to GitHub.
Scripts, programs and random snippets of code. Everything here is my own work, and is provided with absolutely no warranty — use at your own risk!
backuplogs → The name gives it away. A simple script I use to back up my IRC logs.
t4rd → Make any text l33t.
yoinklog → Scans IRC logs for links to images, dumping them to standard output. Supports plaintext and HTML output.
neo → My first ever shell script, posted here for posterity/embarrassment (delete as appropriate).
Create thumbnails for a folder full of images:
mkdir -p .tn
ls *.{jpg,gif,png} | xargs -i convert {} -size 150x150 \
-resize 150x150 .tn/{}Last played song on Last.fm:
lynx -dump "ws.audioscrobbler.com/1.0/user/USERNAME/recenttracks.txt" \
| head -n1 | cut -d',' -f2IRSSI kick logs:
grep -whorE '[^ ]* was kicked from [^ ]* by .*' ~/irclogs
To leave out the kick messages, change .* to [^ ]*
checksigs → Check your sigs file for any lines that are
too long for hey.
phonebook → Prints your phone numbers for o2sms,
vodasms and meteorsms in a pretty format. Works with versions 2 and 3.
Netris: Nightmare Mode
netris -k "l jkmspf^ln" -i 0.1 -S
(Run ~inky/bin/mindfuck on Spoon.)
How long have I been logged into Spoon?
finger $USER | grep ^Last | awk '{print "You logged on at",$6 "."}'