So, if you are using Jekyll Docker image and you need to install any Ruby gems that require C headers, such as raindrops in my case, which was a dependency for unicorn, you will find yourself faced with this error: fatal error: asm/types.h: No such file or directory Fortunately, there is a quick fix for […]
Custom Table View Cell using Interface Builder with RubyMotion
I’m a RubyMotion newbie and I wanted to create a custom table view cell which simply had three labels – a title, a subtitle and a third label on the right side of the cell. I found a few help around for creating custom table view cell programmatically, which helped me do the job, but […]
PyCon India 2014 – Days of Future Past
Banglore cantonment station was busy as usual, Taxi wala blocking passengers with their offers. People running away not to get caught in their trap. Sreekanth, Tevin, Nidhin with me trying best for a taxi and a good bargain. Even though we were tired of the eight hour journey in an over cooled AC coach. Nuventure […]
Using Hstore in Rails 4 with PostgreSQL
Hstore basically gives you a schema-less data store in your PostgreSQL DB. This allows you to store the Hash in a Database column. If you want to query Model records, it is very difficult if you use Serialize to store dynamic attributes. Hstore acts same as Serialize but we can additionally query the model records using […]
Vim Bootstrap – generate .vimrc for your favorite programming language
Programmers in the current era like to work using IDEs because it is more user friendly. But there are reasonable number of programmers who still use command line for programming. Their favourite editor might be Vim. Vim is easy to use, light-weight and comes with almost every Unix distribution. Unlike IDEs, it does not hang […]