Skip to content

Instantly share code, notes, and snippets.

View myokoym's full-sized avatar
💭
hi

Masafumi Yokoyama myokoym

💭
hi
View GitHub Profile
@myokoym
myokoym / gdk-pixbuf-windows-jpg-and-gif-together-segv
Last active December 15, 2015 20:29 — forked from anonymous/gdk-pixbuf-windows-jpg-and-gif-together-segv
gdk-pixbuf: Windowsでjpgとgifを同時に使うとSegmentation fault
C:\work\ruby-gnome2-master\gtk3\sample\gtk-demo>ruby -v
ruby 2.0.0p0 (2013-02-24) [i386-mingw32]
C:\work\ruby-gnome2-master\gtk3\sample\gtk-demo>gem list
*** LOCAL GEMS ***
atk (1.2.6 x86-mingw32)
bigdecimal (1.2.0)
cairo (1.12.4 x86-mingw32)
@myokoym
myokoym / 032.rb
Created August 17, 2012 07:15 — forked from black-structure/032.rb
project euler 032
require 'set'
s = Set.new
class Array
def pandigital?(r = 1..9)
r = r.to_a unless r.instance_of?(self.class)
self.sort == r.sort
end
end