Skip to content

Instantly share code, notes, and snippets.


Kakutani Shintaro kakutani

View GitHub Profile
View power_assert.rb
# power_assert.rb
# Copyright (C) 2014 Kazuki Tsujimoto, All rights reserved.
# License: BSDL
# $ ruby power_assert.rb
# "0".class == "3" {|i| i + 1 }.class
# | | | | |
# | | | | Array
# | | | [1, 2, 3]
View この人のHotlinks、読んでみたい!リスト.md
marocchino /
Created Sep 17, 2012
rubykaigi2012 timetable
unak / history.txt
Last active Nov 29, 2021
The History of Ruby
View history.txt
* Only the releases of the stable versions are listed in principle. The releases of the unstable versions especially considered to be important are indicated as "not stable."
* The branches used as the source of each releases are specified, and the branching timing of them are also shown. BTW, before subversionizing of the repository, the term called "trunk" was not used, but this list uses it in order to avoid confusion.
* In order to show a historical backdrop, big conferences (RubyKaigi, RubyConf and Euruko) are also listed. About the venues of such conferences, general English notations are adopted, in my hope.
* ruby_1_8_7 branch was recut from v1_8_7 tag after the 1.8.7 release because of an accident.
* 1.2.1 release was canceled once, and the 2nd release called "repack" was performed. Although there were other examples similar to this, since the re-releases were performed during the same day, it does not write clearly in particular.
* Since 1.0 was released with the date in large quantities, the mi
tmaeda / graph.rb
Created May 24, 2012
sprk2012 pull req graph
View graph.rb
# sprk2012 pull req graph
require 'date'
require 'time'
require 'octokit'
client ={:auto_traversal => true})
pulls = client.pulls("sprk2012/sprk2012-cfp")
days = (,4,26),5,25)){|d| [d.to_s, 0]}
#!/usr/bin/env perl
use strict;
use warnings;
use Pod::Usage;
use Text::Markdown 'markdown';
use HTML::TreeBuilder;
use List::Util 'max';
use Encode;
netmute /
Last active Jun 19, 2021
Game of Life

Game of Life

An implementation of Conway's Game of Life in 140 characters of Ruby.


Created by Simon Ernst (@sier).

View gist:1133245
# vim:set ft=zsh:
limit core 0
limit -s
umask 022
yosisa / cmigemo.rb
Created Jul 30, 2011
formula for cmigemo
View cmigemo.rb
require 'formula'
class Cmigemo < Formula
url ''
homepage ''
sha1 '25e279c56d3a8f1e82cbfb3526d1b38742d1d66c'
depends_on 'nkf'
def patches