Panic! The GFI outlet on my patio failed... The apartment complex will fix it for free in a few days but in the meantime I have my air pump plugged into an outlet inside my home and going through the sliding door space to my hydroponic garden: https://www.instructables.com/id/EQBFMQANUAERV7BV0D/ .
By freak (and by freak I mean screw up), I closed the door too hard and it severed/shorted the wiring on my pump. The breaker tripped but the cord was damaged. I used this opportunity to extend the cable and add a switch (so I wouldn't have to buy an extension cable when I relocate my pump closer to the garden).
This is my quick and dirty -- but effective - wiring repair... Saved me $12 (pump=$15) - well $22 if you count the extension cable :P
Step 1: Getting Started
Grab your tools and supplies.
A wire repair cord costs $3... while this little extension cord costs $1.25. So, I also got SP rotary switch for $1.50....
Go ahead and cut the bad wiring off - then cut the female portion of the extension cord off.
Step 2: Strip and Solder
Strip a section of wiring... If whatever you're repairing has a ribbed side and a smooth side - be sure to match each side of the wire to its counterpart. This is how polarity is handled in the ac electrician world :P
Glob on a bit of solder. If you have heat shrink (and I do not), don't forget to throw some on first. Otherwise, solder away - I know messy, but this is a hack - not something to be nice.
Step 3: Enter the Dirty
I was caught off guard... No electrical tape... no Duct Tape!!!
Solution, extra liquid gasket material. This is a fast setting stuff that dries pretty hard. Goop on and let it cure....
As for the switch, follow the directions on the box ;)