git log --author=guillaume --shortstat --oneline | egrep "^ ([0-9]{3,}) files changed" -B 1
git log --grep psr
git shortlog -ns
| #!/bin/bash | |
| if [ -f /volumes/users/gaetan.priour/Documents/CheckPHPRFC/diff.txt ]; then | |
| echo "PHP RFC has been updated!" | osd_cat -i 1200 -o 3 -d 300 & | |
| fi |
| #!/bin/bash | |
| # To decide how many times the test should be run: | |
| # perf <n> <url> | |
| # | |
| # Otherwise simply use | |
| # perf <url> | |
| DEFAULT_RUN=10 |
| #!/bin/bash | |
| # This script with loop through every commit in the current branch | |
| # and run every php file through phpcbf (standard PSR2) | |
| # -f to force if there is already a back up (previous filter-branch run) | |
| # -d path to a tmpfs mount point | |
| # PSR2 Coding Standard | |
| # Only PHP files that have been added or modified | |
| # Excluding root folders: vendor, libs and dist |
| #!/bin/bash | |
| # From all the Apache sites-enabled conf files, | |
| # extract the ServerAlias and ServerName lines. | |
| # And for nginx too. | |
| find /etc/apache2/sites-enabled/ -name "*.conf" -exec grep -E "ServerName|ServerAlias" {} \; \ | |
| | grep -vE '^*\#' | sed -e 's/^[ \t]*//' | grep --color -E "^|ServerName|ServerAlias" \ | |
| | awk {'print $2'} | sort | uniq | |
| #!/bin/bash | |
| HOSTS='/etc/apache2/sites-enabled/' | |
| for file in `ls $HOSTS` | |
| do | |
| echo $file | |
| cat $HOSTS$file | grep --color -E "ServerName|DocumentRoot" | |
| done |
| alias ..="cd .." | |
| alias ...="cd ../.." | |
| alias h='cd ~' | |
| alias c='clear' | |
| alias art=artisan | |
| alias codecept='vendor/bin/codecept' | |
| alias phpspec='vendor/bin/phpspec' | |
| alias phpunit='vendor/bin/phpunit' |