A programmer wrote scripts to secretly automate a lot of his job - and email his wife and make a latte
The project was shared by a programmer named Nihad Abbasov, known as "Narkoz" on GitHub. It consists of a bunch of software scripts with some funny but NSFW names. Narkoz says that the scripts came from one of his coworkers who left for another company, the type of guy that "if something - anything - requires more than 90 seconds of his time, he writes a script to automate that."After the guy left for a new job, his former coworkers were looking through his work and discovered that the guy had automated all sorts of crazy things, including parts of his job, his relationships, and making coffee.
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."With another script, he automatically fired off an email excuse like "not feeling well, working from home" if he wasn't at work and logged in to the servers by 8:45 a.m. He called that script "hangover."
And the best one? He wrote a script that waits 17 seconds, then hacks into the coffee machine and orders it to start brewing a latte. The script tells the machine to wait another 24 seconds before pouring the latte into a cup, the exact time it takes to walk from the guy's desk to the coffee machine.And his coworkers didn't even know the coffee machine was on the network and hackable.
NOW WATCH: A random guy bought Google.com for $12
- Infosys will buy back shares at ₹1,750 — more than what some analysts had expected
- Best broadband plans in India in 2021 – JioFiber, Airtel Xstream Fiber and ACT Fibernet
- IPL 2021: Royal Challengers Bangalore have beaten Sunrisers Hyderabad 7 out of 18 times they played each other
- Publicis Groupe consolidates Data Science, Programmatic and Media Tech with Zenith and Starcom, under a common leadership
- Here are the 7 Indians who will be a part of Cannes Lions Jury this year