Computer programmer writes scripts to automate his job and life, from emailing clients to texting his wife

His colleagues found a series of inventive shortcuts that he had written on his computer after he left his job.

Computer, hacking, code,

Image: Frank Augstein / AP/Press Association Images

Computers make a number of tasks in our daily lives easier, but one programmer in Russia took that to the next level by automating a large part of his working day and life in general. 

The programmer in question had left his job, and when his erstwhile colleagues looked through his files and scripts that he had left behind, they discovered that he had set up a huge number of shortcuts to save him time.

His co-workers stated that he was essentially living in the terminal and that "if something - anything - requires more than 90 seconds of his time, he writes a script to automate that". 

Many of the scripts were shared on the site Github, a place where programmers can review each other's code and generally collaborate and help each other out on projects. The original story was found on a Russian site, and was translated by another programmer named Alex on his personal blog, before the code was posted on Github.

While the titles he gave to the scripts are NSFW for the most part, he had set up a number of triggers that would, for example, text his wife if there was activity logged on his computer after 9pm with his credentials to say that he was stuck in the office late, and randomly assign a reason from a string of possibilities. 

He also had a protocol set up that searched through his emails for a regular client who would, it seemed, frequently contact him with errors, and when it found messages from him with keywords such as "sorry", "help", or "trouble", it would automatically roll back his database to a previous version and send a reply saying "no worries mate, be careful next time". 

He also had one set up under the title "hangover" which sent an email or message saying "not feeling well/gonna work from home", with another random reason attached, if there hadn't been a login on his computer by 8.45am.

The pièce de résistance, however, was that he had hacked the coffee machine in the office kitchen (which his fellow programmers didn't know was hackable or connected to the network) and had set it up to brew him a latte remotely. However, it waited 17 seconds exactly from the command being issued before brewing it, and a further 24 seconds before pouring it - the exact amount of time it took him to walk to the machine from his desk. 

Via The Journal