You are free to copy and use commercially code from any Stack Exchange answers I provide. I waive both the Attribution and Share Alike terms of the CC BY-SA 2.5 license of Stack Exchange content that I provide.