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 […]
An Introduction to Web Crawling using Ruby and Nokogiri
Web Crawling A web crawler is a program automated script that browses world wide web in methodical and automated manner.Key motivation for designing web crawlers has been retrieve web pages and add their representations to local repository. Other less frequently used names of a web crawler are Bot ants automatic indexers worm Difference between […]
Pelican with github pages
Pelican is a static site generator written in python which allows you to write your content directly using reStructuredText or Markdown. In this blog post, we will discuss how to create and host a static site using pelican and github pages. Installation Lets wrap all our installations inside a separate virtual environment using python virtual environment wrapper. Install […]
Engineer’s Day in India
September 15 is celebrated every year in India as Engineer’s Day to commemorate the birthday of the legendary engineer Sir M. Visvesvaraya (1860-1962). Internationally recognised for his genius in harnessing water resources, he was responsible for successful design and construction of several river dams, bridges and implementing irrigation and drinking water schemes all over India. […]