Jul
09
2009
0

Serving Google KML and KMZ files from IIS

By default, Microsoft IIS only supports a small number of files. This is what you need to support KML and KMZ files in IIS.

The MIME type details are:

Extension: .kml
MIME type: application/vnd.google-earth.kml+xml

Extension: .kmz
MIME type: application/vnd.google-earth.kmz

If you need to know what to do with these mime types, I have a step by step guide for setting up RSS files at http://www.john.geek.nz/index.php/2009/06/supporting-rss-files-in-iis/ – Just use the different extensions and mime types.

Written by John Burns in: General Randomness,PC Tips |
Jul
06
2009
0

Moon Shot

moon_shot_double_exposure

Article reads:
St Petersburg Independent – Friday, July 4 1969
[image] Credit: AP

Moon Shot
This double exposure of the moon and the Apollo 11 moon rocket was made after the service gantry was moved away during a countdown demonstration test. The rocket is scheduled to be launched from Cape Kennedy July 16, with astronauts Neil A. Armstrong, Michael Collins, and Edward E. Aldrin Jr. in an attempt for a lunar landing and walk on the surface.

Join me on twitter at www.twitter.com/ApolloEcho to relive the 40th Anniversary of the moon landing, 40 years late!

Written by John Burns in: Astronomy |
Jul
05
2009
0

5 July 1969 – They'll grab more Moon

The Age – 5th July 1969
America’s Apollo 11 astronauts will bring back to Earth double the quantity of Moon specimens than was earlier planned, scientists announced in Houston today.

19690705_More-moon

Join me on twitter at www.twitter.com/ApolloEcho to relive the 40th Anniversary of the moon landing, 40 years late!

Written by John Burns in: Astronomy |
Jun
16
2009
0

Erasing a drive that shows as "Healthy (GPT Protective Partition)"

I’ve recently pulled a drive out of Windows Server 2003 and tried to use it in Windows XP.

When connected, it shows up as “Healthy (GPT Protective Partition)”. I can’t assign a drive letter to it, format it or even repartition it.

Firstly, if this had data on it, you’ll need to go back to Windows 2003 or use a Linux Boot CD to extract it.

If all you’re trying to do is format it for use in Windows XP, read on….
(more…)

Written by John Burns in: PC Tips |
Jun
15
2009
1

Supporting RSS Files in IIS

Microsoft IIS does not support RSS files by default. Here is a step by step guid eto enabling it.

If you’re impatient, already know your way around IIS and just want the MIME type details, they are:
Extension: .rss
MIME type: application/rss+xml

Otherwise, if you need more information, read on…..
(more…)

Written by John Burns in: PC Tips |
Jun
15
2009
0

Sandisk Cruzer – Making them work like a standard USB stick

I just brought an 8GB Sandisk Cruzer USB stick. Unfortunately whenever you plug it in, it comes up as both an emulated CD-ROM drive and the removable disk. the emulated disk comes up as “U3 System” and it tries to run backup/sync software called U3 Launchpad.

Some people enjoy these extra “benefits”, but I’m not a big fan of the bundled software and just want 8GB of storage space I can call home.

If you want to remove the built in software and just use it as a memory stick, you’ll want to use the U3 LaunchPad Remover from Sandisks’ Website. The link to it is: http://www.sandisk.com/driverdownload/download.asp?driverId=2

Written by John Burns in: General Randomness,Mac OS X Tips,PC Tips |
Jun
14
2009
0

We're back online!

I had to do some maintenance on my server over the weekend as one of the hard drives in the RAID array failed. It should have been a simple and straightforward task however it turned out to be the complete opposite.
Although only one of the drives had failed, I replaced both of them with newer, faster and larger capacity drives. I replaced them one at a time and synchronised the array in between each swap out.

Within 6 hours, the two drives were replaced and the server was technically ready to go, but the virtual disk was still the size of the older, smaller drives. No problem, I’ll just select the option to grow its capacity…. hmm, no option for that. No worries, I’ll add a second virtual disk which will use up the space capacity, hmm, nothing there either.

It turns out, as far as I (and google) could work out, there is no way to increase the capacity of the virtual disk.

I proceeded to spend the next 7-8 hours (until 5am Sunday) deleting the virtual disk, creating a new one and cloning the data across. First attempt at cloning the entire disk ended in failure as it must have deleted identification information telling the RAID controller that the disk was part of a RAID array. I decided the best option was to clone the individual partitions across. This also didn’t work.

I ended up spending the rest of Sunday morning reinstalling the operating system from scratch, just in the name of doing things properly and doubling the total storage capacity of the server.

I’m hoping these drives will continue running for another 3-4 years.

In the meantime, if you encounter any issues accessing this website, please contact me as I may have missed a setting somewhere.

Written by John Burns in: General Randomness |
May
10
2009
1

Are you human?

I was recently using stackoverflow.com to solve a technical problem. On the site, if you make too many edits or changes in a set amount of time, the site decides you could be a robot. If this happens, you’re asked to complete a CAPTCHA (typing out the text from an image) to confirm that yes, you are human.

Here’s a screengrab of the page:

captcha

If you’re not sure why this was worth posting. Perhaps you should check out these links:
http://www.youtube.com/watch?v=0bgY8lQMFy4
http://en.wikipedia.org/wiki/Flight_of_the_Conchords_(TV_series)

Written by John Burns in: General Randomness |
May
05
2009
0

Testing websites with multiple versions of IE

One of the most annoying tasks I have to do when I’m developing a website is to test it in the many different browsers and in some cases, multiple versions of each.

Internet Explorer is the most difficult to test. Windows typically only allows one version of IE to be installed and no two versions will render a page the same. Add to this the frustration that a huge percentage of users still use Internet Explorer version 6 (Come on people, IE6 will be 8 years old this August!) and you’ve got a real problem on your hands.

Until now….
(more…)

Written by John Burns in: CSS tips,PC Tips |
Apr
25
2009
0

Deleting files based on their Date

If you are perfoming regular automated backups (like you should), You’ll soon find you are running out of space and need to start deleting old backups.

Here is a really simple way to delete files that are more than x days old.

It can easily be worked into a batch file to be run at the same time as an automated backup.


Forfiles -p c:\path -s -m *.* -d -14 -c "cmd /c del /q @path"

Change the *.* to a more specific file mask (eg: backup*.zip). The 14 specifies files older than 14 days, so change this to suit your purposes.

If you want to check what files will be deleted, this will display them:

Forfiles -p c:\path -s -m *.* -d -14 -c "Cmd /C Echo 0x22@Path\@File0x22"

Written by John Burns in: General Randomness,PC Tips |