例文を組み込んだAlfred Workflowを作りました: Alfred Git Commit Message Example
以下転載:
#概要
黒魔術ライブラリことLombokについての解説です。公式ドキュメントからの和訳と多分な意訳によって構成されています。
すでにこちらの”JavaでAndroid開発をするなら絶対に導入したいLombok - 超戦士が秘めたる13のパワー[劇場版]”で解説がありますが、当記事では各パラメータやオプションの解説も行っていきます。そういった部分も把握して使いこなしたい、と言った場合に参考にしていただければと思います。
Experimental features(実験的な機能)はバージョンアップによって削除される可能性が高いため解説は行いません。Lombokのアップデートによってメインパッケージへと移動した場合は追記を行う予定です。
かなり長くなるので見出しをご活用ください。
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
| #!/usr/bin/env bash | |
| # MIT © Sindre Sorhus - sindresorhus.com | |
| # git hook to run a command after `git pull` if a specified file was changed | |
| # Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
| changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
| check_run() { | |
| echo "$changed_files" | grep --quiet "$1" && eval "$2" |
| 更新: | 2013-07-30 |
|---|---|
| バージョン: | 0.1.1 |
| 作者: | @voluntas |
| URL: | http://voluntas.github.io/ |
概要
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
| import groovyx.net.http.HTTPBuilder | |
| import static groovyx.net.http.ContentType.* | |
| import static groovyx.net.http.Method.* | |
| int TENSECONDS = 10*1000; | |
| int THIRTYSECONDS = 30*1000; | |
| HTTPBuilder builder = new HTTPBuilder('http://www.axeda.com') | |
| //HTTPBuilder has no direct methods to add timeouts. We have to add them to the HttpParams of the underlying HttpClient |
