Xcode
Setup sleep and wakeup scripts for Sleepwatcher

On Sleep: eject external disks and mute audio
On Wakeup: mount external disks