I added an electrical outlet box to a home-built wooden counter, using a standard double-plug outlet, a surface-mount, single-gang box, and an extension cord.

Note: I am not an Electrician, so this probably isn’t up to electrical code. Be careful. Don’t plug anything in until it’s all safely sealed up in the junction box. Make sure to get a beefy extension cord. As a good rule of thumb, don’t plug anything into an outlet like this that you wouldn’t feel comfortable plugging into the original extension cord.

This project is also documented at:
My University Webpage
My Flickr Photoset

By: mat_the_w

More: continued here