From the category archives:

Nerd musings

Singletons in PHP4

September 25, 2008

Not everybody is developing on PHP5 these days, even though PHP4 is no longer supported *yikes!*
And these people (namely me) need a way to implement the Singleton pattern.
The Singleton pattern is single-handedly the single most useful pattern when you only ever want to have one instance of a class instantiated at any one time.
Now [...]

Read the full article →

Zend Studio Eclipse – What Grinds My Gears

September 24, 2008

As many of you budding php developers know, Zend released their “Neon” version of Studio for Eclipse (Zend Studio 6.0) some time ago, it is perhaps (as far as I know) the most ambitious PHP IDE to date.
My list of gripes about this project are as follows:

Read the full article →

VirtualHost overlap on port 443, the first has precedence

February 7, 2008

This is the warning I was getting:

[warn] _default_ VirtualHost overlap on port 443,
the first has precedence

Go here for the solution to virtualhost overlap on port 80, it’s almost exactly the same.
And, this is how to fix the warning:
Add this line of code to your configuration file (usually httpd.conf or httpd-vhosts.conf)

NameVirtualHost *:443

I already had the line: [...]

Read the full article →

How to Build a Computer

January 30, 2008

Well now, I’ve just finished off my first Flagship Hub over at hubpages.com, it was a bit of fun and if you don’t already know how to build a computer then you might want to check out my super easy guide: How to Build a Computer.
The idea behind a Flagship Hub is that has to [...]

Read the full article →

How to Build a Free Website

January 29, 2008

I’ve just finished my first draft of “How to Build a Free Website” over at HubPages.com. I start off by covering some things you need to think about before jumping into the project, then I show you step by step how to get a free domain name that looks like: http://www.yourdomain.co.nr
Then, you’ll learn how to [...]

Read the full article →

Cool “Ant” ads on the Front Page

January 29, 2008

Funny thing, I added some Adsense units today just to see how they go on this site, I was hoping they’d automatically suggest some helpful websites for you to visit, but… it ended up displaying ads on “How to get rid of Ants” and “Get rid of Ants for Good!”
I thought it was quite humorous…

Read the full article →

Speed up Zend Studio

July 2, 2007

I used to be in the category of “Zend Studio runs sweet, what are you all complaining about?” but after upgrading to Zend Studio 5.5 I sadly found myself in the “I just want to code, why are you running so slow!?” category.
Here’s how I managed to speed things up

Read the full article →

Ubuntu Edgy Eft on Mac Mini without Keyboard/Mouse/Monitor

July 2, 2007

Here’s some links that helped me, I’ll post full article in the near future:
The bug explaining why the monitor needs to be plugged in:
Apple Mac Mini Doesn’t Boot Without Monitor
And these links helped me get it working in our home office setup:
HowTo: Co-Location with your Mac Mini
Headless Mac Mini Server
Create a Dummy Video Adapter
This may [...]

Read the full article →

Obligatory – I hate spam post

July 2, 2007

Everyone hates spam.
Here’s my two steps to completely eliminate spam from your life… easy as 1-2-3 (without the 3)

Get a Mac
Get Spam Sieve

I really can’t say enough good things about this product from C-Command, they’ve done a wonderful job, and although I don’t understand the full mathematics behind it, I know it’s simple and elegant. [...]

Read the full article →

Add Meta Tags to your WordPress Blog

July 1, 2007

Nerd?
You’ll appreciate this link then: Add Meta Tags to Wordpress
Go there, download it, and start using it in your WordPress Blog. It’s essential if you have any enthusiasm for search engine optimisation… which is ultimately about making this cyber world a better place. Think about it.

Read the full article →