Ubuntu 12.10 Server Setup for Ruby on Rails, Passenger, Nginx.
Originally posted on bob-roberts.net:
Alright, I had a lot of fun today trying to figure out how to merge pdf’s in our Rails application. We are using pdfkit to create our pdf’s. What I needed to do was to take several pdf’s and merge them into one large pdf. Frankly I did not think…
How to Get Free Email Hosting for Your Domain.
Step 1: Install the gem ‘browser’ gem install browser Step 2: Add it to Gemfile or environment.rb gem “browser” #=> Rails 3 config.gem “browser” #=> Rails 2 Step 3: Implement require “browser” browser.name # readable browser name browser.safari? browser.opera? browser.chrome? browser.mobile? browser.tablet? browser.firefox? browser.ie? browser.ie6? # this goes up to 9 browser.capable? # supports some… Continue reading Detecting Mobile Browser via Gem
Detecting a Mobile Browser.
Importing a MySQL Database in Windows.