Skip to content

Commit

Permalink
add git and github
Browse files Browse the repository at this point in the history
  • Loading branch information
firasm committed Feb 3, 2024
1 parent e71e599 commit c8bd970
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 26 deletions.
10 changes: 8 additions & 2 deletions _toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,14 @@ parts:
# - file: notes/week05/test
# - file: notes/week05/lab
# - file: notes/week05/learninglogs
# - file: notes/week06/week06_summary
# title: Week 6 - Week Off !!
- file: notes/week06/week06_summary
title: Week 6 - Git and Version Control
sections:
- file: notes/week06/videos
- file: notes/week06/class6A
- file: notes/week06/class6B


# - file: notes/week07/week07_summary
# title: Week 7 - Chapter 6
# sections:
Expand Down
Binary file added files/Lec11_Git_VersionControl.pdf
Binary file not shown.
8 changes: 2 additions & 6 deletions notes/week06/class6A.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,10 @@ Feel free to download them to keep them locally, or leave them archived here and
We will leave the website open even after the course is over for a reasonable number of years.

<div>
<iframe src="../../Lec09_WebAsData.pdf" width="100%" height="600px" frameBorder="0"> </iframe>
<iframe src="../../Lec11_Git_VersionControl.pdf" width="100%" height="600px" frameBorder="0"> </iframe>
</div>

[Download the Slides from today](https://github.com/ubc-cs/cpsc203/raw/main/files/Lec09_WebAsData.pdf)

## Optional links for today

- [LOTS More on Pandas!]https://firas.moosvi.com/courses/data301/2022_WT2/notes/week05/Class5A/Class5A.html
[Download the Slides from today](https://github.com/ubc-cs/cpsc203/raw/main/files/Lec11_Git_VersionControl.pdf)

<!--
## Important links for today:
Expand Down
17 changes: 17 additions & 0 deletions notes/week06/class6B.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Class Meeting 6B

There is no class today - take some time to reflect on the content for this week, do your practice, and take the time to finish up Lab 5 (it's slightly longer this week).

## Optional links for today

<!--
## Important links for today:
- [Canvas](https://canvas.ubc.ca/courses/130127)
- [PrairieLearn](https://canvas.ubc.ca/courses/130127/external_tools/48751)
- [Markdown Tutorial](https://commonmark.org/help/tutorial/)
-->

## Acknowledgements

Slides for {{ COURSE_CODE }} were developed and created by [Dr. Cinda Heeren](https://www.cs.ubc.ca/people/cinda-heeren). The current iteration of the course resulted in minor adaptations and updates, but by in large, full credit of these slides belongs to Dr. Cinda Heeren.
78 changes: 78 additions & 0 deletions notes/week06/videos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Videos

Below are the assigned videos for this week.
The videos are collapsible so once you're done with one, you can move to the next one.
In the sidebar on the right, you can use the checklists to keep track of what's done.

````{margin}
```{admonition} Checklist of items
:class: tip sticky
<input type="checkbox" id="week06_video1" class="box"> <label>Why use Git?</input></label>
<input type="checkbox" id="week06_video2" class="box"> <label>How Git Works</input></label>
<input type="checkbox" id="week06_video3" class="box"> <label>Creating a repository</input></label>
<input type="checkbox" id="week06_video4" class="box"> <label>Staging Files</input></label>
<input type="checkbox" id="week06_video5" class="box"> <label> Making Commits</input></label>
```
````
## Required Videos

```{attention}
To get the most benefit from class on Tuesday, ou will definitely need to have watched these videos BEFORE class on Tuesday!
```

```{dropdown} Why Use Git?
:class-container: sd-shadow-lg
:color: primary
:open:
<div class="container youtube">
<iframe class="responsive-iframe" src="https://www.youtube-nocookie.com/embed/3RjQznt-8kE" frameborder="0" allow="accelerometer; autoplay="0"; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
```

```{dropdown} How Git Works
:class-container: sd-shadow-lg
:color: primary
:open:
<div class="container youtube">
<iframe class="responsive-iframe" src="https://www.youtube-nocookie.com/embed/iNP_KmOFqXs" frameborder="0" allow="accelerometer; autoplay="0"; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
```

```{dropdown} Creating a repository
:class-container: sd-shadow-lg
:color: primary
:open:
Note: It is important you know how to create a repository for your own personal projects. However in this course, you will always get a "GitHub Classroom link" that will create a repository with some starter code.
<div class="container youtube">
<iframe class="responsive-iframe" src="https://www.youtube-nocookie.com/embed/v0Ch3yWQ-Zc" frameborder="0" allow="accelerometer; autoplay="0"; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
```

```{dropdown} Staging Files
:class-container: sd-shadow-lg
:color: primary
:open:
<div class="container youtube">
<iframe class="responsive-iframe" src="https://www.youtube-nocookie.com/embed/KngvG8WzYLU" frameborder="0" allow="accelerometer; autoplay="0"; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
```

```{dropdown} Making Commits
:class-container: sd-shadow-lg
:color: primary
:open:
<div class="container youtube">
<iframe class="responsive-iframe" src="https://www.youtube-nocookie.com/embed/Fhgga2s_RmM" frameborder="0" allow="accelerometer; autoplay="0"; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
```
19 changes: 1 addition & 18 deletions notes/week06/week06_summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,4 @@
Week 6 Summary
=======================

This week there is no new content (except for your lab) in this course.
This week, you'll have an opportunity to catch your breath and catch up on anything from the last few weeks that you didn't have time to grasp or go through.
This may include test questions, missed homework questions, videos that you didn't watch, readings you didn't do, or anything else.
Though you don't *have to* use this break for Physics work, I encourage you to make sure you are actually caught up before re-purposing that time for other courses.
That being said, I understand it's midterm season so I'm sure you'll have plenty of things to fill your time with.


```{dropdown} Portal
:class-container: sd-shadow-lg
:color: primary
:open:
<div class="container youtube">
<iframe class="responsive-iframe" src="https://www.youtube-nocookie.com/embed/TluRVBhmf8w" frameborder="0" allow="accelerometer; autoplay="0"; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
[Link to the game](https://store.steampowered.com/app/400/Portal)
```
This week we will start introducing a new tool in our course, Git and GitHub!

0 comments on commit c8bd970

Please sign in to comment.