Archive | development

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 […]

Continue Reading 17

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 […]

Continue Reading 0

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 […]

Continue Reading 0

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, […]

Continue Reading 1

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 […]

Continue Reading 0