Twitter Updates

Friday, 8 May 2009

Microsoft Word Changing Case

Changing the case of text in Microsoft Word is no longer done in the fomatting pane. It has its own 'Change Case' menu item.

Select/Highlight text then select Format -> Change Case


Select from these 5 options. Sentences case is useful if you accidentally typed everything upper case


Firefox shorcuts Tips and Tricks

If you use Subversion or other web based tools you might have cgi scripts/web pages that take the url of another page as an argument, this is a nice trick for easily entering the the new page with the other url as a refference.

Create a new shortcut in firefox.
Right click and select properties.
Set Name to What ever you would like.
Set Location to be:
javascript:location = ''+escape(location); void 0

goto then select your new shortcut then you will load

Tip Originated from here:

Wednesday, 6 May 2009

Convert sections of Web pages to images

If you find a need to convert a web page into an image, say saving a section of a google map, Abduction is a good plugin for Firefox 3.

Once installed, just right click on the web page choose 'Save Page As Image'. A preview window then opens which lets you select which part gets included in the image, where and what image format.

Tuesday, 5 May 2009

Java delete non-empty folders

The Java File.delete(); method only works on empty folders to delete a folder and its contents recursivly do some thing like:

   public static void recDelete(File folder) {
if(folder.exists()) {
if(folder.isDirectory()) {
File[] files = folder.listFiles();
for(int i=0; i < files.length; i++) {
File curFile = files[i];
// call to delete the current file/folder
//If a folder Deleted all contents
//If a File Jump straight here