Skip to content

Commit 10f13f6

Browse files
committed
updating license at the end of each file to be more formal and adding example license in directory.
1 parent 075be01 commit 10f13f6

File tree

46 files changed

+689
-90
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+689
-90
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
> **IMPORTANT NOTE FOR NEW CONTRIBUTORS:**
22
>
3-
> We do **not** yet accept entirely new chapters by everyone. If you would like to start work on one, get in contact with Leios first. If you create a full chapter, including text, and submit it as a pull request it is most likely going to get rejected.
3+
> We do **not** yet accept entirely new chapters by everyone. If you would like to start working on one, please contact James Schloss (Leios) first. If you create a full chapter, including text, and submit it as a pull request it is most likely going to get rejected.
44
>
55
> If you want to help, it is best to write language examples for *existing* chapters. You can also try to find spelling or other mistakes in existing chapters and submit fixes for those.
66
@@ -32,8 +32,9 @@ Thanks for reading and let me know if there's anything wrong or if you want to s
3232
----
3333

3434
## License
35-
The content of the text of this project is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode) with attribution specified at the end of every chapter.
35+
The code examples for this project are licensed under the MIT license (found in [LICENSE.md](https://github.com/algorithm-archivists/algorithm-archive/blob/master/LICENSE.md)).
36+
All text content is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode) with attribution specified at the end of every chapter.
37+
All graphics are licensed under the license stated at the end of every chapter.
3638
If no attribution is specified, please attribute James Schloss.
37-
The code examples are licensed under the MIT license (found in LICENSE.md).
3839

3940
[<p><img class="center" src="contents/cc/CC-BY-SA_icon.svg" /></p>](https://creativecommons.org/licenses/by-sa/4.0/)

contents/backward_euler_method/backward_euler_method.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,20 @@ MORE TO COME!!!
88
<script>
99
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
1010
</script>
11+
1112
## License
12-
The text of this of this chapter is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode) with attribution to James Schloss.
13-
The code examples are licensed under the MIT license (found in LICENSE.md).
13+
14+
##### Code Examples
15+
16+
The code examples are licensed under the MIT license (found in [LICENSE.md](https://github.com/algorithm-archivists/algorithm-archive/blob/master/LICENSE.md)).
17+
18+
##### Text
19+
20+
The text of this chapter was written by [James Schloss](https://github.com/leios) and is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
1421

1522
[<p><img class="center" src="../cc/CC-BY-SA_icon.svg" /></p>](https://creativecommons.org/licenses/by-sa/4.0/)
23+
24+
##### Pull Requests
25+
26+
After initial licensing ([#560](https://github.com/algorithm-archivists/algorithm-archive/pull/560)), the following pull requests have modified the text or graphics of this chapter:
27+
- none

contents/barnes_hut_algorithm/barnes_hut_algorithm.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,20 @@ TODO
1111
<script>
1212
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
1313
</script>
14+
1415
## License
15-
The text of this of this chapter is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode) with attribution to James Schloss.
16-
The code examples are licensed under the MIT license (found in LICENSE.md).
16+
17+
##### Code Examples
18+
19+
The code examples are licensed under the MIT license (found in [LICENSE.md](https://github.com/algorithm-archivists/algorithm-archive/blob/master/LICENSE.md)).
20+
21+
##### Text
22+
23+
The text of this chapter was written by [James Schloss](https://github.com/leios) and is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
1724

1825
[<p><img class="center" src="../cc/CC-BY-SA_icon.svg" /></p>](https://creativecommons.org/licenses/by-sa/4.0/)
26+
27+
##### Pull Requests
28+
29+
After initial licensing ([#560](https://github.com/algorithm-archivists/algorithm-archive/pull/560)), the following pull requests have modified the text or graphics of this chapter:
30+
- none

contents/bitlogic/bitlogic.md

+22-2
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,28 @@ Here is a video describing the contents of this chapter:
143143
<script>
144144
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
145145
</script>
146+
146147
## License
147-
The text of this of this chapter is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode) with attribution to James Schloss.
148-
The code examples are licensed under the MIT license (found in LICENSE.md).
148+
149+
##### Code Examples
150+
151+
The code examples are licensed under the MIT license (found in [LICENSE.md](https://github.com/algorithm-archivists/algorithm-archive/blob/master/LICENSE.md)).
152+
153+
##### Text
154+
155+
The text of this chapter was written by [James Schloss](https://github.com/leios) and is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
149156

150157
[<p><img class="center" src="../cc/CC-BY-SA_icon.svg" /></p>](https://creativecommons.org/licenses/by-sa/4.0/)
158+
159+
##### Images/Graphics
160+
- The image "[ANDgate](res/and.jpg)" was created by [James Schloss](https://github.com/leios) and is licenced under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
161+
- The image "[ORgate](res/or.jpg)" was created by [James Schloss](https://github.com/leios) and is licenced under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
162+
- The image "[XORgate](res/xor.jpg)" was created by [James Schloss](https://github.com/leios) and is licenced under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
163+
- The image "[NOTgate](res/not.jpg)" was created by [James Schloss](https://github.com/leios) and is licenced under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
164+
- The image "[NANDgate](res/nand.jpg)" was created by [James Schloss](https://github.com/leios) and is licenced under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
165+
- The image "[NORgate](res/nor.jpg)" was created by [James Schloss](https://github.com/leios) and is licenced under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
166+
167+
##### Pull Requests
168+
169+
After initial licensing ([#560](https://github.com/algorithm-archivists/algorithm-archive/pull/560)), the following pull requests have modified the text or graphics of this chapter:
170+
- none

contents/bogo_sort/bogo_sort.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,20 @@ We are done here!
143143
<script>
144144
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
145145
</script>
146+
146147
## License
147-
The text of this of this chapter is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode) with attribution to James Schloss.
148-
The code examples are licensed under the MIT license (found in LICENSE.md).
148+
149+
##### Code Examples
150+
151+
The code examples are licensed under the MIT license (found in [LICENSE.md](https://github.com/algorithm-archivists/algorithm-archive/blob/master/LICENSE.md)).
152+
153+
##### Text
154+
155+
The text of this chapter was written by [James Schloss](https://github.com/leios) and is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
149156

150157
[<p><img class="center" src="../cc/CC-BY-SA_icon.svg" /></p>](https://creativecommons.org/licenses/by-sa/4.0/)
158+
159+
##### Pull Requests
160+
161+
After initial licensing ([#560](https://github.com/algorithm-archivists/algorithm-archive/pull/560)), the following pull requests have modified the text or graphics of this chapter:
162+
- none

contents/bubble_sort/bubble_sort.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,20 @@ Trust me, there are plenty of more complicated algorithms that do precisely the
146146
<script>
147147
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
148148
</script>
149+
149150
## License
150-
The text of this of this chapter is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode) with attribution to James Schloss.
151-
The code examples are licensed under the MIT license (found in LICENSE.md).
151+
152+
##### Code Examples
153+
154+
The code examples are licensed under the MIT license (found in [LICENSE.md](https://github.com/algorithm-archivists/algorithm-archive/blob/master/LICENSE.md)).
155+
156+
##### Text
157+
158+
The text of this chapter was written by [James Schloss](https://github.com/leios) and is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
152159

153160
[<p><img class="center" src="../cc/CC-BY-SA_icon.svg" /></p>](https://creativecommons.org/licenses/by-sa/4.0/)
161+
162+
##### Pull Requests
163+
164+
After initial licensing ([#560](https://github.com/algorithm-archivists/algorithm-archive/pull/560)), the following pull requests have modified the text or graphics of this chapter:
165+
- none

contents/cc/README.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The file `license.txt` is an example license with attribution to James Schloss (Leios).
2+
Please modify it with the appropriate attribution before appending to the end of each chapter.
3+
4+
To append this license to the end of all files, execute the following command in the `contents/` directory:
5+
find . -name "*.md" -print | xargs sed -i '$r cc/license.txt'

contents/cc/license.txt

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
## License
3+
4+
##### Code Examples
5+
6+
The code examples are licensed under the MIT license (found in [LICENSE.md](https://github.com/algorithm-archivists/algorithm-archive/blob/master/LICENSE.md)).
7+
8+
##### Text
9+
10+
The text of this chapter was written by [James Schloss](https://github.com/leios) and is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
11+
12+
[<p><img class="center" src="../cc/CC-BY-SA_icon.svg" /></p>](https://creativecommons.org/licenses/by-sa/4.0/)
13+
14+
##### Images/Graphics
15+
- The image "[example Image](res/example.png)" was created by [James Schloss](https://github.com/leios) and is licenced under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
16+
17+
##### Pull Requests
18+
19+
After initial licensing ([#560](https://github.com/algorithm-archivists/algorithm-archive/pull/560)), the following pull requests have modified the text or graphics of this chapter:
20+
- none

contents/chans_algorithm/chans_algorithm.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,20 @@ COMING SOON!
55
<script>
66
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
77
</script>
8+
89
## License
9-
The text of this of this chapter is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode) with attribution to James Schloss.
10-
The code examples are licensed under the MIT license (found in LICENSE.md).
10+
11+
##### Code Examples
12+
13+
The code examples are licensed under the MIT license (found in [LICENSE.md](https://github.com/algorithm-archivists/algorithm-archive/blob/master/LICENSE.md)).
14+
15+
##### Text
16+
17+
The text of this chapter was written by [James Schloss](https://github.com/leios) and is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
1118

1219
[<p><img class="center" src="../cc/CC-BY-SA_icon.svg" /></p>](https://creativecommons.org/licenses/by-sa/4.0/)
20+
21+
##### Pull Requests
22+
23+
After initial licensing ([#560](https://github.com/algorithm-archivists/algorithm-archive/pull/560)), the following pull requests have modified the text or graphics of this chapter:
24+
- none

contents/choosing_a_language/choosing_a_language.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,20 @@ For now, let's briefly list all the languages we will eventually cover in the ar
6868
We will obviously add more languages with time.
6969
This is simply a quick list.
7070
Please let me know which languages you want to cover and I'll add them here!
71+
7172
## License
72-
The text of this of this chapter is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode) with attribution to James Schloss.
73-
The code examples are licensed under the MIT license (found in LICENSE.md).
73+
74+
##### Code Examples
75+
76+
The code examples are licensed under the MIT license (found in [LICENSE.md](https://github.com/algorithm-archivists/algorithm-archive/blob/master/LICENSE.md)).
77+
78+
##### Text
79+
80+
The text of this chapter was written by [James Schloss](https://github.com/leios) and is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
7481

7582
[<p><img class="center" src="../cc/CC-BY-SA_icon.svg" /></p>](https://creativecommons.org/licenses/by-sa/4.0/)
83+
84+
##### Pull Requests
85+
86+
After initial licensing ([#560](https://github.com/algorithm-archivists/algorithm-archive/pull/560)), the following pull requests have modified the text or graphics of this chapter:
87+
- none

contents/compiled_languages/compiled_languages.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,20 @@ Done.
3030

3131
Again, there is nothing wrong with using an IDE, they are incredibly useful for large software projects and often have debugging in-built, which is a huge benefit!
3232
I just find it easier to avoid GUI's whenever possible.
33+
3334
## License
34-
The text of this of this chapter is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode) with attribution to James Schloss.
35-
The code examples are licensed under the MIT license (found in LICENSE.md).
35+
36+
##### Code Examples
37+
38+
The code examples are licensed under the MIT license (found in [LICENSE.md](https://github.com/algorithm-archivists/algorithm-archive/blob/master/LICENSE.md)).
39+
40+
##### Text
41+
42+
The text of this chapter was written by [James Schloss](https://github.com/leios) and is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
3643

3744
[<p><img class="center" src="../cc/CC-BY-SA_icon.svg" /></p>](https://creativecommons.org/licenses/by-sa/4.0/)
45+
46+
##### Pull Requests
47+
48+
After initial licensing ([#560](https://github.com/algorithm-archivists/algorithm-archive/pull/560)), the following pull requests have modified the text or graphics of this chapter:
49+
- none

contents/computational_geometry/computational_geometry.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,20 @@ We will add more to this section as the Archive evolves, so let me know of any a
77
<script>
88
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
99
</script>
10+
1011
## License
11-
The text of this of this chapter is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode) with attribution to James Schloss.
12-
The code examples are licensed under the MIT license (found in LICENSE.md).
12+
13+
##### Code Examples
14+
15+
The code examples are licensed under the MIT license (found in [LICENSE.md](https://github.com/algorithm-archivists/algorithm-archive/blob/master/LICENSE.md)).
16+
17+
##### Text
18+
19+
The text of this chapter was written by [James Schloss](https://github.com/leios) and is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
1320

1421
[<p><img class="center" src="../cc/CC-BY-SA_icon.svg" /></p>](https://creativecommons.org/licenses/by-sa/4.0/)
22+
23+
##### Pull Requests
24+
25+
After initial licensing ([#560](https://github.com/algorithm-archivists/algorithm-archive/pull/560)), the following pull requests have modified the text or graphics of this chapter:
26+
- none

contents/convolutions/convolutions.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,20 @@ Remember that each element of the frequency-space array is a different waveform
114114
<script>
115115
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
116116
</script>
117+
117118
## License
118-
The text of this of this chapter is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode) with attribution to James Schloss.
119-
The code examples are licensed under the MIT license (found in LICENSE.md).
119+
120+
##### Code Examples
121+
122+
The code examples are licensed under the MIT license (found in [LICENSE.md](https://github.com/algorithm-archivists/algorithm-archive/blob/master/LICENSE.md)).
123+
124+
##### Text
125+
126+
The text of this chapter was written by [James Schloss](https://github.com/leios) and is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
120127

121128
[<p><img class="center" src="../cc/CC-BY-SA_icon.svg" /></p>](https://creativecommons.org/licenses/by-sa/4.0/)
129+
130+
##### Pull Requests
131+
132+
After initial licensing ([#560](https://github.com/algorithm-archivists/algorithm-archive/pull/560)), the following pull requests have modified the text or graphics of this chapter:
133+
- none

contents/cooley_tukey/cooley_tukey.md

+21-2
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,27 @@ Some rather impressive scratch code was submitted by Jie and can be found here:
242242
<script>
243243
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
244244
</script>
245+
245246
## License
246-
The text of this of this chapter is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode) with attribution to James Schloss.
247-
The code examples are licensed under the MIT license (found in LICENSE.md).
247+
248+
##### Code Examples
249+
250+
The code examples are licensed under the MIT license (found in [LICENSE.md](https://github.com/algorithm-archivists/algorithm-archive/blob/master/LICENSE.md)).
251+
252+
##### Text
253+
254+
The text of this chapter was written by [James Schloss](https://github.com/leios) and is licensed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
248255

249256
[<p><img class="center" src="../cc/CC-BY-SA_icon.svg" /></p>](https://creativecommons.org/licenses/by-sa/4.0/)
257+
258+
##### Images/Graphics
259+
- The image "[FTexample](res/FT_example.png)" was created by [James Schloss](https://github.com/leios) and is licenced under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
260+
- The image "[radix2positive](res/radix-2screen_positive.jpg)" was created by [James Schloss](https://github.com/leios) and is licenced under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
261+
- The image "[radix2](res/radix-2screen.jpg)" was created by [James Schloss](https://github.com/leios) and is licenced under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
262+
- The image "[radix8](res/radix-8_screen.jpg)" was created by [James Schloss](https://github.com/leios) and is licenced under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/legalcode).
263+
- The image "[DIT-FFT-butterfly](https://en.wikipedia.org/wiki/Butterfly_diagram#/media/File:DIT-FFT-butterfly.png)" was created by Virens and is licenced under the [Creative Commons Attribution 3.0 Unported License](https://creativecommons.org/licenses/by/3.0/).
264+
265+
##### Pull Requests
266+
267+
After initial licensing ([#560](https://github.com/algorithm-archivists/algorithm-archive/pull/560)), the following pull requests have modified the text or graphics of this chapter:
268+
- none

0 commit comments

Comments
 (0)