Howto Create ISOs from CD/DVD
Its often quite handy to convert cds or dvds into iso files so you can make use of them on devices that don’t have a cdrom/dvdrom.
dd if=/dev/dvd of=dvd.iso # for dvd
dd if=/dev/cdrom of=cd.iso # for cdrom
dd if=/dev/scd0 of=cd.iso # if cdrom is scsi
Found it here:
http://ubuntuforums.org/archive/index.php/t-6509.html
My Brother is in this Rock Video
He’s one of the guys in the Japanese Sword Fighting Costumes (Kendo Outfits) in this Rock Video by a Norwegian band:
Why I’m not getting an android phone
Even though you think your text went to the person you meant to send it to, it might have gone to a random person in your address book! Pretty serious flaw if you ask me.
Resizing images in ImageMagick
I keep forgetting that the argument, resize, doesn’t do what I think it does, and how to actually resize an image.
So to resize all the files (I’m assuming that you only have images in your folder):
mogrify -scale 50% *
HowTo Backup and Move Wordpress
Just thought I’d share how I managed to move my wordpress blog from one server to another.
First you need to export your wordpress database:
mysqldump --add-drop-table -h localhost -u root -p wordpressdb | bzip2 -c > wordpressdb.bak.sql.bz2
Then you copy over the wordpress root folder plus the wordpressdb.bak.sql.bz2 to the new server.
bzip2 -d wordpressdb.bak.sql.bz2
mysql -h localhost -u root -p wordpressdb < wordpressdb.bak.sql
create database wordpressdb;

