"Tiny Dancer" is the name given to (and used when spoken about in public or otherwise) the 1/2 erection that can be grabbed at the base and twirled around, thus becoming a "tiny dancer."
"So who wants to go play frisbee?"
"I do, but wait until my Tiny Dancer goes away."
The Miner's Code essentially means going for a period of time without masturbating. The term "mining" refers to masturbation, or more specifically, ejaculation for its similarities to mining for a precious stone or metal.
"Hey Marc, I hear you've broken the Miner's Code last night?"
"It's true, I did break The Code."