Resoldering a headphone cable
Almost every broken pair of wired headphones has the same fault: the wire fatigues right where it enters the plug. Cut it back, strip, tin, solder, heat-shrink.
The enamel on the tiny wires needs to be burned off with the iron first, or the solder won't take.