Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
update licence
Browse files Browse the repository at this point in the history
  • Loading branch information
fbkarsdorp committed Aug 3, 2014
1 parent 0be77d9 commit 759d4ce
Show file tree
Hide file tree
Showing 8 changed files with 207 additions and 607 deletions.
68 changes: 32 additions & 36 deletions answerbook/Chapter 1 - Getting started.ipynb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"metadata": {
"name": "Chapter 1 - Getting started"
"name": "",
"signature": "sha256:83a720ca76130164ef12d70452a1b7ce77902a0227df77bb8b63536c2ac7f711"
},
"nbformat": 3,
"nbformat_minor": 0,
Expand Down Expand Up @@ -2114,7 +2115,7 @@
"input": [
"from IPython.core.display import HTML\n",
"def css_styling():\n",
" styles = open(\"styles/custom.css\", \"r\").read()\n",
" styles = open(\"../styles/custom.css\", \"r\").read()\n",
" return HTML(styles)\n",
"css_styling()"
],
Expand All @@ -2123,53 +2124,42 @@
"outputs": [
{
"html": [
"/*\n",
"Placeholder for custom user CSS\n",
"\n",
"mainly to be overridden in profile/static/custom/custom.css\n",
"\n",
"This will always be an empty file in IPython\n",
"*/\n",
"<style>\n",
" @font-face {\n",
" font-family: \"Computer Modern\";\n",
" src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunss.otf');\n",
" }\n",
" div.cell {\n",
" @import url(http://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,700,700italic);\n",
"\n",
" div.cell{\n",
" font-family:'roboto','helvetica','sans';\n",
" color:#444;\n",
" width:800px;\n",
" margin-left:auto;\n",
" margin-left:16% !important;\n",
" margin-right:auto;\n",
" }\n",
" div.cell, .input.hbox {\n",
" display:block;\n",
"}\n",
" h1 {\n",
" font-family: \"Charis SIL\", Palatino, serif;\n",
" }\n",
" h4{\n",
" margin-top:12px;\n",
" margin-bottom: 3px;\n",
" }\n",
"\n",
" div.text_cell_render{\n",
" font-family: Computer Modern, \"Helvetica Neue\", Arial, Helvetica, Geneva, sans-serif;\n",
" font-family: 'roboto','helvetica','sans';\n",
" line-height: 145%;\n",
" font-size: 120%;\n",
" color:#444;\n",
" width:800px;\n",
" margin-left:auto;\n",
" margin-right:auto;\n",
" }\n",
" .CodeMirror{\n",
" font-family: \"Source Code Pro\", source-code-pro,Consolas, monospace;\n",
" font-family: \"Menlo\", source-code-pro,Consolas, monospace;\n",
" }\n",
" .prompt{\n",
" display: None;\n",
" }\n",
" .text_cell_render h5 {\n",
" font-weight: 300;\n",
" font-size: 16pt;\n",
" color: #4057A1;\n",
" font-style: italic;\n",
" margin-bottom: .5em;\n",
" margin-top: 0.5em;\n",
" display: block;\n",
" }\n",
" \n",
" } \n",
" .warning{\n",
" color: rgb( 240, 20, 20 )\n",
" }\n",
" } \n",
"</style>\n",
"<script>\n",
" MathJax.Hub.Config({\n",
Expand All @@ -2187,10 +2177,11 @@
" });\n",
"</script>"
],
"metadata": {},
"output_type": "pyout",
"prompt_number": 1,
"text": [
"<IPython.core.display.HTML at 0x2dfa150>"
"<IPython.core.display.HTML at 0x102c9a128>"
]
}
],
Expand All @@ -2200,9 +2191,14 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"by Folgert Karsdorp (Meertens Instituut) en Maarten van Gompel (Radboud University Nijmegen)\n",
"\n",
"Licensed under the [GNU Free Documentation License](http://www.gnu.org/copyleft/fdl.html)"
"---"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<p><small><a rel=\"license\" href=\"http://creativecommons.org/licenses/by-sa/4.0/\"><img alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-sa/4.0/88x31.png\" /></a><br /><span xmlns:dct=\"http://purl.org/dc/terms/\" property=\"dct:title\">Python Programming for the Humanities</span> by <a xmlns:cc=\"http://creativecommons.org/ns#\" href=\"http://fbkarsdorp.github.io/python-course\" property=\"cc:attributionName\" rel=\"cc:attributionURL\">http://fbkarsdorp.github.io/python-course</a> is licensed under a <a rel=\"license\" href=\"http://creativecommons.org/licenses/by-sa/4.0/\">Creative Commons Attribution-ShareAlike 4.0 International License</a>. Based on a work at <a xmlns:dct=\"http://purl.org/dc/terms/\" href=\"https://github.com/fbkarsdorp/python-course\" rel=\"dct:source\">https://github.com/fbkarsdorp/python-course</a>.</small></p>"
]
}
],
Expand Down
13 changes: 9 additions & 4 deletions answerbook/Chapter 10 - Learning without Supervision.ipynb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
"signature": "sha256:9c31d4909f7a04f8442b78603fe80db9775dbb99884012c0b4bf1550b28c3296"
"signature": "sha256:cb1d0cef2ba6618be722e0866efc15bfea54ff879c8273b9a3c38cb1e568ccff"
},
"nbformat": 3,
"nbformat_minor": 0,
Expand Down Expand Up @@ -1057,9 +1057,14 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"by Folgert Karsdorp (Meertens Instituut)\n",
"\n",
"Licensed under the [GNU Free Documentation License](http://www.gnu.org/copyleft/fdl.html)"
"---"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<p><small><a rel=\"license\" href=\"http://creativecommons.org/licenses/by-sa/4.0/\"><img alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-sa/4.0/88x31.png\" /></a><br /><span xmlns:dct=\"http://purl.org/dc/terms/\" property=\"dct:title\">Python Programming for the Humanities</span> by <a xmlns:cc=\"http://creativecommons.org/ns#\" href=\"http://fbkarsdorp.github.io/python-course\" property=\"cc:attributionName\" rel=\"cc:attributionURL\">http://fbkarsdorp.github.io/python-course</a> is licensed under a <a rel=\"license\" href=\"http://creativecommons.org/licenses/by-sa/4.0/\">Creative Commons Attribution-ShareAlike 4.0 International License</a>. Based on a work at <a xmlns:dct=\"http://purl.org/dc/terms/\" href=\"https://github.com/fbkarsdorp/python-course\" rel=\"dct:source\">https://github.com/fbkarsdorp/python-course</a>.</small></p>"
]
}
],
Expand Down
71 changes: 33 additions & 38 deletions answerbook/Chapter 2 - First steps.ipynb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"metadata": {
"name": ""
"name": "",
"signature": "sha256:8ea5368a63018a66678eae50169460d1bb53fe34e454951c3dbcdfc940436e5b"
},
"nbformat": 3,
"nbformat_minor": 0,
Expand Down Expand Up @@ -1719,7 +1720,7 @@
"input": [
"from IPython.core.display import HTML\n",
"def css_styling():\n",
" styles = open(\"styles/custom.css\", \"r\").read()\n",
" styles = open(\"../styles/custom.css\", \"r\").read()\n",
" return HTML(styles)\n",
"css_styling()"
],
Expand All @@ -1728,53 +1729,42 @@
"outputs": [
{
"html": [
"/*\n",
"Placeholder for custom user CSS\n",
"\n",
"mainly to be overridden in profile/static/custom/custom.css\n",
"\n",
"This will always be an empty file in IPython\n",
"*/\n",
"<style>\n",
" @font-face {\n",
" font-family: \"Computer Modern\";\n",
" src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunss.otf');\n",
" }\n",
" div.cell {\n",
" @import url(http://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,700,700italic);\n",
"\n",
" div.cell{\n",
" font-family:'roboto','helvetica','sans';\n",
" color:#444;\n",
" width:800px;\n",
" margin-left:auto;\n",
" margin-left:16% !important;\n",
" margin-right:auto;\n",
" }\n",
" div.cell, .input.hbox {\n",
" display:block;\n",
"}\n",
" h1 {\n",
" font-family: \"Charis SIL\", Palatino, serif;\n",
" }\n",
" h4{\n",
" margin-top:12px;\n",
" margin-bottom: 3px;\n",
" }\n",
"\n",
" div.text_cell_render{\n",
" font-family: Computer Modern, \"Helvetica Neue\", Arial, Helvetica, Geneva, sans-serif;\n",
" font-family: 'roboto','helvetica','sans';\n",
" line-height: 145%;\n",
" font-size: 120%;\n",
" color:#444;\n",
" width:800px;\n",
" margin-left:auto;\n",
" margin-right:auto;\n",
" }\n",
" .CodeMirror{\n",
" font-family: \"Source Code Pro\", source-code-pro,Consolas, monospace;\n",
" font-family: \"Menlo\", source-code-pro,Consolas, monospace;\n",
" }\n",
" .prompt{\n",
" display: None;\n",
" }\n",
" .text_cell_render h5 {\n",
" font-weight: 300;\n",
" font-size: 16pt;\n",
" color: #4057A1;\n",
" font-style: italic;\n",
" margin-bottom: .5em;\n",
" margin-top: 0.5em;\n",
" display: block;\n",
" }\n",
" \n",
" } \n",
" .warning{\n",
" color: rgb( 240, 20, 20 )\n",
" }\n",
" } \n",
"</style>\n",
"<script>\n",
" MathJax.Hub.Config({\n",
Expand All @@ -1794,21 +1784,26 @@
],
"metadata": {},
"output_type": "pyout",
"prompt_number": 124,
"prompt_number": 1,
"text": [
"<IPython.core.display.HTML at 0x109425c50>"
"<IPython.core.display.HTML at 0x103698080>"
]
}
],
"prompt_number": 124
"prompt_number": 1
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"by Folgert Karsdorp (Meertens Instituut) en Maarten van Gompel (Radboud University Nijmegen)\n",
"\n",
"Licensed under the [GNU Free Documentation License](http://www.gnu.org/copyleft/fdl.html)"
"---"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<p><small><a rel=\"license\" href=\"http://creativecommons.org/licenses/by-sa/4.0/\"><img alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-sa/4.0/88x31.png\" /></a><br /><span xmlns:dct=\"http://purl.org/dc/terms/\" property=\"dct:title\">Python Programming for the Humanities</span> by <a xmlns:cc=\"http://creativecommons.org/ns#\" href=\"http://fbkarsdorp.github.io/python-course\" property=\"cc:attributionName\" rel=\"cc:attributionURL\">http://fbkarsdorp.github.io/python-course</a> is licensed under a <a rel=\"license\" href=\"http://creativecommons.org/licenses/by-sa/4.0/\">Creative Commons Attribution-ShareAlike 4.0 International License</a>. Based on a work at <a xmlns:dct=\"http://purl.org/dc/terms/\" href=\"https://github.com/fbkarsdorp/python-course\" rel=\"dct:source\">https://github.com/fbkarsdorp/python-course</a>.</small></p>"
]
}
],
Expand Down
Loading

0 comments on commit 759d4ce

Please sign in to comment.