I recently had an epic battle with yum and the EPEL repository. I wasted enough time on it that I think it will be useful if others experience similar problems. The Problem I recently installed a new VM with [CentOS 5.5 x86_64]. Like usual I add the EPEL and IUS Community repositories so that I [...]
bundle-phu – minify, bundle, and compress your js/css in Zend Framework
I’ve used a few different CSS/JS bundlers, but none have ever fulfilled all that I needed. Specifically, I wanted one that could do all of the following: Bundle automatically with little configuration Optionally minify Optionally compress Allow the bundled files to be served directly by the webserver, instead of by PHP. Easily allow files to [...]
Simple Nagios Probes in Ruby
I needed to write a custom nagios probe a few weeks ago. I googled for existing solutions in Ruby, but surprisingly found none. A nagios probe can really be written in any language, it just has to return a single line of output and an exit code of 0 (OK), 1 (WARNING), 2 (CRITICAL), or [...]
Moving to Jekyll & Disqus
I moved my blog to GitHub Pages today. I’ve decided to stop tinkering with new blog software every few months. I’ve gone from LiveJournal to Typo to Mephisto to WordPress to Chyrp; it was fun while it lasted. While I enjoy the tinkering, it’s a time-sink, and I have never really enjoyed the post creation [...]
How to ask for help with MySQL Performance
Since discovering StackOverflow I’ve become hopelessly addicted (see the badge to the right). I answer the mysql, php, zend-framework, and javascript categories mostly. My favorite category is mysql. These can be some of the most challenging questions to answer, particularly the query optimization ones. I often answer, having learned something myself in the process. Unfortunately, [...]
Spell check with Zend_Json_Server & pspell
An application I’ve been working on has had a desire for spell check capabilities for some time now. As most browsers provide native methods for this, it has remained on the back burner until now. I decided to use Zend_Json_Server for a few reasons: I wanted to avoid the overhead required to bootstrap and route [...]
Zend_Log_Writer_Firebug gotcha
A few weeks ago I found a gem of a class called Zend_Log_Writer_Firebug within Zend Framework. It really is a must have when it comes to debug logging. However, a few weeks ago something bizarre happened that caused all of my FirePHP logging to break. I scoured the web for bug reports to find issues [...]
