Questions tagged [code-snippets]
The code-snippets tag has no usage guidance.
7
questions
5
votes
2answers
2k views
How to efficiently store code snippets?
I've noticed that a lot of my work follows this pattern:
Decide that I need to add a behavior (say, align table columns right)
Recall that I did it few months ago on a different project, try to ...
0
votes
1answer
445 views
Snippets (based on MIT licence) from snippets services
I have question about MIT licence code sources
Can I publish code snippets [MIT licence] from site like bootsnipp to my blog?
Do I have to include source link to site where I have found that snippet (...
1
vote
1answer
550 views
Copyrights concerning code snippets and larger amounts of code [closed]
I am designing a public code repository. Users will be allowed to post and edit whatever amount of code they want, from code snippets to entire multi-file projects. I have a few major legal concerns ...
5
votes
3answers
3k views
What is your suggestion to write clean and well organized php code?
I am a php beginner coder.
I always find myself in a mess when I try to alter or add something to my scripts. Because they are not well organized.
So, I want to learn how to organize my code, so it ...
2
votes
3answers
153 views
What are some precedents on how substantial a snippet must be to be copyrightable? [duplicate]
I occasionally worry that when I borrow snippets of code from websites, etc. there's at least the theoretical possibility that this will be copyright infringement. However, small pieces of code to ...
4
votes
5answers
529 views
How do I let programmers know something useful?
Quite often I go through pain to discover how to do something useful, in this case how to get PHP running on Google App Engine without the 'resin.jar too big' problem, but I have nowhere to let people ...
5
votes
3answers
1k views
GPL Notice on Snippets
Is it ok to put a GPL notice inside a small script or a snippet?
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as ...