Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ontoligent committed Sep 10, 2024
1 parent 181e1f8 commit e4afb11
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 53 deletions.
2 changes: 1 addition & 1 deletion docs/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
"href": "topics/git-and-github.html#introduction",
"title": "Git and GitHub",
"section": "",
"text": "Git is a stand-alone version control system that runs on a variety of platforms, including Linux, MacOS, and Windows.\nGitHub is a company that offers a cloud-based Git repository hosting service that makes it easy to use Git for version control, collaboration, and sharing code. This service is offered through a website.\nThere are other Git hosting services out there, including GitLab, and open source tool that can be installed on a local server.\nGitHub (and services like it) builds on top of Git, adding some functionality to it, while Git can interact with GitHub through actions like cloning, pushing, and pulling. However,\nFor example, git does not require GitHub to function. For example, git does not have a fork command. GitHub (and other hosting services such as GitLab) have added this command as a convenient way to copy repositories.",
"text": "Git is a stand-alone version control system that runs on a variety of platforms, including Linux, MacOS, and Windows.\nGitHub is a company that offers a cloud-based Git repository hosting service that makes it easy to use Git for version control, collaboration, and sharing code. This service is offered through a website.\nThere are other Git hosting services out there, including GitLab, an open source tool that can be installed on a local server.\nGitHub (and services like it) builds on top of Git, adding some functionality to it, while Git can interact with GitHub through actions like cloning, pushing, and pulling. However,\nFor example, git does not require GitHub to function. For example, git does not have a fork command. GitHub (and other hosting services such as GitLab) have added this command as a convenient way to copy repositories.",
"crumbs": [
"M01 Getting Started",
"<span class='chapter-number'>5</span>  <span class='chapter-title'>Git and GitHub</span>"
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/git-and-github.html
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ <h2 class="anchored" data-anchor-id="introduction">Introduction</h2>
<ol type="1">
<li><p><strong>Git</strong> is a <strong>stand-alone</strong> version control system that runs on a variety of platforms, including Linux, MacOS, and Windows.</p></li>
<li><p><strong>GitHub</strong> is a <strong>company</strong> that offers a cloud-based Git repository hosting <strong>service</strong> that makes it easy to use Git for version control, collaboration, and sharing code. This service is offered through a website.</p></li>
<li><p>There are other Git hosting services out there, including <strong>GitLab</strong>, and open source tool that can be installed on a local server.</p></li>
<li><p>There are other Git hosting services out there, including <strong>GitLab</strong>, an open source tool that can be installed on a local server.</p></li>
<li><p><strong>GitHub</strong> (and services like it) builds on top of Git, <strong>adding some functionality</strong> to it, while Git can interact with GitHub through actions like cloning, pushing, and pulling. However,</p>
<p>For example, git does not require GitHub to function. <strong>For example, git</strong> <strong>does not have a fork command</strong>. GitHub (and other hosting services such as GitLab) have added this command as a convenient way to copy repositories.</p></li>
</ol>
Expand Down
86 changes: 43 additions & 43 deletions notebooks/M09_PythonModules/M09-01-ModulesAndPackages.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": 1,
"id": "74827140-683a-4fcd-b310-fe4b31325cc2",
"metadata": {
"tags": []
Expand All @@ -113,7 +113,7 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": 2,
"id": "7e1b074e-2ed9-4447-93c8-c6246f0923cd",
"metadata": {
"tags": []
Expand Down Expand Up @@ -146,7 +146,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 3,
"id": "7817c836-de97-46f3-ae5f-69adc287a9fe",
"metadata": {
"tags": []
Expand All @@ -166,7 +166,7 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 4,
"id": "1fba2e0f-13c8-4c2f-882a-49505a2710b8",
"metadata": {
"tags": []
Expand All @@ -178,7 +178,7 @@
"[0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]"
]
},
"execution_count": 24,
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -225,7 +225,7 @@
},
{
"cell_type": "code",
"execution_count": 25,
"execution_count": 5,
"id": "533d6f40-ea5c-425e-a1f8-94798ce67346",
"metadata": {
"tags": []
Expand All @@ -237,7 +237,7 @@
"'fibo'"
]
},
"execution_count": 25,
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -271,7 +271,7 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": 6,
"id": "a7f7ee3e-d98e-4038-9095-50289745cbba",
"metadata": {
"tags": []
Expand All @@ -283,7 +283,7 @@
"'__main__'"
]
},
"execution_count": 26,
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -452,7 +452,7 @@
"tags": []
},
"source": [
"## Examples"
"## Example"
]
},
{
Expand All @@ -465,7 +465,7 @@
},
{
"cell_type": "code",
"execution_count": 27,
"execution_count": 7,
"id": "d64423d8-d9b3-4498-9ef0-5cf680a8736f",
"metadata": {
"slideshow": {
Expand All @@ -478,10 +478,9 @@
"name": "stdout",
"output_type": "stream",
"text": [
"total 12\n",
"-rw------- 1 rca2t users 0 May 8 15:36 __init__.py\n",
"-rw------- 1 rca2t users 49 May 8 15:36 module1.py\n",
"drwx--S--- 2 rca2t users 512 Sep 9 09:23 __pycache__\n"
"total 8\n",
"-rw------- 1 rca2t users 0 May 8 15:36 __init__.py\n",
"-rw------- 1 rca2t users 49 May 8 15:36 module1.py\n"
]
}
],
Expand All @@ -491,7 +490,7 @@
},
{
"cell_type": "code",
"execution_count": 28,
"execution_count": 8,
"id": "2c245599-b753-40e6-90ec-ee4c3f156295",
"metadata": {
"slideshow": {
Expand All @@ -506,7 +505,7 @@
},
{
"cell_type": "code",
"execution_count": 29,
"execution_count": 9,
"id": "7615823c-5102-4117-872e-1678b48dca0f",
"metadata": {
"slideshow": {
Expand Down Expand Up @@ -543,7 +542,7 @@
},
{
"cell_type": "code",
"execution_count": 30,
"execution_count": 10,
"id": "5454fa1a-4422-45de-95a5-ac5300074be3",
"metadata": {
"tags": []
Expand All @@ -568,22 +567,23 @@
},
{
"cell_type": "code",
"execution_count": 31,
"execution_count": 11,
"id": "7ca651bd-71e1-4dc9-9ea8-1eb02c849bce",
"metadata": {
"scrolled": true,
"tags": []
},
"outputs": [
{
"data": {
"text/plain": [
"<module 'demo_package1.module1' from '/sfs/qumulo/qhome/rca2t/Documents/MSDS/DS5100/repo-book/notebooks/M09_PythonModules/demo_package1/module1.py'>"
]
},
"execution_count": 31,
"metadata": {},
"output_type": "execute_result"
"ename": "AttributeError",
"evalue": "module 'demo_package1' has no attribute 'module1'",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mAttributeError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[11], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m \u001b[43mdemo_package1\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmodule1\u001b[49m\n",
"\u001b[0;31mAttributeError\u001b[0m: module 'demo_package1' has no attribute 'module1'"
]
}
],
"source": [
Expand All @@ -605,7 +605,7 @@
},
{
"cell_type": "code",
"execution_count": 32,
"execution_count": 12,
"id": "93b5fbc4-1a20-46fa-9ff1-58778aebc151",
"metadata": {
"tags": []
Expand All @@ -617,7 +617,7 @@
},
{
"cell_type": "code",
"execution_count": 33,
"execution_count": 13,
"id": "158307cd-9600-4a0d-a792-6870a662c46b",
"metadata": {
"tags": []
Expand All @@ -629,7 +629,7 @@
"<module 'demo_package1.module1' from '/sfs/qumulo/qhome/rca2t/Documents/MSDS/DS5100/repo-book/notebooks/M09_PythonModules/demo_package1/module1.py'>"
]
},
"execution_count": 33,
"execution_count": 13,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -653,7 +653,7 @@
},
{
"cell_type": "code",
"execution_count": 34,
"execution_count": 14,
"id": "fdc4bd71-f6fc-4ab6-8275-f995dbedc6b0",
"metadata": {
"tags": []
Expand Down Expand Up @@ -696,7 +696,7 @@
},
{
"cell_type": "code",
"execution_count": 35,
"execution_count": 15,
"id": "ad4ddbe0-512e-4dad-a967-38161d18cb6e",
"metadata": {
"slideshow": {
Expand All @@ -711,7 +711,7 @@
},
{
"cell_type": "code",
"execution_count": 36,
"execution_count": 16,
"id": "ce47f0cc-3f5e-4f0e-b466-9e4e4d7d9e77",
"metadata": {
"tags": []
Expand All @@ -731,7 +731,7 @@
},
{
"cell_type": "code",
"execution_count": 37,
"execution_count": 17,
"id": "68aa15e5-a8a1-49d3-a18b-e08f57128721",
"metadata": {
"slideshow": {
Expand All @@ -746,7 +746,7 @@
},
{
"cell_type": "code",
"execution_count": 38,
"execution_count": 18,
"id": "140a25ac-f04b-4144-afea-000a03d717b4",
"metadata": {
"tags": []
Expand Down Expand Up @@ -787,7 +787,7 @@
},
{
"cell_type": "code",
"execution_count": 56,
"execution_count": 19,
"id": "78682598-f41d-42d4-8d07-14a20275bb0c",
"metadata": {
"tags": []
Expand All @@ -798,7 +798,7 @@
"evalue": "invalid syntax (2584258834.py, line 1)",
"output_type": "error",
"traceback": [
"\u001b[0;36m Cell \u001b[0;32mIn[56], line 1\u001b[0;36m\u001b[0m\n\u001b[0;31m from demo_package1 import module1.welcome1\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m invalid syntax\n"
"\u001b[0;36m Cell \u001b[0;32mIn[19], line 1\u001b[0;36m\u001b[0m\n\u001b[0;31m from demo_package1 import module1.welcome1\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m invalid syntax\n"
]
}
],
Expand Down Expand Up @@ -1155,7 +1155,7 @@
},
{
"cell_type": "code",
"execution_count": 39,
"execution_count": 20,
"id": "b6950e5e-7489-4640-a3f2-e287b18338af",
"metadata": {
"tags": []
Expand All @@ -1167,7 +1167,7 @@
},
{
"cell_type": "code",
"execution_count": 40,
"execution_count": 21,
"id": "88715859-ad41-4367-ab4f-35f01ca432b0",
"metadata": {
"tags": []
Expand Down Expand Up @@ -1200,7 +1200,7 @@
},
{
"cell_type": "code",
"execution_count": 41,
"execution_count": 22,
"id": "6bb3ef0e-822f-4fff-8b27-5e99f370fc55",
"metadata": {
"tags": []
Expand All @@ -1212,7 +1212,7 @@
},
{
"cell_type": "code",
"execution_count": 42,
"execution_count": 23,
"id": "8bb2ebc2-f133-4880-b8fe-24cf85a44ef0",
"metadata": {
"tags": []
Expand Down Expand Up @@ -1281,7 +1281,7 @@
},
{
"cell_type": "code",
"execution_count": 59,
"execution_count": 24,
"id": "8f6d822f-2373-4a65-b464-959eb319c8c4",
"metadata": {
"tags": []
Expand Down Expand Up @@ -1316,7 +1316,7 @@
},
{
"cell_type": "code",
"execution_count": 60,
"execution_count": 25,
"id": "8bc445bc-ab82-4130-8733-af150244f6a4",
"metadata": {
"tags": []
Expand Down
Loading

0 comments on commit e4afb11

Please sign in to comment.