Skip to main content

Questions tagged [code-snippets]

Filter by
Sorted by
Tagged with
6 votes
2 answers
4k views

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 ...
sixtytrees's user avatar
0 votes
1 answer
510 views

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 (...
Adam Demotiv's user avatar
1 vote
1 answer
650 views

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 ...
JustcallmeDrago's user avatar
5 votes
3 answers
4k views

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 ...
alhoseany's user avatar
  • 161
2 votes
3 answers
176 views

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 ...
dsimcha's user avatar
  • 17.3k
4 votes
5 answers
568 views

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 ...
Shane's user avatar
  • 157
4 votes
3 answers
2k views

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 ...
Ruel's user avatar
  • 181