Connect with us

People

Awesome Programmer Wrote A Bunch of Scripts To Automate His Job And His Life

Lazy or genius? You decide!

Mark Andrew

Posted

(

)

A A A

Microsoft founder Bill Gates once said “I will always choose a lazy person to do a difficult job… Because he will find an easy way to do it.” Perhaps the story below perfectly shows us that very thin line that divides laziness and brilliance.

This is about an unnamed programmer who wrote a bunch of software scripts to automate several tedious tasks – such as replying to a client, sending messages to his wife, and even making coffee. His secret codes were finally discovered by former coworkers after he left his job for another company.

programmer

Source: Shutterstock

While some of his scripts have NSFW names, you’ll be impressed and amazed by this dude’s ingenuity. To sum it all up, Narkoz said that the script creator was the kind of guy who will write a script to automate things “if something – anything – requires more than 90 seconds of his time.”

According to JitBit, this was how some of the scripts worked:

1. smack-my-b%#*h-up.sh – This sends a text message to his wife that says he is “late for work” and then automatically selects from a string of random reasons to go with it. This message sends when it’s already past 9PM and there are still active SSH sessions on the server.

2. kumar-a%$hole.sh – This one scans his inbox for any email messages from Kumar, one of the company’s clients, and looks for keywords such as “help,” “trouble,” “sorry,” and others. If the keywords are detected, the script SSHes into the clients server and retrieves the latest backup. It will then send a reply message saying “No worries, mate. Be careful next time.” Whoever that Kumar guy is, it’s obvious this programmer dude didn’t like him.

3. hangover.sh – Another epic script. This sends automated emails to his boss saying he’s “not feeling well/gonna work from home” etc. It also attaches a random reason. This one works if there are no active sessions on the server at around 8:45 AM. Judging by the script’s name, however, it’s obvious he wasn’t really sick.

4. fu&^%ngcoffee.sh – This is definitely the most epic. The script waits 17 seconds then opens an SSH session to the office’s coffee machine. After that, it sends some codes to it (no one knew the machine is on the network and runs on Linux) and waits at 24 seconds before pouring coffee into a cup – that’s exactly how long it takes for the guy to walk from his desk to the machine.

The scripts are available online at the GitHub website.

programmer 2

Source: GitHub

Plain lazy or mad genius? We’ll leave it up to you to decide! Either way, feel free to check out the GitHub website for the complete codes.

H/T: JitBit, BusinessInsider

View Comments

People

10 of the Most Epic Marriage Proposals We’ve Seen So Far

It’s hard to say no to these proposals.

Avatar

Published

on

For some men, there's nothing impossible when it comes to getting a lady’s attention, and when talking about marriage proposals, some of them are even willing to go the extra mile just to make sure they get a "yes."

Romantic dinners and exotic getaways are just some of the usual methods that a guy would use when proposing to his girl. However, there are those who have gone as far as traveling a whole country to spell out the words “Marry Me” using a GPS tracker and even publishing a book of love. These amazing wedding proposals will surely make guys think long and hard and the ladies dream that it may also happen to them one day.

#1. The guy who ditched Tiffany’s and made his own engagement ring.

The guy who ditched Tiffany’s and made his own engagement ring.

Continue Reading

People

Road Rage Drivers “Duel” Using a Stick and Baseball Bat

Right in the middle of traffic!

Avatar

Published

on

Road rage is ugly. It can make people do something rash, stuff they wouldn't normally do if they aren't stuck in hellish traffic or dealing with bull-headed drivers. We've seen drivers punch and kick each other when road rage sets in, but this is the first time I've seen drivers go on a "duel" right in the middle of traffic.

Nope, they didn't have actual broadswords or a katana with them. These drivers in Austin, Texas made use of the stick and baseball bat stored in their cars.

Continue Reading

People

This Toddler Sings For Her Dad And Her Voice Melts Everyone’s Heart

Claire’s voice is so sweet it can melt anybody’s heart.

Ivan Menchavez

Published

on

There is just nothing a three-year-old can do that is not cute. Whatever it is that they decide to do they are always a sight anyone will enjoy.

But there is always that one kid who is just so incredibly adorable—the one who stands out amongst all the talented rascals. Meet Claire Ryann, an amazing three-year-old kid who sings the best rendition of Disney’s “Little Mermaid” song, “Part of the World.”

It was the music she chose to sing when her father, who is a music producer, asked her to record a song. According to her father, it is her favorite Disney tune. As Claire starts to open her mouth, the sound of her voice is just so sweet. You can’t help it. You’ll get hooked and you’ll find yourself watching the video over and over again.

Continue Reading

Popular