Debugging Zend Framework routes with ZF Debug Utils

Debugging Zend Framework 2 routes and specifically why a given route wouldn't match to a controller was one of my pains while working with ZF2 applications. After spending too much time debugging them I decided to put together a ZF2 module - Noiselabs\ZfDebugModule - to help me visualize what…

Ghost, Dockerized.

In this blogpost we'll see how to Dockerize a local Ghost app for fun and profit. In a rush? Already familiar with Ghost? Jump to the technical bits. Posting, again It's been a *looong* time since my last post. The time has come to break the silence and start posting…

Introducing SmartyBundle, a Smarty3 bundle for Symfony2

Hello all! I've released yesterday the first version of SmartyBundle on GitHub. SmartyBundle SmartyBundle is a Symfony2  bundle that provides integration for the Smarty3 template engine. It will allow the usage of the Smarty template engine in Symfony2, instead of Twig or PHP templates. SmartyBundle is released under a LPGLv3…

Failed to submit batch buffer (Xorg)

Another Xorg update After my last Xorg update I've lost the nice ability to log into my KDE. Well, this sucks because I spent a long time compiling kdelibs and friends so I really want to use it. Symptoms A blank screen on login. You can even see your mouse…

Sanitize filenames with PHP

PDF generation and invalid characters While working with the TableTools PDF generator included in the great DataTables jQuery plugin I've noticed that sometimes the script failed to generate the PDF file. The cause? Invalid characters in the filename. Well, to solve this issue I've made a simple PHP function to…

Don't let updatedb take your Linux down

Coffee break everyone? Everyday morning was the same: updatedb came and took my Gentoo away. The symptoms were clear, X/KDE applications starting to become slow and unresponsive, and then the two inevitable choices: go for a coffee and wait or pkill the bastard. Asking updatedb to be nice (the…