Skip to content

Instantly share code, notes, and snippets.

@pherrymason
Created October 13, 2016 13:47
Show Gist options
  • Save pherrymason/18eef22b73e9f7e14ab087b3c97d1201 to your computer and use it in GitHub Desktop.
Save pherrymason/18eef22b73e9f7e14ab087b3c97d1201 to your computer and use it in GitHub Desktop.
#
# Directory aliases
#
alias life="cd /Volumes/Develop/GitRepos/viscaweb/life"
alias wsserver="cd /Volumes/Develop/GitRepos/viscaweb/socket-server"
# php cli + xdebug
alias phpxdebug="php -dxdebug.default_enable=1 -dxdebug.remote_autostart=1 -dxdebug.remote_enable=1 -dxdebug.remote_mode=req"
#
# Varnish aliases
#
alias varnishstart="sudo /usr/local/sbin/varnishd -n /usr/local/var/varnish -f /Volumes/Develop/GitRepos/life-varnish/vcl/local.8080.vcl -s malloc,1G -a 127.0.0.1:80 -P /tmp/varnish.pid -p http_max_hdr=256 -n levarnish"
alias varnishstop="ps aux | grep '[v]arnish' | awk '{print \$2}' | xargs sudo kill -9"
#
# Memcache
#
alias memcacheclear="echo flush_all | nc localhost 11211 -q 1"
alias memcachelist="memdump --servers=localhost"
#
# Say
#
alias say-dc="say -v 'Kyoko' DEPLOYMENT COMPLETE!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment