A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
| #!/bin/bash | |
| # Install rbenv | |
| # https://github.com/sstephenson/rbenv | |
| cd ~ | |
| git clone git://github.com/sstephenson/rbenv.git .rbenv | |
| echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> .bashrc | |
| echo 'eval "$(rbenv init -)"' >> .bashrc |
| #!/bin/sh | |
| # Some things taken from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # Set the colours you can use | |
| black='\033[0;30m' | |
| white='\033[0;37m' | |
| red='\033[0;31m' | |
| green='\033[0;32m' |
| Deploying a Rails 3 App with EC2 + S3 + Ubuntu + Capistrano + Passenger | |
| ======================================================================= | |
| EC2 Setup | |
| --------- | |
| 1 Launch New ec2 instance - ami-1634de7f | |
| 2 Create elastic IP [ELASTIC_IP] and associate it with instance | |
| 3 go to domain registrar DNS settings, @ and www to ELASTIC_IP | |
| 4 set the `:host` in `config/deploy.rb` to ELASTIC_IP |
| #/usr/bin/env bash | |
| set -e | |
| set -x | |
| apt-get update | |
| apt-get upgrade | |
| apt-get -y install build-essential curl git-core openssl libreadline6 libreadline6-dev \ | |
| zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev \ |