WordPress 3.6 comes with a hidden goody. Well, it’s not really hidden, but I just spotted it a few days ago. It’s called do_accordion_sections and it’s used to render the sections in the new menu manager: But the cool thing about it is that it’s basically a replacement for do_meta_boxes. So, with just a few […]

mu-plugins, maybe.

UPDATED: Added also deactivation enforcing A few days ago, Ryan McCue on twitter asked a question that I’ve asked myself a few times now, and always deferred looking for an answer and moved away to do more pressing things. But this time I really needed a solution for a site we’re doing, and came up […]


The Humble Programmer

“To put it quite bluntly: as long as there were no machines, programming was no problem at all; when we had a few weak computers, programming became a mild problem, and now we have gigantic computers, programming had become an equally gigantic problem. In this sense the electronic industry has not solved a single problem, […]

Screen Shot 2013-04-12 at 12.03.22 PM

XHProf vs xDebug running on Apache and OSX

My good friend Peter Chester pointed out to me that I should be trying XHProf. It is a PHP profiler created by Facebook and open sourced a while back. To be honest, the reason I did not do this before is because I’m pretty happy using xDebug as a profiler tool, but let’s give XHProf […]



“It turns out procrastination is not typically a function of laziness, apathy or work ethic as it is often regarded to be. It’s a neurotic self-defense behavior that develops to protect a person’s sense of self-worth. You see, procrastinators tend to be people who have, for whatever reason, developed to perceive an unusually strong association […]


Use current directory as taskwarrior project filter

I use taskwarrior as my project management tool, and when I’m working on a given project, I always have a tmux pane in the project’s root folder that I use for dealing with taskwarrior tasks. Having to add pro:my_project to each and every command is a pain, so I came up with this function (I’ve added it […]