Assign new uuid to Virtual Box Harddrive

I recently had to copy a  VirtualBox HD image and didn’t use the build-in support which resulted in problems with UUID’s not matching or being duplicates of each other. To solve this I used the following command to generate and reassign a new UUID to my disk copies.

VBoxManager.exe internalcommands sethduuid image.vdi

for newer versions:

VBoxManage.exe internalcommands sethduuid image.vdi

Google Calender sync option not available on Android

I recently had the problem with a HTC Desire where a Google account was added but only mail and contacts could be selected for synchronization, there was not abvious way to fix it and none of the clear your google account didnt work for me. The alternative to clearing the Google account was to do a factory defaults on the phone which wasn’t an option.

So the solution was to create and add a second Google account. As soon as it was added the first account fixed it self – the calender suddenly appeared. Then I could just delete and remove the second newly created account from the phone again.

Use full links:

Eclipse arguments

Here is a list of arguments Eclipse, including both command line arguments and properties:

http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_actions_touchpoints.html

e.g: Changing the default workspace path through a property. If the property is set in the VM then Eclipse will detect that during load:

-Dosgi.instance.area.default=@user.home/Documents/DestecsWorkspace

Windows 7 Share internet to phone or others

This nice small tool for windows 7 can do the job. It creates a new access point like a normal router which can be used by any wifi device. The tool also allows sharing through a wifi access point while it self is connected to a wifi router.

http://www.connectify.me/

Findbugs plugin for Eclipse

Here is a nice plug-in to analysis Java code in Eclipse. It can detect known bad practises and known or possible null pointers, synchronization problems etc.

Eclipse update site: http://findbugs.cs.umd.edu/eclipse

Debug Eclipse SWT: SWTError: No more handles

To debug the SWT Framework a tool called Sleak can be used, it is provided by SWT itself.

Link to a guide about Sleak 

The tool can be found at: http://www.eclipse.org/swt/tools.php

Delete locked files in Windows

If you can’t delete a file in windows because it is locked this tool can help you unlock it: Unlocker. Link

Symbolic links in Windows

To make a symbolic link in Windows 7 use the “mklink” command.

Creates a symbolic link.

MKLINK [[/D] | [/H] | [/J]] Link Target

        /D      Creates a directory symbolic link.  Default is a file symbolic link.

        /H      Creates a hard link instead of a symbolic link.

        /J      Creates a Directory Junction.

        Link    specifies the new symbolic link name.

        Target  specifies the path (relative or absolute) that the new link refers to.

An example is given at this site using-symlinks-in-windows-vista

Windows 7, Windowvs Live Messenger Stopped working

If you cannot even start Messenger without getting the “Stopped working” message box try to reset the settings in regedit:

HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger

Delete the value of the keys:

  • AppCompatCanary
  • AppSettings

This should make messenger reset the values and start up normally.

 

Microsoft suggests to do this as well:

link

Delete key UTL type REG_SZ with your email in: HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger\PerPassportSettings\<Hash Number>

After sign in remember to change your display image.

Recover lost Windows password

I found this tool at a Thinkpad wiki: Windows Password unlocker: http://www.thinkwiki.org/wiki/Maintenance#Cleaning_the_Interior

Top