Aktywne Wpisy

freddd +4
Ma ktoś skarpety z wełny merino?
Ciekawi mnie jak się spisują i czy warte swojej ceny?
Ciekawi mnie jak się spisują i czy warte swojej ceny?
źródło: 1000040972
Pobierz
wfyokyga +44
Melania to ma styluwy
#modadamska
#modadamska
źródło: temp_file7685620673058459918
Pobierz




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, rolls back the dude's database to the latest backup and 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, with 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 and has an SSHD running on it) 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 office.
https://www.jitbit.com/alexblog/249-now-thats-what-i-call-a-hacker/
#humorinformatykow #nieprogramowanie
https://en.wikipedia.org/wiki/DOT_%28graph_description_language%29
Markdown to jest coś takiego co używa się do formatowania na Wykopie.
pogrubione pochylone
Cała historia jest raczej zmyślona - nie ma ekspresów do kawy z SSH.
@macrusher: jw. nie mówimy o czym co robisz raz, dwa na miesiąc, tylko regularnie, często.
Historyjka pewnie rzeczywiście zmyślona, ale nie byłbym 100% pewny, że się nie da podpiąć do automatu do kawy. Te droższe wersje mają tam jakieś układy i na pewno można się z nimi jakoś skomunikować. No ale trzeba by się pewnie wlutowywać w MoBo.
Ja na przykład codziennie muszę wygenerować i wydrukować protokoły różne. Dane wejściowe dostaję w pliku csv, do którego muszę najpierw się "doklikać" w systemie. No to cURL, parę poleceń w skrypcie, pdftk i kilka innych programików i w ciągu 30 sekund mam gotowe wydruki czekające na drukarce. Fakt, że napisanie tego trochę mi zajęło (różne wyjątki są), ale teraz mam spory zysk czasu.
Aż myślę nad kupieniem najtańszego automatu. dx
A tutaj ktoś to chyba zaimplementował ;> https://github.com/0mark/htcpcp