Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
| server { | |
| listen 80; | |
| server_name *.sapleapp.com; | |
| root /home/vijay/Desktop/hippo/hippolite/; | |
| location / { | |
| proxy_pass_header Server; | |
| proxy_set_header Host $http_host; | |
| proxy_redirect off; | |
| proxy_set_header X-Real-IP $remote_addr; |
| export WORKON_HOME=$HOME/.virtualenvs | |
| export PROJECT_HOME=$HOME/Devel | |
| source /usr/local/bin/virtualenvwrapper.sh |
Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/usr/bin/ruby | |
| require 'rss' | |
| # Usage | |
| # $ ./railscasts.rb http://railscasts.com/subscriptions/YOURRAILSCASTRSS/\/ | |
| # episodes.rss | |
| # OR | |
| # $ ./railscasts.rb | |
| p 'Downloading rss index' |
Assumes a fresh install of Ubuntu 12.04 LTS.
Setup the system to handle compiling and installing from source.
$ sudo apt-get install build-essential
If SSL support is needed then we will need to install libssl-dev.
$ sudo apt-get install libssl-dev