Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Silly oneliners from your ~/bin

Name: Anonymous 2013-12-13 8:21

(Or shell functions if your shell have them)
1. Read the last xkcd comic without opening your browser:

#!/bin/sh
feh -F `curl -q -o - http://xkcd.com | awk '/URL/ {print $5}'`

Name: Anonymous 2013-12-14 6:40

>>1
Weird, I didn't know others had bin directories in their home directories too.

A simple timer. Simple, but useful in a number of situations.
~ $ cat bin/timer
#!/bin/sh
sleep $@; mplayer /usr/share/sounds/freedesktop/stereo/bell.oga


4chan image scraper. Just provide the link to a thread, then it saves all the images.
~ $ cat bin/4chan-dl
#!/bin/sh
curl -s $@ | tr '\"' '\n' | grep "images.4chan.org" | uniq | sed s/^/http:/g | xargs wget -nv

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List