Sunday, March 25, 2012

Manage Hierarchical Data in MySQL

This very helpul for organiziation structure..

check it out:
http://mirror.neu.edu.cn/mysql/tech-resources/articles/hierarchical-data.html

How to show Organization chart with jQuery

jQuery has provide plugin for resolve the organization chart.. here we go.. check this link:

Download API Ruby on Rails v.3.2.2 running on local computer

wget -r -k -p http://api.rubyonrails.org/


  • r - recursive
  • k - convert links to point to local files
  • p - get all images, etc needed to display the html pages

Upgrade from Ruby 1.8.7 to Ruby 1.9.2 on Ubuntu

sudo apt-get remove ruby1.8 ruby

# this is actually Ruby 1.9.2
sudo apt-get install ruby1.9.1 ruby1.9.1-dev 

sudo ln -s /usr/bin/ruby1.9.1 /usr/bin/ruby

Now, Install RubyGems
sudo apt-get install rubygems1.9.1