Scripting

Verifying DNS mappings

An improperly configured DNS setup can be really annoying. You want to make sure that your mappings work both ways: Each hostname should resolve to an address, and that address ought to resolve back to the proper hostname. If an address on your subnet(s) has been assigned a reverse pointer to a hostname, that hostname […]

Read More
Linux

Watermark pictures using exiv2

Quick and dirty batch script to watermark and add IPTC data to a set of files in the supplied dir to -Copyright. #!/bin/bash # Copyright Andy Wright – www.litost.org 2006. # You have permission to do what you want with it as long as you don’t # blame me if it insults your mother etc. […]

Read More
Linux

Crontab explained

The time and date fields are: field allowed values —– ————– minute 0-59 hour 0-23 day of month 1-31 month 0-12 (or names, see below) day of week 0-7 (0 or 7 is Sun, or use names) A field may be an asterisk (*), which always stands for “first-last”. Ranges of numbers are allowed. Ranges […]

Read More
Web

CSS Shorthand Guide

Ok. Let’s set the record straight. There is no official guide for each and every CSS shorthand property value. So let’s work together and put one together shall we? Ok. Straight to the business. Anytime I’ve ran into a specification (besides the confusing mess at the W3C), it turns into showing off a couple of […]

Read More