Installing Varnish on Ubuntu Hardy

This is a quick and dirty rundown on how to install Varnish 2.1.x on Ubuntu Hardy (8.04 LTS). Get sources setup Add the repository to /etc/apt/sources.list: Import the key for the new repository: Installation Update sources list and install varnish: Files of importance: Double-check: Further reading I recommend a mix of the following websites/links: Varnish 2.1 documentation Wiki with lots of tutorials and examples Team Soundcloud’s varnishtop (code on Github) Fin That’s all!...

September 14, 2010 · 1 min

Selenium & Saucelenium: installation and dbus-xorg-woes

We’re about to launch a new product, and this time it’s pretty client-side-intense. The application is powered by a lot of JavaScript(-mvc) and jQuery, which do xhr calls to a ZF/CouchDB powered backend. While js-mvc has unit-testing sort of covetred, I was also looking for some integration testing, multiple browsers and all that. Selenium vs. Saucelenium I can’t really say if you want one or the other. Revisiting Selenium in general, it’s IMHO the only viable and suitable thing for a PHP shop....

September 7, 2010 · 2 min

Tumblr: Display a list of entries in the sidebar

Update 2010-09-06: I turned my JavaScript code into a handy plugin for jQuery — let me introduce: jquery-simplerss. So for whatever reason, on a lot of blogs (but not mine ;-)), the sidebar also contains the list of latest entries on said blog. I recently edited a template for a client and he requested the same feature — which put me through three hours of nightmare. Tumblr Tumblr is a hosted blog service....

September 2, 2010 · 3 min

Looking for Two PHP Developers in NYC

Hey everyone, it’s my sincere pleasure to announce that we’re looking to fill two positions for PHP developers (entry/junior) in NYC. Expectations This is what we look for from candidates: A strong and firm knowledge of PHP5 First hand experience with the Zend Framework You’ve heard of PHPUnit and TDD An idea of what a HTTP request is and the different applications that take part in one You heard of CouchDB, MongoDB or Redis (generally “NoSQL”) before Last but absolutely not least:...

August 12, 2010 · 1 min

Monkey patching in PHP

I haven’t really had the chance or time to play with PHP 5.3 until recently when Ubuntu 10.04 upgraded my local installations and kind of forced me to dive into it a little. And I’m also probably the last person on the planet to notice, but namespaces in PHP 5.3 allow you to monkey-patch core PHP code. What’s monkey patching? So monkey patching is a technique to replace functions at runtime....

June 22, 2010 · 2 min