Skip to content

Instantly share code, notes, and snippets.

View gist:555b3166ac8ff70cb72c07f56e830aeb
### Keybase proof
I hereby claim:
* I am chrisivens on github.
* I am chrisivens (https://keybase.io/chrisivens) on keybase.
* I have a public key ASBkBgl3kIsujItm-Lqxy9F2oVmSNoUzMSV8wZw5VjOM_wo
To claim this, I am signing this object:
@chrisivens
chrisivens / proxy.conf
Created Aug 15, 2017
Proxy from nginx to preserve original host and ip
View proxy.conf
proxy_redirect off;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
View Default (OSX).sublime-keymap
[
{ "keys": ["ctrl+alt+shift+up"],
"args": {"forward": false},
"command": "select_lines"
},
{
"keys": ["ctrl+alt+shift+down"],
"args": { "forward": true },
"command": "select_lines"
}
@chrisivens
chrisivens / .gitconfig
Last active Aug 29, 2015
Git log with tree and colours
View .gitconfig
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(blue)<%an>%Creset' --abbrev-commit