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-13 8:43

3. get the lyrics of the song I'm listening to

#/bin/sh
# usage getlyrics leonardcohen dancemetotheendoflove
fetch -q -o - --user-agent="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0" \
http://www.azlyrics.com/lyrics/$;{1}/${2}.html \
| sed -n '/<\!-- start of lyrics -->/,/<\!-- end of lyrics -->/p' \
| sed -e "s:<[^<>]*>::g"

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