- JDKがinstall済みであること
- java コマンドに環境変数Pathが通っていること
This file contains 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
" Sticky shift in English keyboard."{{{ | |
" Sticky key. | |
inoremap <expr> ; <SID>sticky_func() | |
cnoremap <expr> ; <SID>sticky_func() | |
snoremap <expr> ; <SID>sticky_func() | |
function! s:sticky_func() | |
let l:sticky_table = { | |
\',' : '<', '.' : '>', '/' : '?', | |
\'1' : '!', '2' : '@', '3' : '#', '4' : '$', '5' : '%', |
This file contains 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
# リポジトリのトップレベルにcd | |
function u() | |
{ | |
cd ./$(git rev-parse --show-cdup) | |
} |
This file contains 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
" こういうHTMLがあったときに | |
" <div id="hoge" class="fuga"> | |
" ... | |
" </div> | |
" | |
" 実行するとこうなる | |
" <div id="hoge" class="fuga"> | |
" ... | |
" <!-- /div#hoge.fuga --></div> |
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)
That's it!
by https://github.com/erlang/otp/wiki/Writing-good-commit-messages
良いコミットメッセージは、重要な役割が、少なくとも三つあります。
- レビューするプロセスをスピードアップする。
- 良いリリースノートを書く手助けになる。
- 将来、Erlang/OTPのメンテナンスを手助けするため(もしかしたら君かも!)。それは五年後の未来において、なんでコードの中で特定の変更が加えられたのか、あるいは特定の機能が追加されたのか見つけるため、ということ。
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).
OlderNewer