Archives
- March 2011 (2)
- August 2010 (1)
- July 2010 (4)
- June 2010 (1)
- November 2009 (1)
- October 2009 (1)
- September 2009 (1)
- August 2009 (1)
- July 2009 (1)
- June 2009 (5)
- May 2009 (1)
- February 2009 (2)
- January 2009 (1)
- December 2008 (1)
- September 2008 (1)
- August 2008 (1)
- June 2008 (4)
- May 2008 (5)
- March 2008 (5)
- January 2008 (1)
- September 2007 (1)
- July 2007 (6)
- June 2007 (2)
- May 2007 (2)
- April 2007 (1)
- March 2007 (3)
- February 2007 (2)
- November 2006 (1)
- October 2006 (2)
- May 2004 (1)
- April 2004 (2)
Category Archives: Tech
Dynamic hosts file using Chef
There are a number of ways to setup your infrastructure so that you can refer to machines by hostname. I currently prefer the “dynamically generated hosts file” approach because it’s simple to understand and setting up a DNS server is … Continue reading
Redis plugin for collectd
Last weekend I wrote a small collectd plugin for monitoring Redis and put it on GitHub: http://github.com/powdahound/redis-collectd-plugin. If you haven’t heard of Redis before, it’s a key-value store similar to memcached with support for more complex data types like lists, … Continue reading
Tricky Apache configuration bug
When using Apache’s DirectoryIndex directive make sure you don’t separate the values with commas. If you do, Apache will be looking for filenames ending in commas! # Incorrect DirectoryIndex index.html, index.php, index.cgi # Correct DirectoryIndex index.html index.php index.cgi Tweet
Colorize log output with ack
Adding color to log files makes them a lot easier to understand, especially when tailing them. That’s why tools like MultiTail were created, and some logging tools can output in color. Last night I realized color could be added to … Continue reading
mkscript – test script creator
I usually do something wrong when I create test scripts (typo in shebang, not executable, missing open PHP tag, etc) so I wrote a small tool called mkscript that can create them for me. Basically, instead of doing: $ echo … Continue reading