brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| /** | |
| * Lodash mixins for combinatorics | |
| * by: wassname & visangela | |
| * url: https://gist.github.com/wassname/a882ac3981c8e18d2556/edit | |
| * lodash contrib issue: https://github.com/node4good/lodash-contrib/issues/47 | |
| * lic: same as lodash | |
| * Inspired by python itertools: https://docs.python.org/2.7/library/itertools.html | |
| * | |
| * Usage: | |
| * permutations([0,1,2],2) // [[0,1],[0,2],[1,0],[1,2],[2,0],[2,1]] |
| .popover.top-left, .popover.top-right { | |
| margin-top: -5px; | |
| } | |
| .popover.bottom-left, .popover.bottom-right { | |
| margin-top: 5px; | |
| } | |
| .popover.top-left .arrow { | |
| bottom: 0; | |
| left: 20%; |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| #!/bin/sh | |
| PROJECT=`php -r "echo dirname(dirname(dirname(realpath('$0'))));"` | |
| echo "Checking PHP Lint..." | |
| FILES="" | |
| for FILE in `git diff --cached --name-only --diff-filter=ACMR HEAD | egrep \\\\.\(php\|ctp\)\$` | |
| do | |
| php -l -d display_errors=0 $PROJECT/$FILE | |
| if [ $? != 0 ] |