Skip to content

Instantly share code, notes, and snippets.

nbyst

  • Japan
Block or report user

Report or block nbyst

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nbyst
nbyst / setup-play-ec-hook.sh
Last active Aug 29, 2015
ローカルプロジェクトでpull,merge,rebase,checkoutなどをした時に自動的にplay ecするスクリプト
View setup-play-ec-hook.sh
#!/bin/sh
# 第一引数にプロジェクトのルートディレクトリをいれてください
# 相対パスでOKです
project_root_dir=$1
play_ec_hookscript=$project_root_dir/.git/hooks/play-eclipsify.sh
cat <<_EOT_ >$play_ec_hookscript
#!/bin/sh
play ec
View かんきちの件
//検索したいIPが書かれたファイル
# cat hage.list
1.1.1.1
255.255.0.0
# cat hoge.list
1.1.1.1,"bob"
10.30.0.1, "cathy"
255.255.0.0, "mike"
1.8.2.1, "john"
You can’t perform that action at this time.