(not set) | |
Blog | (not set) |
Website | (not set) |
2
score
|
Search man pages and present a PDF$ man -k . | awk '{ print $1 " " $2 }' | dmenu -i -p man | awk '{ print $2 " " $1 }' | tr -d '()' | xargs man -t | ps2pdf - - | zathura - |
0
score
|
Organise image by portrait and landscape$ mkdir "portraits"; mkdir "landscapes"; for f in ./*.jpg; do WIDTH=$(identify -format "%w" "$f")> /dev/null; HEIGHT=$(identify -format "%h" "$f")> /dev/null; if [[ "$HEIGHT" > "$WIDTH" ]]; then mv "$f" portraits/ ; else mv "$f" landscapes/ ; fi; done |
3
score
|
Random Git Commit$ git commit -m "$(w3m whatthecommit.com | head -n 1)" |
1
score
|
Get the latest Arch Linux news$ w3m https://www.archlinux.org/ | sed -n "/Latest News/,/Older News/p" | head -n -1 |
1
score
|
Listen to the radio (radio2 in example)$ mpv http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_med/llnw/bbc_radio_two.m3u8 |
1
score
|
Go up to a particular folder$ alias ph='cd ${PWD%/public_html*}/public_html' |
3
score
|
Open another terminal at current location$ $TERMINAL & disown |
0
score
|
Corporate random bullshit generator (cbsg)$ curl -s http://cbsg.sourceforge.net/cgi-bin/live | grep -Eo '^<li>.*</li>' | sed s,\</\\?li\>,,g | shuf -n 1 | cowsay |