Geektool scripts.
icalBuddy is a command-line utility that can be used to get lists of items (i.e. events and tasks/todos) from the OS X calendar database.