Java Regular Expressions

June 24th, 2011 No comments

Here is a nice guide for regular expressions in Java:

http://www.vogella.de/articles/JavaRegularExpressions/article.html

Categories: Java Tags:

Open shared calender in Exchange webmail 2010

June 9th, 2011 No comments

To open a shared calender you need to have access and the following commands:

https://webmail.iha.dk/owa/<mail address of the calender owner>/?cmd=contents&module=calendar

 

Views Links
Calendar View – Default – Daily https://<server name>/owa/<SMTP address>/?cmd=contents&module=calendar
Calendar View – Daily https://<server name>/owa/<SMTP address>/?cmd=contents&f=Calendar&view=Daily
Calendar View – Weekly https://<server name>/owa/<SMTP address>/?cmd=contents&f=Calendar&view=Weekly
Calendar View – Daily – Specific Date by specifying Date, Month and Year 

https://<server name>/owa/<SMTP address>/?cmd=contents&f=Calendar&view=Daily&d=3&m=7&y=2009 

Where…

d=[1-31]
m=[1-12]
y=[four digit year]

See more at: http://exchangeshare.wordpress.com/2009/06/15/how-to-open-shared-calendar-in-owa/

Categories: Uncategorized Tags: , ,

Assign new uuid to Virtual Box Harddrive

June 2nd, 2011 No comments

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

Categories: Tools Tags:

Google Calender sync option not available on Android

April 10th, 2011 No comments

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:

Categories: Android Tags:

Eclipse arguments

March 28th, 2011 No comments

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
Categories: Uncategorized Tags:

Windows 7 Share internet to phone or others

December 5th, 2010 No comments

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/

Categories: Tools, Windows 7 Tags:

Findbugs plugin for Eclipse

November 23rd, 2010 No comments

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

Categories: Eclipse Tags:

Debug Eclipse SWT: SWTError: No more handles

August 11th, 2010 No comments

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

Categories: Eclipse Tags:

Delete locked files in Windows

August 3rd, 2010 No comments

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

Categories: Windows 7, Windows Vista Tags:

Symbolic links in Windows

August 2nd, 2010 No comments

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

Categories: Tools, Windows 7, Windows Vista Tags: