Questions tagged [code-snippets]

For questions about small, self-contained pieces of code within the context of open projects.

Filter by
Sorted by
Tagged with
1
vote
1answer
21 views

Can I use and distrubute code posted on JSFiddle

I'd like to use code posted on JSFiddle in a project but do I have permission to do so? I read the terms of service but they do not mention anything about licensing the code they host. Instead its ...
5
votes
1answer
59 views

Giving credit for code snippets

I'm not sure if what I'm about to ask is a daft question, but here goes, I'm currently developing a website of my own which I'm looking to launch as a possible business in the new year, most of the ...
8
votes
1answer
2k views

How to mark a copied Apache v2 piece of code?

As stated in the tile, I want to know how should one mark code(functions or pieces of code smaller than 50% of the source file) copied from non copyleft sources (e.g Apache) ?
3
votes
1answer
175 views

What is defined as trivial code when licensing a project

I am creating a project I am thinking about open sourcing but I am concerned about the licensing issue of what exactly is trivial code. I am concerned because if I did not know how to do something I ...
14
votes
3answers
3k views

Is it OK to remove the license terms for a code snippet?

A while ago, I encountered an edit suggestion on Stack Overflow. The OP had posted a snippet that was under the GPL, and included the GPL in the snippet. The editor tried to remove the GPL as it was ...