Skip to content

Commit 0563fc2

Browse files
Add license for intro to julia
1 parent ab3420c commit 0563fc2

File tree

2 files changed

+192
-5
lines changed

2 files changed

+192
-5
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
2+
### Instructional Material
3+
4+
The instructional material in this course is copyright © 2024 University of Exeter
5+
and is made available under the Creative Commons Attribution 4.0 International
6+
licence (https://creativecommons.org/licenses/by/4.0/). Instructional material
7+
consists of material that is contained within the "individual_modules/introduction_to_julia" directory, and images folders in
8+
this directory, with the exception of code snippets and example programs found
9+
in files within these folders. Such code snippets and example programs are
10+
considered software for the purposes of this licence.
11+
12+
13+
### Software
14+
15+
Except where otherwise noted, software provided in this repository is made
16+
available under the MIT licence (https://opensource.org/licenses/MIT).
17+
18+
Copyright © 2024 University of Exeter
19+
20+
Permission is hereby granted, free of charge, to any person obtaining a copy
21+
of this software and associated documentation files (the "Software"), to deal
22+
in the Software without restriction, including without limitation the rights
23+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
24+
copies of the Software, and to permit persons to whom the Software is
25+
furnished to do so, subject to the following conditions:
26+
27+
The above copyright notice and this permission notice shall be included in all
28+
copies or substantial portions of the Software.
29+
30+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
33+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36+
SOFTWARE.
37+
38+
The software in this repository is adapted from software that is covered by the
39+
following copyright and permission notice:
40+
41+
Copyright © 2024 Software Carpentry
42+
43+
Permission is hereby granted, free of charge, to any person obtaining
44+
a copy of this software and associated documentation files (the
45+
"Software"), to deal in the Software without restriction, including
46+
without limitation the rights to use, copy, modify, merge, publish,
47+
distribute, sublicense, and/or sell copies of the Software, and to
48+
permit persons to whom the Software is furnished to do so, subject to
49+
the following conditions:
50+
51+
The above copyright notice and this permission notice shall be
52+
included in all copies or substantial portions of the Software.
53+
54+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
55+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
56+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
57+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
58+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
59+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
60+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

programme_information/intro_to_julia.ipynb

Lines changed: 132 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
{
3636
"cell_type": "code",
37-
"execution_count": null,
37+
"execution_count": 1,
3838
"id": "ed784f7a-cb16-4595-bc34-9fad10e2310b",
3939
"metadata": {
4040
"editable": true,
@@ -45,7 +45,18 @@
4545
"remove-input"
4646
]
4747
},
48-
"outputs": [],
48+
"outputs": [
49+
{
50+
"data": {
51+
"text/html": [],
52+
"text/plain": [
53+
"<IPython.core.display.HTML object>"
54+
]
55+
},
56+
"metadata": {},
57+
"output_type": "display_data"
58+
}
59+
],
4960
"source": [
5061
"import pandas as pd\n",
5162
"from datetime import datetime\n",
@@ -89,22 +100,138 @@
89100
{
90101
"cell_type": "markdown",
91102
"id": "7d378ec2-28e2-4d30-b588-22b3273fec59",
92-
"metadata": {},
103+
"metadata": {
104+
"editable": true,
105+
"slideshow": {
106+
"slide_type": ""
107+
},
108+
"tags": []
109+
},
93110
"source": [
94111
"## Installation Guide \n",
95112
"All CfRR courses require attendees to use their own computer/laptop to follow workshop activities and take effective notes. \n",
96113
"\n",
97114
"## Self Study Material Link \n",
98115
"The self-study material for this course is available [here](../individual_modules/section_landing_pages/introduction_to_julia.md).\n",
99116
"## Developers\n",
117+
"\n",
118+
"This course was developed by Liam Berrisford. \n",
119+
"\n",
100120
"## License Info "
101121
]
102122
},
103123
{
104124
"cell_type": "code",
105-
"execution_count": null,
125+
"execution_count": 2,
106126
"id": "64a0e3a8-e122-4e4c-8c74-20df65523e38",
107-
"metadata": {},
127+
"metadata": {
128+
"editable": true,
129+
"slideshow": {
130+
"slide_type": ""
131+
},
132+
"tags": []
133+
},
134+
"outputs": [
135+
{
136+
"data": {
137+
"text/markdown": [
138+
"### Instructional Material\n",
139+
"\n",
140+
"The instructional material in this course is copyright © 2024 University of Exeter\n",
141+
"and is made available under the Creative Commons Attribution 4.0 International\n",
142+
"licence (https://creativecommons.org/licenses/by/4.0/). Instructional material\n",
143+
"consists of material that is contained within the \"individual_modules/introduction_to_hpc\" folders in\n",
144+
"this repository, with the exception of code snippets and example programs found\n",
145+
"in files within these folders. Such code snippets and example programs are\n",
146+
"considered software for the purposes of this licence. \n",
147+
"\n",
148+
"\n",
149+
"### Software\n",
150+
"\n",
151+
"Except where otherwise noted, software provided in this repository is made\n",
152+
"available under the MIT licence (https://opensource.org/licenses/MIT).\n",
153+
"\n",
154+
"Copyright © 2024 University of Exeter\n",
155+
"\n",
156+
"Permission is hereby granted, free of charge, to any person obtaining a copy\n",
157+
"of this software and associated documentation files (the \"Software\"), to deal\n",
158+
"in the Software without restriction, including without limitation the rights\n",
159+
"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n",
160+
"copies of the Software, and to permit persons to whom the Software is\n",
161+
"furnished to do so, subject to the following conditions:\n",
162+
"\n",
163+
"The above copyright notice and this permission notice shall be included in all\n",
164+
"copies or substantial portions of the Software.\n",
165+
"\n",
166+
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n",
167+
"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n",
168+
"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n",
169+
"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n",
170+
"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n",
171+
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n",
172+
"SOFTWARE.\n",
173+
"\n",
174+
"The software in this repository is adapted from software that is covered by the\n",
175+
"following copyright and permission notice:\n",
176+
"\n",
177+
" Copyright © 2024 Software Carpentry\n",
178+
"\n",
179+
" Permission is hereby granted, free of charge, to any person obtaining\n",
180+
" a copy of this software and associated documentation files (the\n",
181+
" \"Software\"), to deal in the Software without restriction, including\n",
182+
" without limitation the rights to use, copy, modify, merge, publish,\n",
183+
" distribute, sublicense, and/or sell copies of the Software, and to\n",
184+
" permit persons to whom the Software is furnished to do so, subject to\n",
185+
" the following conditions:\n",
186+
"\n",
187+
" The above copyright notice and this permission notice shall be\n",
188+
" included in all copies or substantial portions of the Software.\n",
189+
"\n",
190+
" THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n",
191+
" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n",
192+
" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n",
193+
" NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\n",
194+
" LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\n",
195+
" OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\n",
196+
" WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
197+
],
198+
"text/plain": [
199+
"<IPython.core.display.Markdown object>"
200+
]
201+
},
202+
"metadata": {},
203+
"output_type": "display_data"
204+
}
205+
],
206+
"source": [
207+
"from IPython.display import Markdown, display\n",
208+
"\n",
209+
"def display_markdown(file_path):\n",
210+
" try:\n",
211+
" with open(file_path, 'r') as file:\n",
212+
" content = file.read()\n",
213+
" display(Markdown(content))\n",
214+
" except FileNotFoundError:\n",
215+
" print(f\"The file {file_path} was not found.\")\n",
216+
" except Exception as e:\n",
217+
" print(f\"An error occurred: {e}\")\n",
218+
"\n",
219+
"# Example usage:\n",
220+
"file_path = '../individual_modules/introduction_to_hpc/LICENSE.txt' # Replace with your file path\n",
221+
"display_markdown(file_path)"
222+
]
223+
},
224+
{
225+
"cell_type": "code",
226+
"execution_count": null,
227+
"id": "4f24727e-e0d7-4cdb-92c8-eb991d57acee",
228+
"metadata": {
229+
"editable": true,
230+
"slideshow": {
231+
"slide_type": ""
232+
},
233+
"tags": []
234+
},
108235
"outputs": [],
109236
"source": []
110237
}

0 commit comments

Comments
 (0)