I hereby claim:
- I am y-matsuwitter on github.
- I am y_matauwitter (https://keybase.io/y_matauwitter) on keybase.
- I have a public key ASDkNDHS4KodErlKE8jfunkC1vHL_yHdQYwU8Fpp3hcQvgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
$ go run rwmutex.go | |
read_start | |
read_start | |
write_start | |
read_start | |
read_complete fuga | |
read_complete fuga | |
write_complete | |
read_complete piyo |
$ go run trycatch.go | |
do something buggy | |
catch MyError | |
finally do something | |
done |
sim(a, b) = \frac{|a \cap b|}{|a \cup b|} |
#!/bin/sh | |
# applicationの名前 | |
APP="hoge" | |
# SDK | |
SDK="iphoneos7.0" | |
# ビルド時の設定 | |
CONFIGURATION="Release" | |
# 出力先 | |
OUT_DIR="build" |
class HogeWorker | |
REDIS_POOL = ConnectionPool.new(:size => 5, :timeout => 5) { Redis.connect} | |
def perform key, value | |
REDIS_POOL.with do |conn| | |
conn.set key, value | |
end | |
end | |
end |
require 'aws-sdk' | |
device_token = 'your device token' | |
aws_access_key = 'your aws access key' | |
aws_secret_key = 'your aws secret key' | |
region = 'your aws region' | |
application_arn = 'your application arn' | |
AWS.config( | |
access_key_id: aws_access_key, | |
secret_access_key: aws_secret_key, |
$ rake config | |
---省略--- | |
xcode_dir : "/Applications/Xcode5-DP.app/Contents/Developer" | |
---省略--- |
$ git clone https://github.com/skratchdot/mesh.git | |
$ echo 'load("<meshをcloneしたディレクトリ>/mesh/mesh.js");' >> ~/.mongorc.js |
#!/bin/sh | |
# | |
# chkconfig: 35 99 99 | |
# description: Node.js /home/nodejs/sample/app.js | |
# | |
. /etc/rc.d/init.d/functions | |
USER="nodejs" |