Tuesday, August 7, 2012

Mounting S3 on an Ubuntu EC2 intance


Compile S3FS

sudo apt-get install build-essential libfuse-dev fuse-utils libcurl4-openssl-dev libxml2-dev mime-support
curl -O http://s3fs.googlecode.com/files/s3fs-1.61.tar.gz
tar -xzvf s3fs-1.61.tar.gz
cd s3fs-1.61/
configure
make
sudo make install

setup security
vim /etc/passwd-s3fs
accessKeyId:secretAccessKey
sudo chmod 640 /etc/passwd-s3fs
mount it

Saturday, August 4, 2012

Everything a Web Developer needs for OSX

Setting Up New Computer.

Within the last month received a new MacBook Pro, and had to re-install another. So I decided to list the software I installed.
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\ \[\1\]/'
}

PATH="/usr/local/php5/bin:/usr/local/mysql/bin:$PATH"
PS1='\[\e[01;32m\]\u@\h:\[\e[01;34m\]\w\[\e[0;31m\]$(parse_git_branch_and_add_brackets)\[\e[0m\]$ '

alias ls='ls -G'