Skip to content

Instantly share code, notes, and snippets.

View minoritea's full-sized avatar

Minori Tokuda minoritea

View GitHub Profile
@minoritea
minoritea / Results
Created February 2, 2013 01:41
Comparison between Celluloid::IO and Ruby's sockets in Celluloid. Tests were executed on 2.3Ghz macbook. The server was written in node.js and replies a HTTP response.
$ jruby client1.rb 1000 localhost:4567
{"200"=>1000}
2.206
$ jruby client1.rb 10000 localhost:4567
{"200"=>10000}
8.26
$ jruby client2.rb 1000 localhost:4567
{"200"=>1000}

GitHub Flow

31 Aug 2011

git-flowの問題点 (Issues with git-flow)

私は人々にGitを教えるためにあちこちを飛び回っているが、最近のほぼすべてのクラスやワークショップで git-flow についてどう思うかを尋ねられた。私はいつも、git-flowは素晴らしいと思うと答えている。何百万ものワークフローを持ったシステム(Git)を提供し、ドキュメントもあるし、よくテストされている。フレキシブルなワークフローは、実に容易なやり方で多くの開発者の役に立つ。標準的なものになりつつあり、開発者はプロジェクトや企業の間を移動しつつこの標準的なワークフローに馴染むことができる。

@minoritea
minoritea / gist:27a877dfe108e9f96d2e
Last active August 29, 2015 14:07
Yokohama.rb Rotcell( pair-programming )
@initial_table = [
%w[a b c d e],
%w[f g h i j],
%w[k l m n o],
%w[p q r s t],
%w[u v w x y]
]
MAX_X = 5
MAX_Y = 5
FROM ruby
RUN apt-get update
RUN apt-get install -y bison wget
RUN wget http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0-preview2.tar.gz
RUN tar zxvf ruby-2.2.0-preview2.tar.gz
WORKDIR /ruby-2.2.0-preview2
RUN autoconf
RUN ./configure
RUN make
RUN make install
@minoritea
minoritea / readme.ja.md
Last active May 12, 2017 05:52
TOML specification in Japanese

TOML v0.4.0

トムの明瞭で最小の言語の意味。 (By Tom Preston Werner)

注:この仕様はまだ固まっておらず、バージョン1.0になるまでは安定しない可能性があります。

@minoritea
minoritea / gist:ea4f9f3513bb06d7fa90
Last active August 29, 2015 14:14
Serverspec Workshop

Serverspec Workshop

Minori TOKUDA 2015-Jan-27

1. Serverspec のインストール

  • gem install rake serverspec --no-ri --no-rdoc # rake と serverspec gemをインストール
  • which serverspec-init # ひな形生成コマンドが入っていることを確認

Serverspec

Serverspec Workshop(2)

Minori Tokuda


  1. Vagrant立ち上げ ======================
@minoritea
minoritea / goquu.md
Last active August 29, 2015 14:25
goquu

#Goquu

##GoでJob Queueシステムを作ってみた

@snowcrush


#Goquu

#TOMLの仕様の翻訳をした話

@snowcrush #tqrk09


TOMLとは

TOML aims to be a minimal configuration file format

that's easy to read due to obvious semantics.

@minoritea
minoritea / 2.3.0
Created December 25, 2015 08:19
ruby-build definition for 2.3.0
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
install_package "ruby-2.3.0-preview2" "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0-preview2.tar.gz#cb1c745bda33ba9e812b48c87852571ef6486f985c5e6ff4508a137d1c9734a3" ldflags_dirs standard verify_openssl