October 29, 2010

$ sudo -u postgres createuser -D -A -P mynewuser
$ sudo -u postgres createdb -O mynewuser mydatabase 

October 29, 2010

Time Travel in a 1928 Chaplin film? (via mkaku2050)

October 25, 2010
October 24, 2010
via asset.soup.io

via asset.soup.io

September 9, 2010

Wget batch download

wget -nd -r -l1 —no-parent -c -A.flac http://some.site/dir/

-A files extension
-nd no directory, by default wget creates a dir
-r recursively download
-l1 (L one) level 1, download only of that particular folder, don’t go depth on it.
–no-parent I definately don’t want the parent’s files

September 8, 2010
September 4, 2010

Directory size sorted

du —max-depth=1 /home/ | sort -n -r

September 4, 2010
August 30, 2010

“ Program output: ”

Online Python Tutor: Write Python code online and single-step through its execution

August 23, 2010
via topcultured.com

via topcultured.com