svdata={"api_result":1,"api_result_msg":"\u6210\u529f","api_data":[{"api_member_id":623525,"api_id":1,"api_sortno":69,"api_name":"\u6f23","api_yomi":"\u3055\u3056\u306a\u307f","api_stype":2,"api_ship_id":94,"api_lv":14,"api_exp":9284,"api_afterlv":20,"api_aftershipid":232,"api_nowhp":15,"api_maxhp":15,"api_taik":[15,29],"api_souk":[12,19],"api_houg":[19,29],"api_raig":[54,69],"api_baku":[0,0],"api_tyku":[24,39],"api_houm":[0,0],"api_raim":[0,0],"api_saku":[6,19],"api_luck":[10,49],"api_soku":10,"api_leng":1,"api_slot":[105,19,-1,-1,-1],"api_onslot":[0,0,0,0,0],"api_broken":[1,1,5,0],"api_powup":[0,1,0,0],"api_kyouka":[7,20,10,7],"api_backs":1,"api_fuel":15,"api_fuel_max":15,"api_bull":20,"api_bull_max":20,"api_gomes":null,"api_gomes2":null,"api_slotnum":2,"api_ndock_time":0,"api_ndock_time_str":"00:00:00","api_ndock_item":[0,0],"api_star":2,"api_srate":2,"api_cond":49,"api_karyoku":[19,29],"api_raisou":[54,69],"api_taiku":[24,39],"api_soukou":[12,19],"api_kaihi":[46,79],"api_taisen":[24,49],"api_sakuteki":[6
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
// 前者を後者で補う | |
var repair = function(given, template){ | |
for(var i in template){ | |
if(typeof given[i] == 'undefined'){ | |
given[i] = template[i]; | |
} | |
} | |
return given; | |
} |
console
GET request for /...
/ matches, calling index()...
<JunoRequest: />
['__class__', '__contains__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattr__', '__getattribute__', '__getitem__', '__hash__', '__init__', '__len__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'combine_request_dicts', 'full_location', 'input', 'items', 'keys', 'location', 'raw', 'session', 'user_agent', 'values']
124x35x46x4.ap124.ftth.ucom.ne.jp - - [11/Sep/2013 19:59:23] "GET / HTTP/1.1" 200 4
server console
# 試験系
POST
ImmutableMultiDict([('img', <FileStorage: u'' ('application/octet-stream')>)])
<FileStorage: u'' ('application/octet-stream')>
124.35.46.4 - - [12/Sep/2013 00:28:31] "POST /upload HTTP/1.1" 500 -
# 正常系
-
AWSをPythonで使う
-
Boto
-
Botoの応用
- aws
- management console
- aws command line tool
- Ansibleとは何か
- サーバ自動化ツール
- 構成管理
- 構成管理とはなんぞや
- 設定とかを管理する
- サーバの設定、ApachいれてMySQL入れて、とか
- アプリケーションのセットアップ
- デプロイとか
- 継続的デリバリー
- hoge
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
old | |
- 8ef82a975e7a4725124b7ff1c3e63f644ab15ba3 | |
- 419baf9e8a4a10bfd6aad084cc9065e5497b87b2 | |
- 91cf3504c7bf9d01cd495f1f86c71caa8f19889d | |
new |
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
var params = { | |
num : 3, | |
callback : function(response){ | |
console.log(response); | |
} | |
} | |
var runner = function(prms){ | |
setTimeout(function(){ | |
var res = prms.num * 100; |
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
var s = "console.log('evalつかってみるよー');"; | |
eval(s);// > evalつかってみるよー | |
// スコープは? | |
var s2 = "console.log(s);"; | |
eval(s2); | |
// > console.log('evalつかってみるよー'); | |
// evalした瞬間に有効な変数名を参照できるのですね |
thanks to!
- アンシブル?アンジブル?
- What is Ansible?
- 自鯖での環境要件洗い出し