Software developers. What have you automated using code?

At work, lots of deployment stuff. At home, I prefer to spend enough time to do a task hundreds of times trying to automate it then give up.