VIM: tabs to spaces
:set expandtab
:retab!
Thanks to Daily Vim for this snippit.
(Source: allieiscool)
Women’s self defense circa 1947
There are no foreign lands. It is the traveler only who is foreign.
- Robert Louis Stevenson
This is fabulous in so many ways.
(Source: youtube.com)
$ echo “A B C D E F G H I J K L M N O P Q R S T U V W X Y Z” | fold -w 16
Output:A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Firefox 3 utilizes sqlite database. Every once in awhile, these need to be vacuumed.
for f in ~/.mozilla/firefox/*/*.sqlite; do sqlite3 $f ‘VACUUM;’; done
Want to show something on your machine to someone over the web? Don’t copy it or upload it somewhere. Just run “webshare” and the current directory and everything beneath it will be served from a new web server listening on port 8000. When your pal is finished, hit control-c.
alias webshare='python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"'
thanks to shell-fu.org for this!
A good reason why NOT to drink soda.
ffmpeg now supports ape files!
to convert:
ffmpeg -i file.ape outfile.wav
I used ffmpeg to convert the ape to ogg.
One smart mouse!