To begin, gather the following supplies:
1 USB extender cable (Staples or RadioShack)
1 Piezoelectric Buzzer (Found at RadioShack)
1 LED of choice, I wouldn't use them because they can't take as much voltage, unless you get some with very good resistors, which I have plenty of, but may be harder to find. In the following steps, just substitute an LED in for the buzzer, and it will all make sense.
Some solder (Your garage, or RadioShack)
A soldering iron (Your garage, or RadioShack)
Roll of electrical tape (Get 3M, high quality and well made. Your garage, or a hardware store)
5 minutes (Find some somewhere)
Step 1: Cut and Strip the Cable
Move your cutting implement down to the other end (female), and measure 1.5 inches from the base of the USB plug, and make a cut.
Then, measure approx .5 inches from the end of the cable, and cut/strip off the insulation, until you can see the red, black, green, and white wires. Cut off all excess rubbish on the cable.
Next, CUT OFF the green and white wires. Those are useless, as they are meant for data, not for power.
Now that those have been removed, strip the red and black wires, so they are exposed.
Take the buzzer, and cut the wires to a desired length, then strip them as well.
Step 2: Combining the Components
Next, wrap electrical tape around one exposed wire, to insulate it properly. Then, run the electrical tape around the already taped wire, and the untaped wire, to combine them together snugly.
Step 3: Final Touches
Thanks for reading this, and I hope this device will one day save your computer! (haha)