Skip to content

Instantly share code, notes, and snippets.

@bordeo
Last active July 11, 2016 07:41
Show Gist options
  • Save bordeo/26d8c1f83ef7e1d9a503 to your computer and use it in GitHub Desktop.
Save bordeo/26d8c1f83ef7e1d9a503 to your computer and use it in GitHub Desktop.
Extra file for dotfiles
alias restart_httpd24='sudo brew services restart httpd24'
alias restart_mysql='brew services restart mysql'
alias composer='COMPOSER_DISABLE_XDEBUG_WARN=1 php -d xdebug.remote_enable=0 -d xdebug.default_enable=0 -d xdebug.profiler_enable=0 ~/bin/composer $*'
# Git credentials
# Not in the repository, to prevent people from accidentally committing under my name
GIT_AUTHOR_NAME="bordeo"
GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
git config --global user.name "$GIT_AUTHOR_NAME"
GIT_AUTHOR_EMAIL="[email protected]"
GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
git config --global user.email "$GIT_AUTHOR_EMAIL"
git config --global push.default simple
export HOMEBREW_GITHUB_API_TOKEN="dsfadsfdsfdfdsafdfasdfdf"
export NVM_DIR=~/.nvm
. $(brew --prefix nvm)/nvm.sh
#export PHPBREW_SET_PROMPT=1
export DOCKER_HOST=tcp://192.168.99.100:2376
export DOCKER_CERT_PATH=/Users/alex/.docker/machine/machines/dinghy
export DOCKER_TLS_VERIFY=1
export DOCKER_MACHINE_NAME=dinghy
source /Users/alex/.phpbrew/bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment