Blog Code Under Open Source License

Have you ever found a code snippet on a blog or some other website that helped you out? One you just wanted to copy into a software project you were working on. Unfortunately, quite often the code on that website isn’t licensed for someone to take and use in their own software projects.

It may not seem like a big deal to take that code snippets and use them anyway. The problems starts to show up when you’re at a company who is looking to be acquired or if your at a company that’s concerned with compliance. Companies like that bring in tools that scan code looking for license issues.

Then there is the ethical angle. Taking code you don’t have permission to use and using it anyway is an ethical predicament.

So, this blog is going to license the code snippets here under an open source license. Specifically, the MIT and Apache 2. They are noted in the footer.

It would be great if other blogs and sites licensed the code snippets they want to share using open source licenses to remove any issues.

Note: I am not a lawyer. This is not legal advice.