Dockerと付き合っていく上で考えるべきことのメモ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
あ、まず前提として、 | |
貴女がAWS大好き男を夢中にさせることが、 | |
はたして貴女を幸福にするかどうか、それはまた別問題だけれど。 | |
とはいえ、AWS大好き男たちは玉石混交ながら、 | |
SIer系の超上流な男なども多く、 | |
したがって、釣り師たる女たちにとっては、 | |
なかなかあなどれない釣り場です。 | |
では、AWS大好き男に「どの機能が好き?」と訊ねられたとき、 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- include/classes/class.cchart.php.orig 2013-08-02 07:55:09.131739793 +0000 | |
+++ include/classes/class.cchart.php 2013-08-02 07:58:21.199739718 +0000 | |
@@ -34,7 +34,7 @@ | |
$this->skipRightScale = 0; // in case if right axis should be drawn but doesn't contain any data | |
$this->ymin_itemid = 0; | |
$this->ymax_itemid = 0; | |
- $this->legendOffsetY = 90; | |
+ $this->legendOffsetY = 50; | |
$this->percentile = array( | |
'left' => array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# RedisのBGSAVEコマンドを実行し、LASTSAVEが変わる(=dump.rdbが更新される)のを待つ。 | |
# タイムアウト時間を超えたら exit status 1 で終了する。 | |
TIMEOUT=30 | |
# Timeout handler | |
# http://stackoverflow.com/questions/1226094/how-to-include-a-timer-in-bash-scripting | |
set_timer() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DEBUG付いてるときだけデバッグ出力 | |
function debug() { ((DEBUG)) && echo "$*"; } | |
# タイムスタンプ付き出力 | |
function ts() { echo $(date +'%Y/%m/%d %H:%M:%S')" $1"; } | |
# タイムスタンプ付きデバッグ出力 | |
function debugts() { debug $(date +'%Y/%m/%d %H:%M:%S')" $1"; } | |
# ディレクトリの絶対パス |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://anond.hatelabo.jp/20131226111627 | |
艦隊これくしょんはじめたんだけど、 | |
希望の編成と違う艦ばかりドロップしてて、げんなりしている。 | |
うちは空母狙いで、秘書艦とも良好な関係築けて | |
赤城さんが入渠中でこれから瑞鶴も入渠しようとしているから | |
活躍できるような空母つくろうって燃えてたんだけど、 | |
建造したらおかしなことになった。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Trying "io" | |
;; Truncated, retrying in TCP mode. | |
Trying "io" | |
Using domain server: | |
Name: 8.8.8.8 | |
Address: 8.8.8.8#53 | |
Aliases: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9002 | |
;; flags: qr rd ra; QUERY: 1, ANSWER: 37, AUTHORITY: 0, ADDITIONAL: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# E1,E2 AL | |
軽巡1 那珂68 | |
重巡・航巡2 利根42、鈴谷40(航巡) | |
戦艦・航戦1or2 扶桑56、山城41 | |
正規空母・軽空母2 翔鶴11、瑞鶴11、隼鷹47 | |
駆逐艦2 時雨76、島風66 | |
# E3,E4,E5 MI | |
正規空母3~4 翔鶴46、赤城90、蒼龍35、飛龍28、 | |
高速戦艦2~3 金剛99、比叡127、榛名78 |
以下は細かい作業時間や疲労によるミスを考慮しない概算値です。念のため。
スクフェス 楽曲時間リストによると、
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PATH=/bin:/usr/bin; export PATH | |
GF_ENDPOINT="http://forecast.example.jp:5125/api" | |
SERVICE_NAME=$1 | |
SECTION_NAME=$2 | |
if [ -z "$1" -o -z "$2" ]; then |