<p>Okay, so here's the thing: I've been wrestling with generating code snippets lately. Copying and pasting from Stack Overflow works... sometimes. Bu...