Skip to content

Instantly share code, notes, and snippets.

@orb
orb / myapp
Last active Aug 29, 2015
generic nginx proxy
View myapp
upstream myapp {
server 127.0.0.1:8000;
}
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://myapp;
proxy_read_timeout 180;
@orb
orb / keys.el
Created Jun 28, 2014
emacs custom ansi keybindings
View keys.el
(define-key input-decode-map "\e[1;10A" [M-S-up])
(define-key input-decode-map "\e[1;10B" [M-S-down])
(define-key input-decode-map "\e[1;10C" [M-S-right])
(define-key input-decode-map "\e[1;10D" [M-S-left])
;(define-key input-decode-map "\e[1;9A" [M-up])
;(define-key input-decode-map "\e[1;9B" [M-down])
;(define-key input-decode-map "\e[1;9C" [M-right])
;(define-key input-decode-map "\e[1;9D" [M-left])
You can’t perform that action at this time.