/etc/hosts
203.104.111.176 isu1
203.104.111.177 isu2
203.104.111.178 isu3
#!/bin/bash | |
# | |
# http://tech.naviplus.co.jp/2014/01/09/tmuxで複数サーバの同時オペレーション/ | |
# | |
if [ -n "$SESSION_NAME" ];then | |
session=$SESSION_NAME | |
else | |
session=multi-ssh-`date +%s` | |
fi |
aaa |
Host isuconprd | |
HostName xx.xx.xx.xx | |
User isucon | |
ForwardAgent yes | |
IdentityFile /Users/nikushi.nobuhiro/.ssh/isuconprd |
GET /about/ HTTP/1.0
User-Agent: Chrome
HTTP/1.0 200 OK
Content-Type: text/plain
Content-Length: 8
hogehoge
/** | |
* returns keys located at top of spreadsheet | |
* | |
* @param {Sheet} sh Sheet class | |
* @return {Array} array of keys | |
*/ | |
function headerKeys(sh) { | |
return sh.getRange(1,1,1, sh.getLastColumn()).getValues()[0]; | |
} |
function onOpen() { | |
var ss = SpreadsheetApp.getActive(); | |
var sh = ss.getSheetByName('sheet 1'); | |
var range = sh.getRange('A2:A'); | |
setValidation(range); | |
} | |
function setValidation(range) { | |
range.setDataValidation(dataValidator()); | |
} |
http://go-tour-jp.appspot.com/
のエクササイズのコードメモ