My standard setup (on Debian stable/Lenny):
aptitude install unattended-upgrades
cat > /etc/apt/apt.conf.d/10periodic
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
^D
cat >> /etc/apt/apt.conf.d/50periodic
Unattended-Upgrade::Mail "example@example.com";
^D
It’s as easy as that.
Aidan Findlater Impersonal linux


Why yes they are! Last night I dressed up as House for Hallowe’en. Of course, I needed a cane. And, of course, my cane needed flames (“makes it look like I’m going faster”).
In the end, I spent way too much time on this little project, but I think the results speak for themselves.
Download Illustrator File: Cane Flames.ai [1.1MB]
Aidan Findlater Personal
I moved over to Google Apps Standard Edition for all of my email needs. Unfortunately, they don’t provide much in the way of migration tools. Since I wanted all 1.6GB of email moved over, this was going to be painful.
In the end, I went with imapsync, using the following command:
imapsync --host1 imap.gmail.com --port1 993 \
--user1 aidanfindlater@gmail.com --passfile1 asdf --ssl1 \
--host2 imap.gmail.com --port2 993 \
--user2 aidan@aidanfindlater.com --passfile2 asdf --ssl2 \
--syncinternaldates --split1 100 --split2 100 \
--authmech1 LOGIN --authmech2 LOGIN \
--regexmess 's/Delivered-To: aidanfindlater\@gmail.com/Delivered-To: aidan\@aidanfindlater.com/g' \
--regexmess 's/<aidanfindlater\@gmail.com>/<aidan\@aidanfindlater.com>/g' \
--regexmess 's/Subject:(\s*)\n/Subject: (no--subject)$1\n/g' \
--regexmess 's/Subject: ([Rr][Ee]):(\s*)\n/Subject: $1: (no--subject)$2\n/g' \
--useheader 'Message-Id' --skipsize
To be honest, most of this is voodoo to me, and I can’t remember where I got them from. The regex’s above didn’t work perfectly (there are some leftover Re:’s), but I wasn’t willing to resync everything just to fix that problem.
Things to note:
- the file asdf is a text file containing the password (nothing else)
- in the regexes, I am moving from aidanfindlater@gmail.com to aidan@aidanfindlater.com
Aidan Findlater Impersonal gmail
Naughty applications fill up my user-specific Documents folder with garbage I neither created nor care to see. (A picture of the problem, as previously identified.) It’s gotten to the point where I’ve decided to abandon my Documents directory altogether.
And now, straight from Apple’s file system guidelines:
It is important to remember that the user domain (/Users) is intended for files created by the user. With the exception of the ~/Library directory, your application should never install files into the user’s home directory. In particular, you should never install files into a user’s Documents directory or into the /Users/Shared directory. These directories should only be modified by the user.
Even if your application provides clip art or sample files that the user would normally manipulate, you should place those files in either the local or user’s Library/Application Support directory by default. The user can move or copy files from this directory as desired. If you are concerned about the user finding these files, you should include a way for the user to browse or access them directly from your application’s user interface.
Emphasis mine, of course.
Aidan Findlater Impersonal mac os x