Luckily our neighbor still had the electricity running so I made a short male-to-male cord to connect a normal extension cord between our two houses. I knew what I was doing but I was definitely not comfortable with such a solution!
I had no idea you could actually buy such cords, I thought it would obviously be outlawed considering you can easily kill yourself if you're not careful... iirc I destroyed the cord as soon as it had served its purpose because it's a really bad idea to have such a thing at home!