Profile cover photo
Profile photo
Jimmy Lien
44 followers -
Me = sum(soccer + mountain biking +wine +banking + web/mobile app development + libertarian)
Me = sum(soccer + mountain biking +wine +banking + web/mobile app development + libertarian)

44 followers
About
Jimmy's posts

Post has attachment
Check out this video on YouTube:

Post has attachment

Post has attachment
Start Nginx on Rackspace
Nginx's docs say you can typically start nginx in /usr/bin/nginx. Rackspace is slightly different. sudo /etc/init.d/nginx start
...
sudo /etc/init.d/nginx stop
...
sudo /etc/init.d/nginx restart

Post has attachment

Post has attachment
Git Auto Completion
You need git-autocompletion !  Especially if you are using something like git-flow . Make sure you have brew. brew install git bash-completion Edit your bash_profile... vim ~/.bash_profile ...and add this:   if [ -f $(brew --prefix)/etc/bash_completion ]; t...

Post has attachment
ActiveRecord::StatementInvalid: SQLite3::BusyException: database is locked:
Pesky rails debugger.  I leave the computer for half an hour to clear out some snow.  while in debug mode an my sqlite test database gets locked.  No fear. If your dev server is affected you try opening up the console  rails c and running ActiveRecord :: Ba...

Post has attachment
Rails Destroy Table, Create Table, Migrate
Ever messed up your db by not using the rails destroy migration? Instead of running the rake commands separately like so: rake db:drop  rake db:create rake db:migrate ... you can stack them into one command. rake db:drop db:create db:migrate This way you do...

Post has attachment
Rails: A server is already running. Check /vagrant/tmp/pids/server.pid
I'm using vagrant as my virtual machine for a project and kept running into my port not shutting down completely after exiting the rails server. vagrant@precise32:/vagrant$ rails s => Booting Thin => Rails 3.2.16 application starting in development on http:...

Post has attachment
Wait while more posts are being loaded