Προς το περιεχόμενο

ΕΛ/ΛΑΚ: Επικαιρότητα - Τελευταία Νέα


DIMITRISG

Προτεινόμενες αναρτήσεις

  • Moderators

Εpic scripting

 

 

An ex-coworker of mine has posted this gem to a russian bash.org, so I decided to translate this and steal all the credit post this to my blog under his permission.

 

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 
, creates diagrams in 
 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 database to the latest mysqldump 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 
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 desk.

xxx: holy sh*t I'm keeping those

  • Like 13
Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

  • Απαντ. 3,9k
  • Δημ.
  • Τελ. απάντηση

Συχνή συμμετοχή στο θέμα

 

 

201512birthday_975.png

 

από τα καλύτερα open source προγράμματα αφού όταν μου λένε άλλοι για photoshop που δεν είναι και τίποτα επαγγελματίες δλδ σκέφτομαι αμέσως πόσο ψωνάρες είναι :P

 

birthday2_500.png

  • Like 2
Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

Δημοσ. (επεξεργασμένο)

Ε οχι! Το κερατο μου δηλαδη! Αντε να δεχτω το οτι δεν θα παιζει σε διανομες του 12/13, επειδη εχουν παλια εκδοση της gtk3 πχ. Αντε να δεχτω και το "κλειστο software ειμαστε, οτι θελουμε κανουμε, βαλε κατι ανοιχτο να το εχεις σε 32".

 

Γιατι ομως πηδανε ετσι το θεμα του flash? Χωρις τον chrome δεν θα υπαρχει το ppapi flash για τους υπολοιπους browsers που το υποστηριζουν, πχ opera, chromium κλπ, και για το fresh plugin κατ'επεκταση.

Οποτε μενεις με εναν chrome-based browser που δεν μπορει να παιξει οτιδηποτε σε flash...

 

Καλα, για το npapi flash δεν το συζηταμε. Εχει παψει απο καιρο να θεωρειται αξιοπιστο και μονο ο ff το χρησιμοποιει σημερα.

 

Και μην ακουσω κανενα fanboy να λεει για το html5. Flash δεν θελει μονο το youtube και οι σελιδες με βιντεο...

 

 

---edit

Ιν αδερ νιους, η mozilla ετοιμαζεται να σκοτωσει το thunderbird.

http://www.ghacks.net/2015/12/01/mozilla-wants-to-drop-thunderbird-completely/

 

Ναι, θεωρω το thunderbird τον καλυτερο email client για λινουξ, επειδη απλα οι υπολοιποι ειναι πολυ πισω. Σε windows ενας ειναι ο βασιλιας > outlook.

Επεξ/σία από jim_p
Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

Ιν αδερ νιους, η mozilla ετοιμαζεται να σκοτωσει το thunderbird.

http://www.ghacks.net/2015/12/01/mozilla-wants-to-drop-thunderbird-completely/

 

Ναι, θεωρω το thunderbird τον καλυτερο email client για λινουξ, επειδη απλα οι υπολοιποι ειναι πολυ πισω. Σε windows ενας ειναι ο βασιλιας > outlook.

Κρίμα...

Δεν νομίζω να υπάρχει κάτι καλύτερο αλλά από ό,τι φαίνεται μάλλον θα χρειαστεί να το μάθουμε.

Χρησιμοποιώ το thunderbird για να βλέπω τα email μου (και έχω πολλούς λογαριασμούς) και συγχρόνως τα RSS Feeds μου και τα newsgroups subscriptions (usenet). Δεν νομίζω να υπάρχει άλλο πρόγραμμα που να τα κάνει όλα αυτά μαζί. Ακόμα και το identica παρακολουθώ μέσω του Thunderbird...

 

  • Like 1
Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

καλά το είπα σαν το openshift της redhat αν και σε αυτό λίγο που το έψαξα έχει και διάφορα api όπως bing για να το βάλεις στο blog σου κα

Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

Δημιουργήστε ένα λογαριασμό ή συνδεθείτε για να σχολιάσετε

Πρέπει να είστε μέλος για να αφήσετε σχόλιο

Δημιουργία λογαριασμού

Εγγραφείτε με νέο λογαριασμό στην κοινότητα μας. Είναι πανεύκολο!

Δημιουργία νέου λογαριασμού

Σύνδεση

Έχετε ήδη λογαριασμό; Συνδεθείτε εδώ.

Συνδεθείτε τώρα
  • Δημιουργία νέου...