はてなキーワード: hangoverとは
ある伝説によると、とある国のとあるプログラマーの退職後に残ったスクリプトを社員が見たら、恐ろしいレベルで自動化してたそうだ
https://github.com/NARKOZ/hacker-scripts
うちのビルドエンジニアが別の会社に行った。あの男は文字通りターミナルの住人。Vimを愛用して、Dotで図を作成し、Markdownでwiki記事を書くようなタイプ。
どんなものでも、90秒以上かかるならそれを自動化するスクリプトを書く奴。
それで今、我々は奴の「遺産」を見ているわけだ。
これ、お前も気に入ると思うぞ。
奥さんに「仕事で遅くなる」というテキストメッセージを送る。文字列の配列から理由をランダムに自動で選ぶ。cronジョブとして動作。奴のアカウントで午後9時以降にサーバーでアクティブなSSHセッションがある場合にジョブが実行される。
「Kumar」(うちのクライアント)からのメールを受信箱でスキャン。「help」、「trouble」、「sorry」などのキーワードを探す。キーワードが見つかると、スクリプトはクライアントのサーバーにSSH接続し、ステージングデータベースを最新のバックアップにロールバックする。「直したぞ。次からは気を付けろよ」という返信を送る。
特定の日に設定された別のcronジョブ。「体調が悪い/家で仕事をする」といった自動メールを送る。別の事前定義された文字列の配列からランダムな「理由」を追加。午前8時45分にサーバーで対話型のセッションがない場合に実行。
正確に17秒待ってから、うちのコーヒーマシンにtelnetセッションを開き(コーヒーマシンがネットワークに繋がっていて、Linuxが動いていて、TCPソケットが立ち上がっているなんて、誰も知らなかった)、sys brewのようなコマンドを送る。判明したところ、これでミディアムサイズのハーフカフェラテを淹れ始め、カップに注ぐまでさらに24秒待つ。この時間は、奴のデスクからマシンまで歩くのにかかる時間と完全に一致している。
I noticed that 10 years passed since I started writing blogs.
While the world is increasingly connected to NET and scarping the gap between those who have information and those who do not have it every day, I think that it is unhappy that violence due to concentration of wealth is increasingly increasing power.
It is "religion" that is surprisingly personally surviving.
A certain great scholar is said to have said that "Religion is a drug of the poor"
Now that mobile phones are spreading in countries called poorest countries and the Internet covers the world now
I want to wish that such common sense is another few years of life.
"Enlightenment" which is the difference between religious leader and believer is only a concept,
The fact that Islam society does not accept social advancement as much as treating women,
It does not match the present era.
I feel even dizzy to the extent of Americans who still do not believe in the theory of evolution,
I think that it is sick if you are watching Korea who is singing and saying that it is the place of origin of its own country keyy.
I welcome the fact that China, which is misunderstood as a nationwide all countries other than his country, is finally getting cold from a hangover,
I am impressed with Putin who is handling Russia brilliantly but vodka is about to expire soon.
President of the world's largest military superpower, Christians of discrimination will truly be overworked by esprit.
The door to World War III has been opening much more than I feel.
It might be a trial from Gaia against an overly populated population.
ふとblogを書き始めて10年経過したことに気づいた。
世の中はますますNETにつながれ情報を持つ者と持たざる者の格差を日々スキャルピングしているなか、富の集中による暴力がますます力を増大させているのは不幸な事だと思う。
とあるお偉い学者先生は「宗教は貧者の麻薬だ」と言ったそうだが、
最貧国と呼ばれた国にも携帯電話が普及してインターネットが世界を覆っている今
イスラム教社会が女性を大切にするあまり社会進出を認めないのは、
今の時代にそぐわない。
未だに進化論を信じないアメリカ人の多さには目眩すら感じるが、
なんでも自国が発祥の地だと謳いキーキー騒いでる韓国なんかみてると病気だと思う。
自国以外の国は全て属国と勘違いしている中国が最近やっと二日酔いから冷めつつあるのには歓迎もするが、
ロシアを見事にハンドリングしているプーチンには感心するもそろそろウォッカが切れてきた。
世界一の軍事大国の大統領が差別主義のキリスト教徒なんてさすがにエスプリ効きすぎだろう。