in , , , , , ,

This guy is my hero

This guy is my hero | linux-memes, engineer-memes, ux-memes, vim-memes, server-memes, array-memes, test-memes, random-memes, machine-memes, terminal-memes, data-memes, database-memes, string-memes, date-memes, email-memes, session-memes, cli-memes, network-memes, IT-memes, rds-memes, idea-memes, ide-memes, mac-memes, ML-memes, socket-memes, ssh-memes, tcp-memes | ProgrammerHumor.io
linux-memes, engineer-memes, ux-memes, vim-memes, server-memes, array-memes, test-memes, random-memes, machine-memes, terminal-memes, data-memes, database-memes, string-memes, date-memes, email-memes, session-memes, cli-memes, network-memes, IT-memes, rds-memes, idea-memes, ide-memes, mac-memes, ML-memes, socket-memes, ssh-memes, tcp-memes | ProgrammerHumor.io

[text] Based on a true story x00c 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 wikiposts in Markdown… If something anything requires more than 90 seconds of his time he writes a script to automate that. 00 So were sitting here looking through his uhm legacy x00c Youre gonna love this 00 smacknybitchup.sh sends a text message late at work to his wife apparently. Automatically picks reasons from an array of strings randomly. Runs inside a cronjob. The job fires if there are active SSHsessions on the server after 9pm with his login. 00 kumarasshole.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 tims 00 hangover.sh another cronjob that is set to specific dates. Sends automated emails like not feeling wellgonna 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 845am. so0c and the oscar goes to fuckingcoffee.sh this one waits exactly 17 seconds 1 then opens a telnet session to our coffeemachine we had no frikin idea the coffee machine is on the network runs linux and has a TCP socket up and running and sends something like sys brew . Turns out this thing starts brewing a midsized 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. s00c holy sht Im keeping those