Hacker News new | ask | show | jobs
by lambda 5973 days ago
You can relicense your own contributions as you choose, as long as it's at least as permissive as cc-by-sa or you dual license your code under cc-by-sa. Just mention your license in your user info. I license all my code samples under the WTFPLv2.

Also, it doesn't matter for most code sample on there. Most are not anything you would want to copy (too specific, or too general, to apply directly to your problem), or short enough that copying them would be considered fair use.