cat to syslog
Ever wanted to submit the results of regular command-line tools to syslog? Logger lets you do that. Here is an example of logging CPU load and vmstat into t...
Ever wanted to submit the results of regular command-line tools to syslog? Logger lets you do that. Here is an example of logging CPU load and vmstat into t...
The official Postgres documentation covers log shipping (aka WAL Archiving, aka warm standby) in some depth. But it's still quite a lot to absorb. The basic...
If you have a website that displays user-generated HTML (emails, rich text entry, etc), you likely want to scrub that HTML before you display it. At the ver...
My current project involves URL shortening. Like many URL shorteners, we wanted to get into frame bars. These are alternately called banners, share bars and...
Ever wanted to download your Amazon order history? Maybe you want to get it into a spreadsheet, or just keep it around in case Amazon decides to delete this...
Ideally, the applications that you're working with already supports the syslog standard. Failing that, it's often necessary to suck a regular text log file ...
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...
My current Django project deals with resume files in Word/PDF format. In order to show a web preview of the file, it's necessary to translate these files to...
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...
Getting your HTML email to look the same on all mail clients is hard. Most clients only support a small subset of HTML. Outlook 2010 actually uses Word to d...