Powering the arduino with a 5V power supply

Thanks Fungus, using an old USB cable is a great tip!

Do you know what happens if I supply voltage to the 5V pin and also have the USB connected to my computer? I'm hoping this will be fine as otherwise I'd need to put a switch on my enclosure to turn off the 5V pin supply.