Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
androso8878y
-
jamesh3318yI use the Nexmo API to automate some communication with my wife. Saves a bunch of time.
-
Neftas1358yThe original story is from a Russian site - http://bash.im/index?text=kumar. The GitHub you're referring to are just proof-of-concept scripts, apparently. The whole story might be completely made up, but it's entertaining anyway :)
-
@Neftas did you even read till the end, I've added the credits to the source. Which explains everything what you are trying to tell.
-
anyhus7107y@lunarkittie that one was clever but it's title kinda felt really wrong lol. I thought kumar-asshole.sh and fucking coffee.sh were legendary though, also just like who is this lol who are they
-
any clue on the model of coffee maker? Work is looking for a new one right now...
-
Been leeching off this repo for a little over a year now. I come back to it when I want a few chuckles and some motivation.
-
Wombat102447ySome day when this guy dies alone in his flat, no one will notice the difference. Poor guy. 😅
-
VINDIC2985y@fireflies yeet I jus felt like coome menting swoomthing
Tis is a joke plz dont take srsly -
> you know, that type of a guy who loves Vim, creates diagrams in Dot and writes wiki-posts in Markdown
I feel attacked. -
# Wondering
Ok now can we post `markdown` here?
```
Ok looks like we cant. Im no terminal guy but I'd rant devrant for this
``` -
@warhammer327 First thing that came to my head, I envision the guy looking like Gilfoyle
-
Bytepusher1240dIs that site you've linked written in python, by any chance? Cuz it's 404, but funnily enough, clicking "take me back" just toggles between that 404 and the home page (also broken)
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
linuxxx70This guy at my last internship. A windows fanboy to the fucking max! He was saying how he'd never use anythi...
-
creedasaurus62Another dev on my team just got a new machine. Before he came in today I made two separate USB installers and ...
*Now that's what I call a Hacker*
MOTHER OF ALL AUTOMATIONS
This seems a long post. but you will definitely +1 the post after reading this.
xxx: OK, so, our build engineer has left for another company. The dude was literally living inside the terminal. You know, that type of a guy who loves Vim, creates diagrams in Dot and writes wiki-posts in Markdown... If something - anything - requires more than 90 seconds of his time, he writes a script to automate that.
xxx: So we're sitting here, looking through his, uhm, "legacy"
xxx: You're gonna love this
xxx: smack-my-bitch-up.sh - sends a text message "late at work" to his wife (apparently). Automatically picks reasons from an array of strings, randomly. Runs inside a cron-job. The job fires if there are active SSH-sessions on the server after 9pm with his login.
xxx: kumar-asshole.sh - scans the inbox for emails from "Kumar" (a DBA at our clients). Looks for keywords like "help", "trouble", "sorry" etc. If keywords are found - the script SSHes into the clients server and rolls back the staging database to the latest backup. Then sends a reply "no worries mate, be careful next time".
xxx: hangover.sh - another cron-job that is set to specific dates. Sends automated emails like "not feeling well/gonna work from home" etc. Adds a random "reason" from another predefined array of strings. Fires if there are no interactive sessions on the server at 8:45am.
xxx: (and the oscar goes to) fuckingcoffee.sh - this one waits exactly 17 seconds (!), then opens an SSH session to our coffee-machine (we had no frikin idea the coffee machine is on the network, runs linux and has SSHD up and running) and sends some weird gibberish to it. Looks binary. Turns out this thing starts brewing a mid-sized half-caf latte and waits another 24 (!) seconds before pouring it into a cup. The timing is exactly how long it takes to walk to the machine from the dudes desk.
xxx: holy sh*t I'm keeping those
Credit: http://bit.ly/1jcTuTT
The bash scripts weren't bogus, you can find his scripts on the this github URL:
https://github.com/narkoz/...
rant
automation
shell script
linux
wk29
bash
work