Ruby5をひたすら翻訳する日記

海外で働きたい欲が高まった海山はついに強硬手段に出た。自分だけのためにRuby5(http://ruby5.envylabs.com/)翻訳し続けます。おかしなところは、適宜指摘大歓迎です!><

Episode #296 - August 10th, 2012

http://ruby5.envylabs.com/episodes/300-episode-296-august-10th-2012

Huffshell

https://github.com/paulmars/huffshell

  • 今までにコマンドラインで打ったコマンドをカウントして表示してくれる
  • 作成した方がいいエイリアスの推薦をしてくれる
  1. gemでインストールして
  2. alias > ~/.aliases.cacheをコマンドラインで打つ
  3. huffshellとコマンドラインで打つ

と使える!

こんな感じ

 $ huffshell
Huffshell
=============
Importing /Users/sea_mountain/.bash_history 216 commands found
216

=============
28 unique keywords

28 commands appear > 1 times
18 commands appear > 2 times
11 commands appear > 5 times
9 commands appear > 10 times
2 commands appear > 20 times
0 commands appear > 50 times
0 commands appear > 100 times
0 commands appear > 250 times

Most common commands:
ls 48
cd 32
hg 15
vi 14
ln 13
rvm 13
git 12
brew 11
exit 11

Command tree:
ls 48: 'ls' => l
cd 32: 'cd' => c

このPCあまり使ってないことが…明らかに…////

Ruby Constructs: Class, Module and Mixin

http://matt.aimonetti.net/posts/2012/07/30/ruby-class-module-mixins/
Rubyエンジニアがよく思う疑問

  • クラスとモジュールの違い

これの解説が↑のブログ記事で行われている。

あとで読む

Version Constraint

https://github.com/on-site/version_constraint

  • jQueryのバージョン間差異
  • jQueryのバージョンをチェックしてくれる?

Textmate Open Sourced

https://github.com/textmate/textmate
「みんな大好きTextmateオープンソースになったよ!!!」
「え〜Vimオープンソースでしょ〜?」

Zeus

https://github.com/burke/zeus

  • Railsの起動時間はよくある話題
  • Zeusを使うと、console, generate, serverなどのコマンドが1秒以内になる(?)
    • sporkみたいな機能
    • Railsのconfigを予め読み込んでいる?
    • githubにデモ動画がある