Who was the laziest person in the history of mankind?



A coder coding everything.
You won't believe what the former colleagues of a Build Engineer discovered, when they went through his legacy after he left for another company.

"The dude was literally living inside his computer. You know, that type of a guy who loves Vim, creates diagrams in  DOT and writes wiki-posts in Markdown... 
If something-------------- anything required more than 90 seconds of his time, he wrote a script to automate that. Here are some of the scripts we found. You're gonna love this:

smack-my-bitch-up.sh  
Sends a text message "late at work" to his wife, and automatically adds an excuse, being a randomly picked sentence from a dataset of priorly written excuses. The algorithm is a so-called 'cron-job', executing under specific conditions, at specific times. The algorithm became awake after 9pm, and immediately fired if there were activities on the server with his login.
(Github link:  NARKOZ/hacker-scripts)

kumar-asshole.sh
This script constantly monitors his inbox for emails from 'Kumar', a system data-base administrator working for our clients. It scans the mails, looking for dramatic keywords like "help", "trouble", "sorry" etc. If one of these keywords is found, the script automatically makes contact with the clients server and restores the database to the latest back-up. Then it sends an automatic reply to Kumar, saying "No worries mate! Be careful next time!"
(Github link: NARKOZ/hacker-scripts)

... colleagues had no idea...

hangover.sh
Another 'cron-job'. As you understand, this one is set in the morning, and is activated automatically after 8:45am, in case there are still no interactive sessions detected on the server with his login.
So what was it doing?  
It sended automated emails to his boss like: "Hey Boss, Today I'll have to work from home, because..." and then again a random reason was added from a completely different, predefined database of excuses. 
(Github link: NARKOZ/hacker-scripts

And the Oscar goes to...

fucking-coffee.sh 
This one creates a connection over telnet with a local IP-address at our office. 
It turned out to be the address of our coffee machine (We had no frikin idea the coffee machine was connected to our network, neither that it ran Linux, nor that it had the possibility to be activated from a distance). The script included a password, some delay numbers (24?  17?), and some other Ruby gibberish.
When we tested it, initially nothing happened. But after exactly 17 seconds, we heard that the coffee machine was starting to brew a mid-sized half-caf latte, which took it about seven seconds to complete.
So why 24 (=17+7) seconds? 
Apparently he had timed the exact duration of a leisure walk from his desk to that coffee machine...."
(Github link: NARKOZ/hacker-scripts

If you like this post, please let Alex know at his brilliant blog: 
https://www.jitbit.com/alexblog/...
and upvote the original (Russian) post: 
Цитата #436725

No comments:

Post a Comment