How to make an extension cord?

I particularly hate this situation where you can’t take advantage of your digital gadgets, as well…