Curiosity, Venera, Huygens

This thread on reddit blew my mind: http://www.reddit.com/r/pics/comments/xu7pn/with_all_the_curiositymars_pics_heres_a_pic_of/ Apparently the Russians sent a probe that landed on Venus in the 1980s. http://en.wikipedia.org/wiki/Venera And then there is this probe that got picture from the surface of one of Saturn’s moon – Titan. http://en.wikipedia.org/wiki/Huygens_(spacecraft)

Published
Categorized as Technology

How to make the sign in page the root page on devise

You can’t just use root :to => ‘devise/session#new’ because you will get this Could not find devise mapping for path “/” So you have to do this devise_for :users do root :to => ‘dashboard#index’, :constraints => lambda {|r| r.env[“warden”].authenticate? } root :to => ‘devise/sessions#new’ end

Published
Categorized as Technology

Fuck you apparmor!!!

That’s 5 hours of my life I will never get back. http://paikialog.wordpress.com/2011/10/19/how-to-properly-move-mysql-datadir-to-a-new-folder/

Published
Categorized as Technology

How to untar multiple tar zipped files using cat

The db backup program I used split the backup files into multiple tar gzipped files mysql-backup.tar.gz.part01 mysql-backup.tar.gz.part02 mysql-backup.tar.gz.part03 here is how to unzip them cat mysql-backup-tar.gz.part* | tar -xzvf –

Published
Categorized as Technology