I hereby claim:
- I am tksohishi on github.
- I am tksohishi (https://keybase.io/tksohishi) on keybase.
- I have a public key ASDK2iHmH25_i9yjF2xlH_6jTeJb_aSSfAlaBPvtN8G0Hgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{"contacts":{"total":3,"users":[{"id":"8099632_f77745","display_name":"Pau Tomàs"},{"id":"19560860_ebd78f","display_name":"Tom Woolway"},{"id":"19692091_df5987","display_name":"Tom Hamshere"}]}} |
scala> val map = Map("One" -> "1", "Two" -> "2"); val v = for { one <- map("One"); two <- map("Two") } yield { one.toInt + two.toInt } | |
map: scala.collection.immutable.Map[String,String] = Map(One -> 1, Two -> 2) | |
v: scala.collection.immutable.IndexedSeq[Int] = Vector(99) |
#!/usr/bin/ruby | |
# This script installs to /usr/local only. To install elsewhere you can just | |
# untar https://github.com/mxcl/homebrew/tarball/master anywhere you like. | |
module Tty extend self | |
def blue; bold 34; end | |
def white; bold 39; end | |
def red; underline 31; end | |
def reset; escape 0; end | |
def bold n; escape "1;#{n}" end |
var json = "{ hoge: 1 }"; | |
var obj = JSON.parse(json); | |
console.log(obj.hoge); |
*.pbxproj -crlf -diff -merge |