Keybase proof

I hereby claim:

  • I am zunda on github.
  • I am zunda ( on keybase.
  • I have a public key whose fingerprint is C31D 6E88 8EEB 6DAC EA88 1A8C 7BF7 154E 0B17 0373

To claim this, I am signing this object:

View gist:b64afa2d446b47377e92e7722d71f13f
$ rbenv install 2.4.0-dev
Installing ruby-trunk...
BUILD FAILED (OS X 10.11.6 using ruby-build 20160426)
Inspect or clean up the working tree at /var/folders/b5/rsnrc9zj3b9c32qqt6z6py51cq36q1/T/ruby-build.20161008132243.93304
Results logged to /var/folders/b5/rsnrc9zj3b9c32qqt6z6py51cq36q1/T/ruby-build.20161008132243.93304.log
Last 10 log lines:
View 51-kensington.conf
Section "InputClass"
Identifier "Trackball with Middle Button Emulation"
MatchProduct "Primax Kensington Eagle Trackball"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "Emulate3Buttons" "True"
View each-cert.rb
# ruby each-cert.rb 'openssl x509 -noout -text' input-file.crt
require 'open3'
class String
def certs
self.scan(/-----BEGIN CERTIFICATE-----.*?-----END CERTIFICATE-----/m)
View count-repos.rb
require 'open-uri'
require 'json'
module GitHubApi
User = 'zunda'
Header = {
'Authorization' => 'token <repoとread:orgのトークン>',
'Accept' => 'application/vnd.github.v3+json',
View pw.rb
class Integer
def stringify(chars, min_digits = nil)
if self < 0
raise ArgumentError, "Can not stringify negative numbers"
i = 0
d = chars.size
x = self
View each-block.rb
# usage: ruby each-block.rb sertificate-bundle.crt openssl x509 -noout -text
require 'open3'
src = ARGV.shift
cmd = ARGV
input =
blocks = input.scan(/(^-+BEGIN (\w+)-+\R.*?\R-+END (\2)-+\R)/m).map{|e| e[0]}
blocks.each do |block|
View password-hiragana.rb
usable = (''..'').to_a + ['', '']
class Integer
def stringify(chars, min_digits = nil)
i = 0
d = chars.size
x = self.abs
r = ''
View dog.rb
class Dog
def name=(x)
trace_ivar_set(:@name, x)
def trace_ivar_set(ivar, x)
puts "#{ivar} is set to #{x.inspect} for #{self.inspect} at #{caller[1]} called from #{caller[2]}"
instance_variable_set(ivar, x)
View 0-ng.txt
$ PKG_CONFIG_PATH=/usr/local/opt/poppler/lib/pkgconfig gem install poppler
Building native extensions. This could take a while...
ERROR: Error installing poppler:
ERROR: Failed to build gem native extension.
/usr/local/opt/ruby/bin/ruby -r ./siteconf20151225-8139-foz14t.rb extconf.rb
checking for --enable-debug-build option... no
checking for -Wall option to compiler... yes
checking for -Waggregate-return option to compiler... yes
checking for -Wcast-align option to compiler... yes