More Related Content
More from Shintaro Kakutani (20)
The gate
- 1. It's only after you've lost everything that you are free to do anything
KAKUTANI Shintaro; Eiwa System Management,Inc.
- 32. puts "residence_country rough summary(rk11 and
rk11_indeividual_sponsor):"
residence_country =
Paypal::PaymentNotification.where("created_at
>=?", Date.parse('2011-01-01')).order
("created_at").
map{|n| ActiveSupport::JSON.decode
(n.notified_params_as_json)}.select{|j| j
["payment_status"] == "Completed"}.
map{|j| j.keys.grep(/item_number/).map{|k| (j[k]
=~ /Ark11z/ || j[k] =~ /
Ark11_individual_sponsorz/)? j :
nil}}.flatten.compact.
map{|j|j["residence_country"]}.map.group_by{|e|
e}.map{|(k,v)| {k => v.size}}.sort_by{|e| e.values
[0]}.reverse
p residence_country
https://github.com/ruby-no-kai/rubykaigi/blob/master/script/ticket_summary
- 33. $ cap production ticket:summary
-----------------------------------------------------------------
tickets stock summary
-----------------------------------------------------------------
RubyKaigi 2011 Kaigi: stock: 0
RubyKaigi 2011 Party: stock: 0
residence_country rough summary
(rk11 and rk11_indeividual_sponsor):
[{"JP"=>777}, {"US"=>20}, {"AU"=>12}, {"GB"=>4},
{"CH"=>3}, {"BR"=>2}, {"TW"=>2}, {"CA"=>2},
{"IT"=>1}, {"SE"=>1}, {"DE"=>1}, {"FI"=>1},
{"CN"=>1}, {"KR"=>1}]
- 43. Now we can make
hundreds of thousands
of developers happy
- 46. Love to you all and
thanks to the world
Ruby exists.
http://www.flickr.com/photos/pragdave/542486933/
- 78. “Once we have built the
gate, we can pass
through it to the practice
of the timeless way.
- 104. 1
Challenge
Inspire Someone
- 106. 2
Challenge
Diversify
yourself…
- 107. 3
Challenge
Get Out of the Rut
- 109. becoming
nger of
in da
Ruby is a Suburb
- 116. 1
Challenge
Inspire Someone
- 117. 2
Challenge
Diversify
yourself…
- 118. 3
Challenge
Get Out of the Rut