Couple of days back i came to know about JavaScript code modules. Such files have an extension of .jsm and are not highlighted in Vim by default. Running the command set filetype=javascript everytime is not the best way to do things. So, now we just need to check if the file extension is .jsm and [...]
Archive for the ‘HowTo’ Category
Right click menu, awesomeness
If you have not seen this effect in action, i recommend you to visit akismet.com and right click on their logo, else here is a Demo that i made. I’ve got to say seeing this in the akismet site was quite inspiring. Well, isn’t it a cool effect and I have got to say they [...]
Rails2 and Rails3 side by side
It was just couple of days back, when i started using Rails 3 and started getting the niche of it when a client wanted some job done on rails 2.3.8 . So, even i had no idea how do i downgrade to 2.3.8 or run them simultaneously. After so searching and digging this is what [...]
Setup Ruby on rails on ubuntu 10.04
Pretty easy, sequence of commands and we’re done First, update all repositories sudo apt-get update Installing the default ruby stack apt-get install irb ruby rdoc libopenssl-ruby ruby-dev Download rubygems from http://rubyforge.org/frs/?group_id=126 then install as below tar xzvf rubygems-1.3.7.tgz cd rubygems-1.3.7 sudo ruby setup.rb have gem point to the 1.8 binary sudo update-alternatives –install /usr/bin/gem gem [...]
Rails 2.3.8 on Instanrails
Instantrails is the best way to setup rails server on windows as it is very easy install and setup .No hassles at all. Installing Instantrails is just an extraction operation. Updating it to the latest version is just easy as installing. Here is how we do it Open up a ruby console via the instantrails [...]
phpmyadmin login with no password
Really easy solution edit the file /etc/phpmyadmin/config.inc.php and uncomment $cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
iPhone voicemail hack for Tata Docomo …
Basically, if you have an unlocked iphone then the voice mail button would take you to a page saying “your voice mail is not configured”. If you know the voice mail number for your carrier (09029090290 in my case. ie for tata docomo), here’s a work around. Make a call to *5005*86*09029090290# and we are [...]