Skip to content

Instantly share code, notes, and snippets.

View BHWarrior's full-sized avatar
😁
Enjoying life

Beny Hirmansyah BHWarrior

😁
Enjoying life
View GitHub Profile
location /redirect/ {
rewrite ^/redirect/(.*)$ /redirect/index.php?id=$1 last;
}
@BHWarrior
BHWarrior / gist:c70619d78d7adc9d081c81d9b595ddfd
Last active December 24, 2017 00:52 — forked from johanmeiring/gist:3002458
"git lg" alias for pretty git log
# From http://garmoncheg.blogspot.com/2012/06/pretty-git-log.html
git config --global alias.lg "log --color --graph --pretty=format:'%C(cyan)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"