You can easily make a mag-safe like connector using pogopins or spring contacts and a few magnets next to the connections.
I wouldn't recommend using magnets directly as a conductor as the instructible showed. Over time you may find your electrical connection isn't between two flat nickel surfaces, but across a few grains of iron dust.
Millmax sells pogo pins both raw and inside a 0.1" header type housing:
http://goo.gl/dpK0r
Samtec sells spring and pogo pin style connectors.
http://goo.gl/q6UFn
All are available in small quantities from multiple distributors.