| command name | command |
|---|---|
| start new | tmux |
| start new with session name | tmux new -s name |
これの車輪の再発明っぽい: PolicySummary.pod
Perl::Critic の警告 |
内容 |
|---|---|
ProhibitBooleanGrep |
Use List::MoreUtils::any instead of grep in boolean context. |
ProhibitComplexMappings |
Map blocks should have a single statement. |
ProhibitLvalueSubstr |
Use 4-argument substr instead of writing substr($foo, 2, 6) = $bar. |
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
| " Rubocopのインストールが必要です。 | |
| " $ gem install rubocop | |
| " $ rbenv rehash | |
| " NeoBundle ---------------------------------------------------------------- {{{ | |
| " call neobundle#begin(___) ... call neobundle#end() の間に置いてください | |
| " Vim でコマンドを実行して結果を表示するプラグイン「QuickRun」をインストール | |
| NeoBundle 'thinca/vim-quickrun' |
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
| " NeoBundle ---------------------------------------------------------------- {{{ | |
| " call neobundle#begin(___) ... call neobundle#end() の間に置いてください | |
| " Vim でコマンドを実行して結果を表示するプラグイン「QuickRun」をインストール | |
| NeoBundle 'thinca/vim-quickrun' | |
| " テストを実行中、vimの動作をブロックしないようにするために「vimproc」をインストール | |
| NeoBundle 'Shougo/vimproc' | |
| " rspec の一部のテストだけ実行できるプラグイン「neorspec」をインストール |
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
| " NeoBundle ---------------------------------------------------------------- {{{ | |
| " call neobundle#begin(___) ... call neobundle#end() の間に置いてください | |
| " Vim でコマンドを実行して結果を表示するプラグイン「QuickRun」をインストール | |
| NeoBundle 'thinca/vim-quickrun' | |
| " テストを実行中、vimの動作をブロックしないようにするために「vimproc」をインストール | |
| NeoBundle 'Shougo/vimproc' | |
| " -------------------------------------------------------------------------- }}} | |
| " |
-
6文字(最短)
i%9||9
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
| var util = {}; | |
| util.array = {}; | |
| util.array.remove = function(arr, obj) { | |
| var i = arr.indexOf(obj); | |
| var rv; | |
| if ((rv = i >= 0)) { | |
| util.array.removeAt(arr, i); | |
| } | |
| return rv; |