Servers for sale

Posted by & filed under PHP, Techie.

My company has a couple of servers that are no longer needed. They’re a couple of years old, but still very nice hardware! Tweet

Compiling wkhtmltopdf on Mac OS X 10.7 Lion

Posted by & filed under PHP, Techie.

Wkhtmltopdf is extremely cool. I’ve used qtwebkit for generating server-side page images before using python-webkit2png, and that’s fine (unlike using Firefox running in xvfb!), but I need to produce PDFs. So, I looked around and found several neat, simple PHP wrappers for calling wkhtmltopdf, and even a PHP extension. “Great”, I thought, “I’ll just install… Read more »

Domain name validation

Posted by & filed under PHP, Techie.

I was revisiting the validation of domain names and realised that most of the regexes posted around the web have faults. Many refer to Sean Inman’s 2006 post, which does a fair job but is prone to break as new TLDs are introduced. This answer on StackOverflow is about the best I’ve found so far:… Read more »

Subversion 1.7 to 1.6 downgrade with MacPorts

Posted by & filed under PHP, Techie.

MacPorts told me that there had been a subversion update (1.7.1), which I went ahead and installed. Woo! Huge speed improvements for everything I tried with the CLI client, great stuff. A short time later my IDE (PHPStorm) fell over screaming. It doesn’t like 1.7 yet, and it’s a bit stuck until SVNKit supports it…. Read more »