This is what I have learned:
I write articles about things I think are interesting on my website.
I post complete code solutions (Cocos2d-x, Cocos2d) for things I write articles about here. If I post it, feel free to use it. Or abuse it. It's all on you, baby!
My opinions do not necessarily reflect the opinions of my clients or employers.