Recent Posts

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...

Sanitize HTML with Beautiful Soup

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...