varuolo

RSS

(Source: allieiscool)

cyclivist:

Rules

cyclivist:

Rules

Women’s self defense circa 1947

There are no foreign lands. It is the traveler only who is foreign.

- Robert Louis Stevenson

Reindog

Reindog

Nov 2

This is fabulous in so many ways.

(Source: youtube.com)

From XKCD

From XKCD

VIM: tabs to spaces

:set expandtab
:retab!

Thanks to Daily Vim for this snippit.

Linux fold command

Need to set a default width to a CLI output? Check out the fold command:

$ 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
Jan 7

Speed up firefox

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

Jan 6

Share current directory tree over the web

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!

Jan 5

Cleaning a Toilet with Coke

A good reason why NOT to drink soda.

Converting ape audio files

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!