gem install rake serverspec --no-ri --no-rdoc
# rake と serverspec gemをインストールwhich serverspec-init
# ひな形生成コマンドが入っていることを確認
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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 |
31 Aug 2011
私は人々にGitを教えるためにあちこちを飛び回っているが、最近のほぼすべてのクラスやワークショップで git-flow についてどう思うかを尋ねられた。私はいつも、git-flowは素晴らしいと思うと答えている。何百万ものワークフローを持ったシステム(Git)を提供し、ドキュメントもあるし、よくテストされている。フレキシブルなワークフローは、実に容易なやり方で多くの開発者の役に立つ。標準的なものになりつつあり、開発者はプロジェクトや企業の間を移動しつつこの標準的なワークフローに馴染むことができる。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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} |
NewerOlder