Skip to content

Commit

Permalink
Merge pull request UofT-DSI#21 from UofT-DSI/new-changes
Browse files Browse the repository at this point in the history
Raymond's changes on the shell repo
  • Loading branch information
danielrazavi authored Mar 28, 2024
2 parents c6c8bc7 + 90986f2 commit 2856543
Show file tree
Hide file tree
Showing 372 changed files with 2,638 additions and 132 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.DS_Store
./04-instructors/lessons/pdf/*
./04-instructors/lessons/html/*
1 change: 0 additions & 1 deletion 01-slides/class_example/dir1/file1.txt

This file was deleted.

1 change: 0 additions & 1 deletion 01-slides/class_example/dir1/file2.txt

This file was deleted.

1 change: 0 additions & 1 deletion 01-slides/class_example/dir1/file3.txt

This file was deleted.

1 change: 0 additions & 1 deletion 01-slides/class_example/dir2/FILE1.txt

This file was deleted.

1 change: 0 additions & 1 deletion 01-slides/class_example/dir2/FILE2.txt

This file was deleted.

1 change: 0 additions & 1 deletion 01-slides/class_example/dir2/FILE3.txt

This file was deleted.

1 change: 0 additions & 1 deletion 01-slides/class_example/dir3/File1.txt

This file was deleted.

1 change: 0 additions & 1 deletion 01-slides/class_example/dir3/File2.txt

This file was deleted.

1 change: 0 additions & 1 deletion 01-slides/class_example/dir3/File3.txt

This file was deleted.

Binary file added 01-slides/optional_unix_slides.pdf
Binary file not shown.
Binary file modified 01-slides/unix_slides.pdf
Binary file not shown.
22 changes: 22 additions & 0 deletions 02-assignments/assignment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Assignment: The Secret Password

You are stuck in a virtual room and can only leave if you figure out the password! Fortunately, somebody left behind 6 clues for you to find the secret password, but the messaging are not that clear. It is your job to discover what the secret password is!

1. The very odd and inedible ingredient in a cake recipe
2. The season number that contains only 18 episodes (Hint: How do you list them?)
3. Fifth word of Season 6, Episode 21 of Friends
4. Fifth word of the fifth fictional Space Wars series
5. Second word of this song that's exactly 4 minutes long in this "colour" album
6. The fourth word to the fourth Hanger Games movie

## Instructions
1. Use your bash skills (such as `cd`, `cat`, etc.) to figure out what the secret password is! You will be exploring the `clues` directory in your bash terminal.
2. Write the secret password in this markdown below!
3. Submit your answer to _!

**What is the secret password?**
<!-- Your answer here -->

|Criteria|Pass|Fail|
|---|---|---|
|Secret Password|The user properly used the proper bash commands to find the secret password.|The user did not properly used the proper bash commands to find the secret password.|
1 change: 1 addition & 0 deletions 02-assignments/clues/albums/fearless/song_1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions 02-assignments/clues/albums/fearless/song_2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions 02-assignments/clues/albums/fearless/song_3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions 02-assignments/clues/albums/fearless/song_4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions 02-assignments/clues/albums/fearless/song_5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions 02-assignments/clues/albums/lover/song_1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions 02-assignments/clues/albums/lover/song_2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions 02-assignments/clues/albums/lover/song_3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions 02-assignments/clues/albums/lover/song_4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions 02-assignments/clues/albums/lover/song_5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 2 additions & 0 deletions 02-assignments/clues/albums/red/song 1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Title: Red
Duration: 3:43
2 changes: 2 additions & 0 deletions 02-assignments/clues/albums/red/song 2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Title: I Knew You Were Trouble
Duration: 3:39
2 changes: 2 additions & 0 deletions 02-assignments/clues/albums/red/song 3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Title: Everything Has Changed
Duration: 4:05
2 changes: 2 additions & 0 deletions 02-assignments/clues/albums/red/song 4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Title: Holy Ground
Duration: 3:22
2 changes: 2 additions & 0 deletions 02-assignments/clues/albums/red/song 5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Title: The Lucky One
Duration: 4:00
9 changes: 9 additions & 0 deletions 02-assignments/clues/food/cake/chocolate_cake.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Milk
Cake Flour
Eggs
Cocoa Powder
Dark Chocolate
Baking Powder
Sugar
Vanilla Extract
Butter
9 changes: 9 additions & 0 deletions 02-assignments/clues/food/cake/red_velvet_cake.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Baking Powder
Milk
Vanilla Extract
Red Food Colouring
Eggs
Cocoa Powder
Sugar
Butter
Cake Flour
8 changes: 8 additions & 0 deletions 02-assignments/clues/food/cake/vanilla_cake.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Milk
Sugar
Baking Powder
Cake Flour
Eggs
Butter
Vanilla Extract
Paper Rings
1 change: 1 addition & 0 deletions 02-assignments/clues/movies/hanger games/movie1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hanger Games & The Struggle of Power
1 change: 1 addition & 0 deletions 02-assignments/clues/movies/hanger games/movie2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hanger Games & The Revolution
1 change: 1 addition & 0 deletions 02-assignments/clues/movies/hanger games/movie3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hanger Games: The Sequel
1 change: 1 addition & 0 deletions 02-assignments/clues/movies/hanger games/movie4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hanger Games & the Stars of Darkness
1 change: 1 addition & 0 deletions 02-assignments/clues/movies/space wars/fifth_movie.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Space Wars: Future Legends and Past Legacies
1 change: 1 addition & 0 deletions 02-assignments/clues/movies/space wars/first_movie.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Space Wars and the Rise of the Empire
1 change: 1 addition & 0 deletions 02-assignments/clues/movies/space wars/fourth_movie.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Space Wars: An Old Hope
1 change: 1 addition & 0 deletions 02-assignments/clues/movies/space wars/second_movie.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Space Wars: The 5 years war
1 change: 1 addition & 0 deletions 02-assignments/clues/movies/space wars/third_movie.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Space Wars and the Downfall of the Empire
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One After Vegas
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep10.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One with the Routine
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep11.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One with the Apothecary Table
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep12.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One with the Joke
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep13.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One with Rachel's Sister
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep14.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One Where Chandler Can't Cry
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep15.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One That Could Have Been
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep16.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One That Could Have Been
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep17.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One with Unagi
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep18.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One Where Ross Dates a Student
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep19.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One with Joey's Fridge
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One Where Ross Hugs Rachel
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep20.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One with Mac and C.H.E.E.S.E.
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep21.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One Where Ross Meets Elizabeth's Dad
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep22.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One Where Paul's the Man
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep23.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One with the Ring
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep24.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One with the Proposal
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep25.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One with the Proposal
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One with Ross's Denial
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One Where Joey Loses His Insurance
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One with Joey's Porsche
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One on the Last Night
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One Where Phoebe Runs
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One with Ross's Teeth
1 change: 1 addition & 0 deletions 02-assignments/clues/shows/friends/season 6/ep9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The One Where Ross Got High
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Binary file removed 02-homework/pdf/unix-homework.pdf
Binary file not shown.
54 changes: 0 additions & 54 deletions 03-assignments/BashAssignment.md

This file was deleted.

Binary file removed 03-assignments/dataset.zip
Binary file not shown.
27 changes: 27 additions & 0 deletions 03-homework/homework.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash

# Instructions:
# Please run the following command in the terminal where homework.sh is located to make the file executable.
# chmod +x ./homework.sh

# On your terminal, input all the commands you have used to create the following:

# 1. How would you create 5 directories? Feel free to use any name for your directories.

# 2. How would you verify the creation of all 5 directories?

# 3. In each directory, how would you create 5 .txt files and write "I love data" into each within the directories?

# 4. How would you verify the presence of all 5 files?

# 5. How would you append to one of the existing files " and machine learning!"?

# 6. How would you verify that the text was indeed appended to the existing file?

# 7. How would you delete all files except for the one with the appended text?

# 8. How would you navigate back to the parent directory containing all the directories?

# 9. How would you remove each directory along with its contents?

# 10. How would you verify that all directories and files have been deleted?
51 changes: 51 additions & 0 deletions 04-instructors/.dsi-certificates-theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/* dsi-certificates-theme.css */
/* @theme dsi-certificates-theme */

@import 'uncover';

img[alt~="center"] {
display: block;
margin: 0 auto;
}


p {
text-align: left;
font-size: 35px
}
ul {
margin: 0;
font-size: 35px;
}
table {
font-size: 35px;
}
ol {
margin: 0;
font-size: 35px;
}

blockquote {
border-left: 10px solid #ccc;
margin: 1.5em 10px;
padding: 0.5em 30px;
quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
color: #ccc;
content: none;
font-size: 4em;
line-height: 0.1em;
margin-right: 0.25em;
vertical-align: -0.4em;
}

blockquote:after{
content: none;
}

footer {
margin-bottom: 0px;
text-align: left;
}
50 changes: 50 additions & 0 deletions 04-instructors/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Instructor Playbook

## How do you interact with the repo?
The Technical Facilitator will teach using the content provided in the `/01-slides` directory. You are allowed to live code with them during your lecture. Just make sure you upload the live-coding files to a new directory called `/live-coding` under `/01-slides` to this repository using a new branch and open up a pull request for it to be merge.

## How does the module flow?
The module is organized into 3 main directories:
1. Slides
2. Assignments
3. Homework

The `/01-slides` directory would be the first directory anyone would see, and contains the lecture slides, learning outcomes, and anything related to the learning outcomes such as live-coding files.

The `/02-assignments` directory is the second directory containing the assignments that would be marked as a `pass` or `fail`. Compared to `/03-homework`, the assignments are slightly more difficult, and helps encapsulates the learnings for the week. All assignments are mandatory to complete and deliver.

The `/03-homework` directory contains all the homework, a learner can do to demonstrate mastery of the learning contents. Unlike the `/02-assignments` directory, all homework is optional, but is highly encouraged to attempt.

### Week 1

#### Lecture
The focus of the sole lecture is to introduce them to basic bash commands such as `cd`, `pwd`, and creating files using `touch` and directories using `mkdir`. As well as intermediate commands like `rm` and how to recursively remove files from a nested directory, and how to make copies or move files using `mv`.

Note: If someone wants to open up the "manual", recommend them to use the `man` command.

#### Assignment
The assignment for this week is to have learners find the secret password by navigating directories and files!

## How do you assign assignments?
Assignments are given and assigned at the start of each week at the end of the first lecture. The Technical Facilitator will announce to the learners what the assignment is about, and how everything they will learn within the week will equip them to work on the assignment.

## How an assignment is expected to be completed and delivered?
Learners are expected to complete the assignment before the first lecture of the following week. They will deliver the assignment by opening up a pull request on their copied repo. The learner will also add a Learning Support as a reviewer indicating they delivered a completed assignment, and it is ready to be graded as a `pass` or `fail`.

## What is the criteria for `pass` or `fail`?
The criteria for a `pass` or `fail` is if all parts of the program are working, and nothing in the code is broken. For some assignments, a rubric will be given outlining the criteria needed to pass.

## How to mark?
If the learner's solution works, then they `pass`! You or the Learning Support would only need to focus on providing them constructive feedback on how they can improve their code. If the solution does not work, then they `fail`, and you would provide any constructive feedback on their existing code, and encourage them to get their solution working.

## How will feedback be given?
Feedback will be given through the pull request a learner had made, and allowing them to make revisions if needed. In order to maximize learning, feedback must be constructive, and specific.

<hr>

## Definitions
**Lecture**: A Lecture is a synchronous period of time, lasting up to 3 hours, where the Technical Facilitator will facilitate and deliver the contents and learning outcomes online through Zoom. Learners are encouraged to participate and ask questions as they learn. Breaks are given if lecture goes past an hour, with a 10 minutes break given for every hour still in a lecture.

**Work Period**: A Work Period is an asynchronous period of time, lasting up to 3 hours. The learners will work on their assignments and/or homework during this block of time. A Learning Support will be present online through Zoom to assist the learners and answer any questions they may have. As work periods are asynchronous and flexible, learners can choose to work on their own time. However, it is encouraged to work during the block of time when a Learning Support is present.

**Assignments**: An Assignment is work assigned as part of the program. They are slightly more difficult, providing an opportunity for learners to integrate and synthesize what they have learned throughout the week to meet the set learning outcomes.
Loading

0 comments on commit 2856543

Please sign in to comment.