Archive for the “General” category
Configuring Nginx and Unicorn
by Razvan on July 9, 2010
I first heard about Unicorn in an interview with 37Signal’s server admin Mark Imbriaco and it made me really curious. There are a few great resources explaining how Unicorn works and a neat benchmark comparing Mongrel, Passenger and Unicorn. I (…)
Setting up a High Availability Ruby on Rails environment with keepalived, nginx, HA Proxy and Thin on Debian Lenny
by Razvan on May 15, 2010
Contents Configure Keepalived and Nginx Configure HA Proxy Configure Thin Overview Nginx and HA Proxy have similar functions: they can both be used as reverse proxies and load balancers. In our case Nginx will be the reverse proxy and HA (…)
Building your own Lightbox with Javascript (part 1)
by Razvan on February 21, 2010
See the final result of part 1: Demo Why write your own lightbox? The simple answer is: to learn how it’s done. If you’re going to use if for an image gallery, embed flash and videos or even to load (…)
Adding multiple images to a Rails model with paperclip
by Monica Olinescu on February 13, 2010
How to add multiple images to a rails model – all in one form!
How to set up tax rules for sales within Canada in Magento
by Monica Olinescu on August 17, 2009
Objective: Set up the taxation system for Magento for sales within different provinces of Canada. Entering the Tax Rates for Retail Sales in Canada The tax rates used in this example are listed below. DISCLAIMER: the rates and tax rules (…)