Installing a specific version of Cordova

With the recent releases and compatibility issues with the plugins we have to switch to some particular version of Cordova/Phonegap which works stable for our exisiting projects. However I was having issue in finding the exact version no to which I need to re-install.

Using command line we can see the versions of cordova available by

npm view cordova versions

The output is like :

C:\Users\upasana>npm view cordova versions

[ '0.0.0-fake',
'5.1.1' ]


Then to install a particular version we use the following command.

npm install -g cordova@4.2.0

Have a great day!

Removing mysql from ubuntu

Below are the steps to remove mysql from ubuntu (it also works when you do not have the mysql root password)

The commands worked fine with Ubuntu LTS 12.0.4 and and mysql 5.5

sudo service mysql stop  #or mysqld
sudo killall -9 mysql
sudo killall -9 mysqld
sudo apt-get remove --purge mysql-server mysql-client mysql-common
sudo apt-get autoremove
sudo apt-get autoclean
sudo deluser mysql
sudo rm -rf /var/lib/mysql
sudo apt-get purge mysql-server-core-5.5
sudo apt-get purge mysql-client-core-5.5

Have a great day!

Ref: StackOverflow

Removing apache2 from ubuntu

Follow these steps to remove the apache2 service using Terminal (we were successfully able to uninstall Apache2 from Ubuntu 12.0.4 LTS):

  1. First stop the apache2 service if it is running with: sudo service apache2 stop
  2. Now remove and cleanup all the apache2 packages with:
    sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common
  3. Finally, run sudo apt-get autoremove just in case any other cleanup in needed

You can do the following two tests to confirm apache has been removed:

  1. which apache2 – should return a blank line
  2. sudo service apache2 start – should return apache2: unrecognized service

Have a great day!

Source : AskUbuntu


So Many Things to Learn.. So Less Time!

Back to serious blogging Eh!

Times are changing and I am part of the evolution. The roller coaster rides are now becoming my addiction. I want to do everything at the same time.

A great thing happened last month. I was gifted a 3 months subscription from a client for learning purpose. Now that is something I really liked a lot.

Yet to activate the subscription, I want to use it as much as possible to learn everything. Literally everything.

Are you planning to get something for me? My wishlist is below.

1. Macbook Pro (Latest version, core i7)

2. iPhone (Latest version, 32GB/64GB)

3. Lots of credits on learning sites.

4. Trip to Goa

5. Frequent flyer schemes


7. Europe trip.

and the list goes on…!






The site kinda looks empty as of now. Time to fill in the gaps!