This file contains 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
# Recently i've been struggling to ignore my local changes to a .env file that was already committed in a git repo. | |
# To locally ignore your changes to that particular file/folder and keep tracking in the remote, use this: | |
git update-index --skip-worktree <path-name> |
This file contains 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
/** @noinspection PhpUndefinedMethodInspection */ | |
/** @noinspection PhpDeprecationInspection */ | |
PhpAssignmentInConditionInspection | |
PhpDeprecationInspection | |
PhpDocMissingReturnTagInspection | |
PhpDocSignatureInspection | |
PhpDynamicAsStaticMethodCallInspection | |
PhpIllegalArrayKeyTypeInspection |
This file contains 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
export XDEBUG_CONFIG="remote_enable=1 remote_mode=req remote_port=9002 remote_host=127.0.0.1 remote_connect_back=0" |
This file contains 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
#!/bin/bash | |
cd ~/Sites | |
composer create-project shopware/composer-project --no-interaction --stability=dev shopware | |
cd shopware | |
MYSQL_ENV_MYSQL_HOST='mysql' | |
# Setup variables to populate the .env file | |
cp .env.example .env | |
sed -i -e 's*DB_DATABASE=composer*DB_DATABASE=shopware*g' .env | |
sed -i -e 's*DB_USERNAME=root*DB_USERNAME=homestead*g' .env |
This file contains 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
ant | |
getantibody/tap/antibody | |
apache-spark | |
bat | |
bower | |
cscope | |
curl | |
diff-so-fancy | |
wagoodman/dive/dive | |
dnsmasq |
This file contains 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
chromedriver | |
docker-toolbox | |
filezilla | |
firefox | |
java8 | |
kap | |
sourcetree | |
upterm | |
virtualbox | |
viscosity |
This file contains 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
{ | |
"Ansi 6 Color" : { | |
"Green Component" : 0.72156862745098038, | |
"Blue Component" : 0.71764705882352942, | |
"Red Component" : 0.75686274509803919 | |
}, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { |
This file contains 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
#!/bin/sh | |
PROJECT=`php -r "echo dirname(dirname(dirname(realpath('$0'))));"` | |
STAGED_FILES_CMD=`git diff --cached --name-only --diff-filter=ACMR HEAD | grep \\\\.php` | |
# Determine if a file list is passed | |
if [ "$#" -eq 1 ] | |
then | |
oIFS=$IFS | |
IFS=' |
This file contains 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
gaa='git add --all' | |
gfo='git fetch origin' | |
gb='git branch' | |
gcb='git checkout -b' | |
gbnm='git branch --no-merged' | |
glgga='git log --graph --decorate --all' | |
gss='git status -s' | |
gup='git pull --rebase' | |
gupv='git pull --rebase -v' | |
gwch='git whatchanged -p --abbrev-commit --pretty=medium' |