How Not to change a hard drive in a Macbook Pro

February 7, 2009

During Christmas break I received a 500 gig hard drive for my Macbook Pro. This generous upgrade from 120 gig will allow me to once again use my beloved linux on my primary system. I have been using OS X, but the longer I use it the less I am impressed with it. Still, it

PHP: Using a Registry

January 27, 2009

Over that last dozen or so projects I have worked on I have noticed that files containing settings, and other site specific data, tend to grow pretty quickly. Each time I open a settings file I struggle with the thought, ‘Do I use a define or a global variable?’. I do not really like using

New Datacenter in Sweden, James Bond Style

November 19, 2008

I normally like to keep original content on here, but occasionally I run across really cool article or website and I just have to tell you about it. Any of you ubergeeks out there will love this new datacenter. A ISP in Sweden recently bought a nuclear bunker and turned it into a high tech

PHP: Find and manipulate the data between delimiters

October 24, 2008

I am currently working on a site where the client has a rich text box to enter content for his articles. This is not unusual in itself, however he wants the ability to do some wikiish syntax in the text box and have the system magically produce the output for him. For instance, \[\[ThisIsSomePage\]\] could

PHP: Remove Query String Parameter by Name

October 22, 2008

There are many times when I have come across situations where I need to remove a parameter from the query string of a URI. Usually these are involved in sorting data from a database, and I want to put a sort_by or some such in the URI as a GET. When the page loads I