2011
-
Install Compass in an existing Rails application with Semantic Blueprint using Sass
compass init rails –using blueprint/semantic –syntax sass
-
Capistrano + RVM = Problem with deployment?
Most of the time when I had issues with deploying on rvm environment it helps you to do the following. Create a file in $home folder touch .rvmrc And paste following code:…
-
Working OAuth2 with Foursquare on Sinatra
require ‘rubygems’ require ‘sinatra’ require ‘oauth2’ require ‘json’ require ‘net/https’ require ‘foursquare2’ set :port, 80 CLIENT_ID = ‘****************************************************’ CLIENT_SECRET = ‘****************************************************’ CALLBACK_PATH = ‘/callbacks/foursquare’ def client OAuth2::Client.new(CLIENT_ID, CLIENT_SECRET, {:site => ‘https://foursquare.com/’, :token_url…
-
Latest eclipse app on Mac OS Lion preference pane
When upgrading to a new eclipse app and selecting existing workspace it makes preference pane unavailable. So to be able to access settings you have to either create a new workspace and…
-
Mac OS Lion and installing ruby 1.9.2
I am always having trouble with installing fresh rvm instance, so here are all steps needed in fresh rvm to install new ruby 1.9.2 export ARCHFLAGS=”-arch x86_64″ export CC=gcc-4.2 rvm pkg install…
-
Kindle still rules the ebook world
First time when i saw kindle being presented I was thrilled, because i read a lot of books. I saw a future in electronic books. That was 2 years ago and I…