Automating your job→

Business Insider:

He wrote another script relating to a customer he didn’t like, given the not-nice name he chose for this script. It scans his inbox for an email from the customer that uses words like “help,” “trouble,” and “sorry” and automatically rolls the guy’s database to the latest backup, then sends a reply: “No worries mate, be careful next time.”

The best one? A script that got into the networked coffee maker, delayed a certain amount of time, and then made and poured a cup of coffee. The delay? The exact amount of time it took him to get from his desk to said coffee maker.