Monthly Archives: February 2004

Fortune

I know these things are totally random, but imagine getting this fortune as you are contemplating a new venture like I am.

Posted in Blog | Comments Off

Replace text inside a file

To replace all occurances of “shtml” with “php” inside of all of the *.php files in a directory. $ perl -pi.bak -e ‘s/shtml/php/’ *.php See: hacks.oreilly.com: Global Search and Replace with Perl for more examples.

Posted in Blog | Comments Off

People piss me off

See: Sistani demands UN guarantee on polls NAJAF: Iraq’s leading Shi’ite cleric demanded yesterday a UN guarantee that elections would be held this year, as the world body ruled out returning to Iraq soon because of security concerns. In a … Continue reading

Posted in Blog | Comments Off

No more comments

For every real comment that I have on this site, there seem to be more than a dozen that are blog spam. Simple problem, simple solution… No more open comments. If you have a response, want more information, or just … Continue reading

Posted in Blog | Comments Off

Rack Mounting Servers

Every single time I rack mount, or for that matter do any work on a rack mount sun server I walk away bleeding. It’s insane. Gary and I used to joke about how we litteraly built this site in our … Continue reading

Posted in Blog | Comments Off

Largest files on a directory or partition

To see the 10 largest files on a directory or partition, use # du /partition_or_directory_name | sort -rn | head    – Dru genesis [at] istar [dot] ca From the FreeBSD fortune file.

Posted in Blog | Comments Off

Recursively copy files and their permissions

# cd /oldir # tar cf – . | (cd /newdir ; tar xf -) This is the best way to totally preserve a copy of a directory tree between the current directory and /newdir

Posted in Blog | Comments Off

Receptionists…

Receptionists should be the highest paid employee at every company on the planet. Not only that but the should be smart. Why? Think about it, if someone wants to call your company who do they talk to first? If someone … Continue reading

Posted in Blog | 1 Comment

Business Card 0.2

My next stop gap business card. Not bad for a non designer.

Posted in Blog | Comments Off

Bought a Tux

I bought a Tux this weekend. :) No you don’t get a better picture of it, you have to wait to see me at our wedding.

Posted in Blog | Comments Off