Git How-to – Installing git and pushing repo to github

In this post, I will describe the steps to install git on a windows machine, create a local repository, and then push that repo to your github account. This is a beginner level tutorial for those using windows, but except for the part about installation, it is common for all OSes. Installation and set up [...]

Rails: Avoid multiple level nested resource routes

While generating RESTful routes in rails, it is easy to get carried away and generate many levels of nested resources for every level of has_many associations. For instance, I recently wrote something like this in my routes file: # in config/routes.rb map.resources :first_resources do |first| first.resources :second_resources do |second| second.resources :third_resources end end Here FirstResouce [...]

Moving SVN repository to another server

I had to move an SVN repository for one of my projects from one hosting account to another today. I don't know much about handling SVN and it took me a bit of searching before I was able to do it, so i've written the steps here for anyone else who might be in the [...]

How to create a simple datepicker using jQuery

jQuery allows you to easily create a datepicker and customize it according to your requirements. Here's a quick look at how you can get started with using the jQuery datepicker. The jQuery website has a nice application called Themeroller that lets you customize the interface for jQuery UI widgets. There are also plenty of themes [...]