Skip to content

Instantly share code, notes, and snippets.

### 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 August 15, 2017 18:56
Proxy from nginx to preserve original host and ip
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;
@chrisivens
chrisivens / Default (OSX).sublime-keymap
Created April 28, 2015 09:08
Sublimetext Key bindings
[
{ "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 August 29, 2015 14:04
Git log with tree and colours
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(blue)<%an>%Creset' --abbrev-commit