Broken Terminal? MAC OSX

Broken? : Yeah sometimes, you might haphazardly configured/changed your environment and that somehow broke you’r terminal

Effects : Commands like ls, cd , bash don’t work


1. Open Terminal

2. Type  PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin and press enter

3. Type export PATH   and press enter


Solution for Pointer Content Bug in Netbeans 7.1

Using Netbeans 7.1

I had a pointer variable declared as

int **nodes

As program continued ,i allocated size on the fly and at a point i needed to watch the contents of this pointer (as an array of values)

The watch pane of Netbeans does not reflect the values


Create a watch with  *nodes@22

where you want to watch  all the values in nodes[22][]

Attached Screenshot for reference

in the picture 1st three rows reflect the bug

and post that row is the solution ! Happy Debugging!!!!

Note: For n00bs , you can add a Watch in Variables too !!! 😀


netbeans bug.jpg

Nexus One – Random SMS Bug Fix

Nexus One:

  • Is Your nexus one sending randoms SMS?
  • Contact name is correct and even then it sends out random stuff?
  • Fix has arrived as Android O.S 2.2.2 – Thats a lucky number!
  • Get it as OTA (Over the air) or from Google .

Note : I Wont be writing how to do that (Since i don’t have an Android Mobile right now)but here is a solution

Solution: Click here


Mount IOS 4.2 In Ubuntu

After the Recent update to our beloved iphone

We see that it wont get mounted on our ubuntu /Linux machines

Tired of Finding solutions to get it mounted….then dont wory here are the steps…

Step 1: Add the Following Repository to the System… Go to terminal and copy paste the code:

sudo add-apt-repository ppa:pmcenery/ppa


Step 2:We then need to get the packages thats there in the ppa So – UPDATE and UPGRADE With this command…

dont worry it will just complete in few minutes..go ahead..NOTE:Execute Each line once..given below

sudo apt-get update
sudo apt-get upgrade

Step2.1:Ok Some chances are there it may not work type this we install the "libmobiledevice-utils" to the system 
sudo apt-get install libimobiledevice-utils

Step3: Final Step! ..Execute in order and then mount your iphone…It Works !!! Post comments…


idevicepair unpair 
idevicepair pair
idevicepair validate

Ok thats done..Beter Do a restart of the system before you connect...Happy Playing....


Nokia unlock for all mobiles-Remove Lock Code

have u ever got a prob like:

upgraded ur NOKIA (ANY Model ) firmware and then u get lock code to be typed:

which u dont remember……

solution is here

1.when you start the phone,it will ask the LOCK CODE:TYPE  112 (hold fn key -to get numerics)

2.cancel call As soon as possible

3.connect to pc


7.install it

8.Choose Virtual USB DEVICE

9.then start the program right extreme-Scan TOOLS

12. in below window click Factory Settings

13.check Full Factory

14.Click RESET

NOTE :Extreme LEFT Bottom it Should Show Done

over restart ur system voila no lock code

if u face problem like ERROR at the Bottom panel-uninstall then install with now as Diamond…instead of Virtual USB Option…..

This is best solution

Drop in for queries