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
| REM Python Install Path (e.g. C:\Python2.7) should be in your %PATH%, or you should provide a full path instead of "python" | |
| REM Put this in some folder that is in your %PATH% as well | |
| REM Run this as "gae_serve_php path\to\project", if already in the project dir "gae_serve_php ." | |
| python "<PATH TO GAE PHP SDK>\google_appengine\dev_appserver.py" --php_executable_path="<PATH TO PHP 5.4>\php-cgi.exe" "%1" |
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
| @REM 1) Put this file in your PHP bin folder (e.g. ...\Program Files\PHP) | |
| @REM 2) Put .phar files in a subfolder phar\ | |
| @REM 3) Call .phar's like: phar php-cs-fixer --etc --etc | |
| @REM Currently doesn't support more than 8 arguments to the phar, since I couldn't find an easy way to have shift(%*) | |
| @php %~dp0phar\%1.phar %2 %3 %4 %5 %6 %7 %8 %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
| # Windows: doesn't work in Git Bash, use Cygwin (with cd "D:\etc..." first) | |
| for file in $(git diff --ignore-space-at-eol --stat=1000,1000|cut -d' ' -f2|head -n -1); do git add $file; done && git checkout . |
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
| git diff --ignore-space-at-eol --stat |
NewerOlder