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
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 |
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
# SuperfishのCA証明書 | |
% cat superfish_ca.pem | |
-----BEGIN CERTIFICATE----- | |
MIIC9TCCAl6gAwIBAgIJANL8E4epRNznMA0GCSqGSIb3DQEBBQUAMFsxGDAWBgNV | |
BAoTD1N1cGVyZmlzaCwgSW5jLjELMAkGA1UEBxMCU0YxCzAJBgNVBAgTAkNBMQsw | |
CQYDVQQGEwJVUzEYMBYGA1UEAxMPU3VwZXJmaXNoLCBJbmMuMB4XDTE0MDUxMjE2 | |
MjUyNloXDTM0MDUwNzE2MjUyNlowWzEYMBYGA1UEChMPU3VwZXJmaXNoLCBJbmMu | |
MQswCQYDVQQHEwJTRjELMAkGA1UECBMCQ0ExCzAJBgNVBAYTAlVTMRgwFgYDVQQD | |
Ew9TdXBlcmZpc2gsIEluYy4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOjz | |
Shh2Xxk/sc9Y6X9DBwmVgDXFD/5xMSeBmRImIKXfj2r8QlU57gk4idngNsSsAYJb |
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
「まぁ好きではじめた仕事ですから」 | |
最近は良い障害が起きないと愚痴をこぼした | |
まず、アラートの入念なチェックから始まる。 | |
「やっぱり一番うれしいのはお客さんのクレームから発覚ね、この仕事やっててよかったなと」 | |
「毎日毎日お客さんとの温度感が違う 機械では出来ない」 |
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
# GrowthForecast | |
description "GrowthForecast" | |
start on runlevel [345] | |
stop on runlevel [!$RUNLEVEL] | |
respawn | |
exec /bin/su -c '/usr/local/bin/growthforecast.pl --data-dir /var/lib/growthforecast --mount gf ----enable-float-number' growthforecast |
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 | |
ids="32 33 34 35 36 42 43 44 45 46 47 48 49 50 51" | |
for id in $ids; do | |
echo $id | |
file_base=$(echo -n "$id" | openssl md5 -hex | awk '{print $2}') | |
files=$(ls -1 ${file_base}{,_s}.rrd) | |
for file in $files; do | |
echo " $file" |
OlderNewer