Pages

Posts

In a pdb session, just type:import rlcompleter
pdb.Pdb.complete=rlcompleter.Completer(locals()).complete
But if you use, ipdb, you dont need to import rlcompleter. Thanks to scooby that pointed this out

So i had an old version of XCode on my computer, and i tried upgrading it with the new mac app store, and it didn’t work. I wanted to uninstall it and then reinstall it using the app store, but they of course don’t have an option to UNINSTALL apps using the app storeGoogle tells me to just delete the app and then you can click ‘install’ again on the purchases tab in the app store, but since this is xcode, you can’t just drag an application to the trash. You have to run a command using Terminal. So, open terminal and type:

sudo /Developer/Library/uninstall-devtools –mode=all

The directory MIGHT be different, but for me it installed it to /Developer. Anyway, it should list all the packages and then say it deleted them. I restarted my mac just to be safe.THEN, if it STILL says that xcode is installed, you need to delete the installer from /Applications (different from the Applications folder in your home folder). Go Macintosh HD/Applications and there should be a file called “Install Xcode…

Open "System Preferences"Click on "Sharing" iconEdit the field "Computer Name" with your new hostnameActually this is very useful, because now you can see your device listed in the DHCP list at the router configuration.