I link my Github to my resume a number of times (username at the top, URLs for relevant projects). Out of the interviews I've landed, one company has expressed a basic familiarity with my code.
There are alternative explanations for this: I haven't been coding for long, I have a non-CS background, and its possible (likely, even!) that my code sucks. If my code were atrocious, though, these companies wouldn't ask me to interview! Right?
(Feel free to check out my Github in my profile and confirm/deny this. Don't worry, I have thick skin. :P)
Anyway, just an observation on posting your code publicly.
Still, as part of a 2-minute research on a candidate, having LinkedIn and Github appearing first, instead of, say, a World Of Warcraft forum and your MySpace page, most likely help. (Not saying that this is necessarily fair, though.)