Skip to content

Instantly share code, notes, and snippets.

View Hates's full-sized avatar

Richard Hart Hates

View GitHub Profile
@Hates
Hates / en.yml
Last active August 29, 2015 14:27
en:
karma:
admin: "admin title"
level_-1: "title1"
level_0: "title2"
level_50: "title3"
# NOTICE: to get Nginx+Unicorn best-practices configuration see the gist https://gist.github.com/3052776
$ cd /usr/src
$ wget http://nginx.org/download/nginx-1.2.1.tar.gz
$ tar xzvf ./nginx-1.2.1.tar.gz && rm -f ./nginx-1.2.1.tar.gz
$ wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.30.tar.gz
$ tar xzvf pcre-8.30.tar.gz && rm -f ./pcre-8.30.tar.gz
$ wget http://www.openssl.org/source/openssl-1.0.1c.tar.gz

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@Hates
Hates / gist:2659704
Created May 11, 2012 13:40 — forked from theozaurus/gist:716974
foobar.conf
# Enable upload_progress module for easy cross browser progress bar support
# using only javascript client side
upload_progress foobar_uploads 1m;
server {
# We only need one server block to deal with HTTP and HTTPS
# avoids duplication
listen 80;
listen 443 default ssl;