Recent Posts

Splunk/Rsyslog/Apache/Ubuntu Quickstart

I've been using Splunk for several years. It's a great tool for log file visualization and analytics. One thing I use it for is to generate a graph of avera...

Per user timezones in Django

A common requirement for sites that deal with dates (most of them), is to display date and time values in the individual user's timezones. Luckily, there ar...

Django: uniform image resizing

Sometimes, you want all the thumbnails you're creating to be the same dimensions. For example, your layout may require a certain width so that all the items...