varnish useful commands

Couple of notes on how to work with varnish: starting command (highly relevant to my local setup): sudo /usr/local/sbin/varnishd -a 127.0.0.1:81 -f /usr/local/etc/varnish/default.vcl -s malloc,1G -T 127.0.0.1:2000 VCL: https://www.varnish-cache.org/docs/3.0/reference/vcl.html connecting…

Read more





nice git log

git config –global alias.log2 “log –color –graph –pretty=format:’%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%Creset’ –abbrev-commit” from http://coderwall.com/p/euwpig?i=3&p=1&t=git

Read more