Exercise caution around any exposed electrical wires, however,
your risk of electrical shock is greatly decreased due to the continuous power interruptions.
Even at peak the current is weak so you would only get a bit of a buzz anyway and well worth the risk if you need to "borrow" some electricity from your neighbor.
Any tape works well to make a connection, electrical tape, scotch tape, masking tape, police tape.
Really a twist tie is fine too.