Both techniques known to sailors and riggers, and Phillip is correct, they work with any kernmantle rope or wire. Neither eliminates need for TriBri1's good diagram of how to end your coil, used for all bow lines on rafts since before time began...
Back to rope: climbers know what you're trying to eliminate is twist. The techniques shown minimize it, but nothing truly eliminates except letting a rope dangle full length over a void. I've often cast my 100' bow line into the river and let it untangle, throw bag ropes even more frequently. Just bear in mind when you coil back up that likely you are introducing - not eliminating - twist. Both techniques minimize it - and there are others!
Edit: In TriBri1's diagram, instead of bringing free end back through the loop over the coils, just feed the coil over both sides of the rope and snug down so that you can pull up and over to free the whole mess. Wish I had a picture!