Archive for June, 2006

Apache AddType directives for AAC audio

Posted by dre on June 3rd, 2006

AddType audio/x-m4a m4a
AddType audio/x-m4b m4b

Automated backups of Open Directory databases

Posted by dre on June 1st, 2006

# Automated backups of Open Directory databases (ldap / kerberos / password server)
# This needs to run as root and should be mode 700 due to embedded password

# Get current date
TODAY=`/bin/date +’%m-%d-%y_%H:%M:%S’`

# Set destination directory (do not include trailing slash!)
DSTDIR=/path/to/backups

# Set archive password (needed to restore from / unlock the resulting dmg)
PASS="the_foo"

# Feed a […]