Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
164 commits
Select commit Hold shift + click to select a range
1428e2f
Remove Git/GitHub material
Jan 15, 2024
80ad6a4
Renamed 'slide-resources' to 'instructor-resources'
Jan 15, 2024
11f7337
Update README.md
Jan 15, 2024
56b2521
Rename folders to include numerical prefixes for better organization
Jan 15, 2024
ec3e853
Merge pull request #6 from UofT-DSI/update
danielrazavi Jan 15, 2024
52cb4db
Updated README.md
Jan 15, 2024
5791080
Add acknowledgementsto README.md
Jan 16, 2024
54a6175
proposed bash assignment with a reasonable task that would be done in…
dtxe Jan 16, 2024
148e2c7
remove old bash assignment
dtxe Jan 16, 2024
99f5bf5
Add .gitignore file
Jan 16, 2024
208976a
Reverted accidental changes on .gitignore and updated README.md
Jan 16, 2024
36d5963
update assignment
dtxe Jan 16, 2024
5a80891
use relative links in README
dtxe Jan 16, 2024
0a4307d
Merge pull request #8 from UofT-DSI/update
danielrazavi Jan 16, 2024
1a5c82a
Update README.md for homework/assignment submission instructions.
Jan 16, 2024
eb92a45
Update README.md for homework/assignment submission instructions.
Jan 16, 2024
2280555
Remove Pre-Workshop Assignments, not necessary due to Onboarding repo
Jan 16, 2024
8e6a046
Remove Pre-Workshop Assignments, not necessary due to Onboarding repo
Jan 16, 2024
a269e4c
Add directories/files for in-class example
Jan 16, 2024
d6e82f1
Add class example (#11)
kaylielau Jan 16, 2024
0861cff
finalize unix shell assignment and data files
dtxe Jan 17, 2024
5ccdcd0
Merge pull request #7 from dtxe/main
kaylielau Jan 17, 2024
cbab2b6
update assignment deliverable to be a shell script
dtxe Jan 17, 2024
ec2e1f2
move instructor content to instructor repo for learner clarity
dtxe Jan 17, 2024
b2f9fcf
remove home directory info, not relevant with Git Bash
dtxe Jan 17, 2024
bfef9a6
Merge remote-tracking branch 'origin/main' into update
kaylielau Jan 18, 2024
bc50803
Update Assignment #1 submission instructions.
kaylielau Jan 18, 2024
5808e36
Merge pull request #14 from UofT-DSI/update
kaylielau Jan 18, 2024
c6c8bc7
fixed formatting issue (#15)
kaylielau Jan 18, 2024
c8d146c
Updated slides, assignment and resources
rchung95 Feb 18, 2024
6925b89
Adding steps
rchung95 Feb 22, 2024
df8942d
Updating the directory to be aligned with the Python repo
rchung95 Feb 27, 2024
bbb00ef
Adding solution
rchung95 Mar 4, 2024
8645902
Adding solution
rchung95 Mar 4, 2024
834bcac
Adding solution
rchung95 Mar 4, 2024
c6bee49
Fixing README.md
rchung95 Mar 4, 2024
cf48ee2
Instructor dir added in. (#17)
danielrazavi Mar 4, 2024
b1350b1
Updating the repo structure
rchung95 Mar 5, 2024
27f60c7
Adding in slides
rchung95 Mar 5, 2024
95b4e89
Updating generate_slides
rchung95 Mar 5, 2024
45e10f7
Fixing foler structure
rchung95 Mar 6, 2024
dd59d01
adjusting the folder structure
rchung95 Mar 6, 2024
d0dd8de
Updated readme based on Rohan's feedback
rchung95 Mar 8, 2024
1be57f0
Changing image name
rchung95 Mar 8, 2024
2d444cf
Replacing course with module
rchung95 Mar 25, 2024
ede5d78
Updating schedule
rchung95 Mar 25, 2024
7c0e4ff
Fixing table
rchung95 Mar 25, 2024
2fd23be
Some minor changes
danielrazavi Mar 26, 2024
0a6c902
Updating the assignment
rchung95 Mar 26, 2024
6629e7a
Adding staff to the README
rchung95 Mar 27, 2024
31ecc7a
Fixing typo
rchung95 Mar 27, 2024
3440d57
polishing repo
danielrazavi Mar 28, 2024
d59204b
polishing repo
danielrazavi Mar 28, 2024
90986f2
Merge branch 'new-changes' of https://github.com/UofT-DSI/shell into …
danielrazavi Mar 28, 2024
2856543
Merge pull request #21 from UofT-DSI/new-changes
danielrazavi Mar 28, 2024
5e688d9
Changing TA to Learning Suport Staff
rchung95 Mar 28, 2024
817e954
removed irrelevant pictures and made all files snake_case
danielrazavi Mar 28, 2024
47d8bd2
Adding certification to word rather than program
rchung95 Mar 28, 2024
950a6cd
Merge pull request #23 from UofT-DSI/readme-typo
danielrazavi Mar 28, 2024
e2ff5d0
removed irrelevant pictures and made all files snake_case
danielrazavi Mar 28, 2024
fb1b67d
Updating the ask for help image
rchung95 Mar 28, 2024
9d1f3f4
Using snake case
rchung95 Mar 28, 2024
dc3f4d3
Merge pull request #24 from UofT-DSI/update-image
danielrazavi Mar 28, 2024
eccf2ec
Merge branch 'snake_case' of https://github.com/UofT-DSI/shell into s…
danielrazavi Mar 28, 2024
ebbef5a
Merge branch 'main' into snake_case
danielrazavi Mar 28, 2024
d4709fd
Merge pull request #22 from UofT-DSI/snake_case
danielrazavi Mar 28, 2024
4fae5fb
Update README.md
RohanAlexander Apr 9, 2024
44b33fb
Merge pull request #25 from UofT-DSI/RohanAlexander-patch-1
danielrazavi Apr 9, 2024
62a2856
Removing Policies.
danielrazavi Apr 9, 2024
2c249fa
Update README.md
curtissfnorman Apr 19, 2024
954e2d9
Update README.md
curtissfnorman Apr 19, 2024
26cca4c
Update README.md
curtissfnorman Apr 19, 2024
ed62810
Update contacts in README.md and improve formatting.
dtxe Apr 19, 2024
13a1272
Merge pull request #26 from dtxe/contacts_update
curtissfnorman Apr 19, 2024
0dda31e
Update README.md
curtissfnorman Apr 22, 2024
979bb1b
Update README.md
curtissfnorman Apr 22, 2024
b9c7b24
Update README.md
curtissfnorman Apr 22, 2024
a4d1d2d
Fix typo and minor sentence tweak
RohanAlexander Apr 22, 2024
5487557
Merge pull request #27 from UofT-DSI/curtissfnorman-patch-1
RohanAlexander Apr 22, 2024
ebbf221
Miscellaneous tasks.
danielrazavi Apr 23, 2024
002df17
Merge branch 'main' into miscellaneous
danielrazavi Apr 23, 2024
f179d24
Reverting "Git & GitHub" Topic Name back to the original value.
danielrazavi Apr 23, 2024
21ef784
Merge pull request #29 from UofT-DSI/miscellaneous
curtissfnorman Apr 23, 2024
09de88b
a grammatical change
danielrazavi Apr 23, 2024
1804ecc
Update assignment.md
curtissfnorman Apr 23, 2024
dd673eb
Update README.md
curtissfnorman Apr 23, 2024
8c9ccd9
renaming lessons/slides folder in the instructors folder to "markdown…
danielrazavi Apr 23, 2024
eb738af
add deadline
dtxe Apr 23, 2024
bc72313
Merge pull request #30 from dtxe/main
curtissfnorman Apr 23, 2024
df5e366
Update README.md
curtissfnorman Apr 23, 2024
e32c043
Updating the Pull Request templates to remove mention of adding Learn…
danielrazavi May 1, 2024
c818eff
Adding in Cohort three folder.
danielrazavi May 3, 2024
266a749
Update README.md
curtissfnorman May 3, 2024
f659b33
Merge pull request #88 from UofT-DSI/curtissfnorman-patch-1
danielrazavi May 3, 2024
77a2fad
Making live_code snake cased.
danielrazavi May 3, 2024
073992b
Update README.md
curtissfnorman May 7, 2024
47de83b
Update README.md
curtissfnorman May 7, 2024
5b31357
file system update
danielrazavi Jun 4, 2024
56c44a1
updated the readme.md
danielrazavi Jun 4, 2024
a9b2edc
Merge pull request #89 from UofT-DSI/fs-update
RohanAlexander Jun 4, 2024
a33f2de
Workflow added for automated comments.
danielrazavi Jul 8, 2024
3c4a973
Updating workflow
danielrazavi Jul 15, 2024
510fd77
ignore node_modules dependencies folder for slide generation
dtxe Aug 13, 2024
525d85b
Update materials for Cohort 4, improve slide generation workflow
dtxe Aug 13, 2024
b3c0e04
update asking questions help flow
dtxe Aug 13, 2024
888ba57
revert renaming markdown_slides => lessons, update generate_slides.sh…
dtxe Aug 13, 2024
4db351e
remove unused theme css file
dtxe Aug 13, 2024
8780180
revert help flowchart, small misc changes
dtxe Aug 13, 2024
73de78c
add man, cat, misc small changes
dtxe Aug 13, 2024
64cd9eb
Merge pull request #90 from dtxe/main
danielrazavi Aug 13, 2024
fdb3801
add autograder
dtxe Aug 14, 2024
605bca9
autograder fix paths bug
dtxe Aug 14, 2024
8c6a2c6
remove PR comment for now
dtxe Aug 14, 2024
d6dc5cf
autograder bugfix
dtxe Aug 14, 2024
d55d3ce
autograder fixes
dtxe Aug 14, 2024
2950db3
try posting comment from python autograder
dtxe Aug 14, 2024
f42b49b
add requests module
dtxe Aug 14, 2024
ca1a49d
autograder status should be ok if all tests ran successfully, regardl…
dtxe Aug 14, 2024
f101650
use absolute path for checks
dtxe Aug 14, 2024
550313a
updated working autograder for this script: look for touch command in…
dtxe Aug 15, 2024
0f518a8
autograder action: now runs on any branch beginning with assignment i…
dtxe Aug 15, 2024
5aef646
edge case bugfix q2
dtxe Aug 15, 2024
32136ce
move repo owner check earlier, so it doesn't appear in list of action…
dtxe Aug 15, 2024
6997d16
update assignment instructions for C4, update dsi repo pr action name
dtxe Aug 15, 2024
31d7481
rename instructions file for clarity
dtxe Aug 16, 2024
2ba62e6
Merge pull request #91 from dtxe/main
danielrazavi Aug 16, 2024
fdc20b8
update instructor details in readme, rename cohort_three to this_cohort
dtxe Aug 17, 2024
9b57327
instructions and readme updates
dtxe Aug 17, 2024
f86663e
add bash redirect
dtxe Aug 18, 2024
c49edf4
readme update LS
dtxe Aug 20, 2024
4ec2539
Merge pull request #92 from dtxe/main
danielrazavi Aug 20, 2024
443985f
clarify assignment, remove confusing instructions from homework, upda…
dtxe Aug 21, 2024
128fc1c
Merge pull request #94 from dtxe/main
dtxe Aug 21, 2024
2417e93
clean output files from folder before running assignment script
dtxe Aug 21, 2024
058c2c5
Merge pull request #97 from dtxe/main
danielrazavi Aug 21, 2024
d03a2a9
update assignment instructions, update autograder q8 check
dtxe Aug 22, 2024
85eb7eb
Merge pull request #110 from dtxe/main
danielrazavi Aug 22, 2024
5077c89
autograder q8 hotfix
dtxe Aug 22, 2024
08a4a45
Merge pull request #115 from dtxe/main
dtxe Aug 22, 2024
24d0048
add terminology explainer to shell slides
dtxe Nov 15, 2024
ad5b639
update instructor contact on readme
dtxe Nov 18, 2024
7e0a1e6
Merge pull request #148 from dtxe/readme
danielrazavi Nov 18, 2024
01efb7c
Merge pull request #147 from dtxe/slides_update
danielrazavi Nov 18, 2024
d1f5d15
add assignment rawdata
dtxe Nov 19, 2024
737e414
Merge pull request #149 from dtxe/add_rawdata
dtxe Nov 19, 2024
6d03bed
update assignment to combine git/shell with new autograder
dtxe Nov 19, 2024
e976b55
delete ip logs... WARNING UNTESTED!
dtxe Nov 15, 2024
ea20676
initialize README file with company name
dtxe Nov 15, 2024
cfb96e3
identify latest commit for merge check from branch name, instead of h…
dtxe Nov 19, 2024
bb87672
directly look for target sha in compare to main
dtxe Nov 19, 2024
a6f5efa
update URL for downloading autograder back to UofT-DSI
dtxe Nov 19, 2024
a98ea68
update assignment instructions
dtxe Nov 19, 2024
a6e9f00
update assignment due date
dtxe Nov 19, 2024
3276c3b
Merge pull request #146 from dtxe/autograder
danielrazavi Nov 19, 2024
5977a6b
switch to curl; wget not available in Git Bash
dtxe Nov 22, 2024
5ba63c3
Merge pull request #162 from dtxe/autograder
dtxe Nov 22, 2024
77a922a
Update assignment_instructions.md
moturuab Jan 6, 2025
b2e6074
Update README.md
moturuab Jan 6, 2025
288ec93
Merge pull request #214 from UofT-DSI/moturuab-patch-2
danielrazavi Jan 7, 2025
dab4a1f
Merge pull request #215 from UofT-DSI/moturuab-patch-3
danielrazavi Jan 7, 2025
f596429
Update README.md
moturuab Jan 8, 2025
173f1e1
Merge pull request #217 from UofT-DSI/moturuab-patch-3
danielrazavi Jan 8, 2025
13ac0ff
assignment done
kunha100 Jan 16, 2025
41ae978
assignment done
kunha100 Jan 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/issue_template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Bug Report
description: Report a bug
title: "[Bug]: "
labels: ["bug"]
assignees:
- danielrazavi
- rohanalexander
body:
- type: markdown
attributes:
value: |
Please fill out the sections below to help everyone identify and fix the bug
- type: textarea
id: description
attributes:
label: Describe your issue
placeholder: When I click here this happens
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce
placeholder: |
1. Go to page X
2. Click here
3. Click there
validations:
required: true
- type: textarea
id: expected
attributes:
label: What was the expected result?
placeholder: I expected this to happen
- type: textarea
id: screenshots
attributes:
label: Put here any screenshots or videos (optional)
- type: textarea
id: assignee
attributes:
label: Put here the code owner you'd like to review this issue.
- type: markdown
attributes:
value: |
Thanks for reporting this issue! We will get back to you as soon as possible.
14 changes: 14 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

## What did you learn from the changes you have made?

## Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

## Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

## How were these changes tested?

## A reference to a related issue in your repository (if applicable)

## Checklist
- [ ] I can confirm that my changes are working as intended
42 changes: 42 additions & 0 deletions .github/workflows/autograder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Assignment autograder
on:
pull_request:
branches:
- main
types: [opened, synchronize, reopened]
jobs:
autograder:
name: Assignment autograder
if: startsWith(github.head_ref, 'assignment')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r 03_instructional_team/autograder/requirements.txt
- name: Setup working directory for script
run: |
UUID=$(uuidgen)
echo "UUID=$UUID" >> $GITHUB_ENV
mkdir /tmp/$UUID
cp $GITHUB_WORKSPACE/02_activities/assignments/assignment.sh /tmp/$UUID
- name: Run assignment script
run: |
bash -c "bash assignment.sh 2>&1 | tee /tmp/${{ env.UUID }}_output.txt"
working-directory: /tmp/${{ env.UUID }}
- name: Grade responses
id: grade
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO_OWNER: ${{ github.repository_owner }}
REPO_NAME: ${{ github.event.repository.name }}
PR_NUMBER: ${{ github.event.pull_request.number }}
REPO_BRANCH: ${{ github.event.pull_request.head.ref }}
WORKING_DIR: /tmp/${{ env.UUID }}
run: |
wget -O /tmp/autograder.py https://github.com/UofT-DSI/shell/raw/refs/heads/main/03_instructional_team/autograder/autograder.py
python /tmp/autograder.py
25 changes: 25 additions & 0 deletions .github/workflows/automatic_pr_comment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: UofT-DSI Main Repository PR Workflow

on:
pull_request_target:
types: [opened, synchronize]

jobs:
comment:
if: github.repository_owner == 'UofT-DSI'
runs-on: ubuntu-latest
steps:
- name: Comment on PR
uses: actions/github-script@v6
with:
script: |
const issue_number = context.payload.pull_request.number;
const repo = context.repo;
const commentBody = `Hello, thank you for your contribution. If you are a participant, please close this pull request and open it in your own forked repository instead of here. Please read the instructions on your onboarding [Assignment Submission Guide](https://github.com/UofT-DSI/onboarding/blob/main/onboarding_documents/submissions.md) more carefully. If you are not a participant, please give us up to 72 hours to review your PR. Alternatively, you can reach out to us directly to expedite the review process.`;
// Check if the PR is made to a repo in the UofT-DSI organization
github.rest.issues.createComment({
owner: repo.owner,
repo: repo.repo,
issue_number: issue_number,
body: commentBody
});
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
.DS_Store
.vscode/
03_instructional_team/lessons/pdf/*
03_instructional_team/lessons/html/*

# local node modules
node_modules/
package-lock.json
package.json

### Running the assignment script unzips a large number of files into the tree
# Ignore all files in shell/02_activities/assignments/
02_activities/assignments/*

# Un-ignore the specific files
!02_activities/assignments/assignment.sh
!02_activities/assignments/assignment_instructions.md

Binary file added 01_materials/slides/optional_unix_slides.pdf
Binary file not shown.
Binary file added 01_materials/slides/unix_slides.pdf
Binary file not shown.
47 changes: 47 additions & 0 deletions 02_activities/assignments/assignment.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#!/bin/bash
set -x

############################################
# DSI CONSULTING INC. Project setup script #
############################################
# This script creates standard analysis and output directories
# for a new project. It also creates a README file with the
# project name and a brief description of the project.
# Then it unzips the raw data provided by the client.

mkdir analysis output
touch README.md
echo "# Project Name: DSI Consulting Inc." > README.md
touch analysis/main.py

# download client data
curl -Lo rawdata.zip https://github.com/UofT-DSI/shell/raw/refs/heads/main/02_activities/assignments/rawdata.zip
unzip rawdata.zip

###########################################
# Complete assignment here

# 1. Create a directory named data
mkdir data
# 2. Move the ./rawdata directory to ./data/raw
mv ./rawdata ./data/raw
# 3. List the contents of the ./data/raw directory
ls ./data/raw
# 4. In ./data/processed, create the following directories: server_logs, user_logs, and event_logs
mkdir ./data/processed
mkdir ./data/processed/server_logs ./data/processed/user_logs ./data/processed/event_logs
# 5. Copy all server log files (files with "server" in the name AND a .log extension) from ./data/raw to ./data/processed/server_logs
cp ./data/raw/*server*.log ./data/processed/server_logs
# 6. Repeat the above step for user logs and event logs
cp ./data/raw/*user*.log ./data/processed/user_logs
cp ./data/raw/*event*.log ./data/processed/event_logs
# 7. For user privacy, remove all files containing IP addresses (files with "ipaddr" in the filename) from ./data/raw and ./data/processed/user_logs
rm -rf ./data/raw/*ipaddr*
rm -rf ./data/processed/user_logs/*ipaddr*
# 8. Create a file named ./data/inventory.txt that lists all the files in the subfolders of ./data/processed
touch ls -r ./data/processed/*/* >> ./data/inventory.txt


###########################################

echo "Project setup is complete!"
93 changes: 93 additions & 0 deletions 02_activities/assignments/assignment_instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Shell / Git Assignment
You work in the data team at a consulting firm, and one of your team's products is helping companies optimize and manage their cloud hosting expenditures.

Your team has an existing bash script that initializes an analysis directory for each new client.

You've been asked to update this script to also automate the initial organization of data files provided by clients.

## Instructions

### Setup
1. **Forking the Repository**: If you have not already done so, fork this Shell learning module repository following these [instructions](https://github.com/UofT-DSI/onboarding/blob/main/onboarding_documents/submissions.md#setting-up).
- Forking creates a copy of the main repository in your GitHub account. This allows you to work on your version without affecting the original repository.
2. **Create a Branch for Your Work**: To keep your changes organized, create a new branch named `assignment`:
```bash
git checkout -b assignment
```

---

### Part 1: Update the Data Ingest Script
1. **Modify the Script**: Using the template in ``02_activities/assignments/assignment.sh``, fill in the correct commands as described by the comments.
- It may help to paste your commands into the Terminal as you write your script (or vice versa) to test as you go
2. **Test Your Script Locally**: Execute your script to ensure it works as expected. You may need to make additional tweaks and re-run it until you are satisfied with the results.
3. **Commit Your Changes**: As you complete parts of your script and confirmed that it is working correctly, commit your changes to ensure your progress is saved.
```bash
git commit assignment.sh -m "describe your changes here"
```

---

### Part 2: Merge in Updates from Your Coworkers
Your coworkers have made some other changes to the script. You'll need to incorporate their updates and resolve any conflicts.
1. **Merge the Updates**: Use the following command to pull in changes from the coworker's branch:
```bash
git pull https://github.com/UofT-DSI/shell coworker-changes --no-rebase
```
2. **Resolve Merge Conflicts**: If there are any conflicts, use ```git status``` to see which files are affected, resolve the conflicts manually, and then mark them as resolved.
3. **Commit the Merge**: Once all conflicts are resolved, commit the merge.

---

### Part 3: Test Your Script
1. **Re-test Your Script**: Make sure that your script still works after merging the updates.
2. **Optional Clean Test Setup**: If you'd like to test your script in a clean environment, follow these steps:
```bash
mkdir assignment_test_clean # make an empty directory
```
```bash
cp assignment.sh assignment_test_clean # copy your script into the empty directory
```
```bash
cd assignment_test_clean # change your working directory to the new clean directory
```
3. **Run Your Script**:
```bash
bash assignment.sh
```
4. **Verify the Output**:
- Check if the expected directories are created.
- Verify that files are moved or copied as expected.
- Ensure that files that should be deleted are no longer present.

---

### Submit Your Changes for Review
1. **Commit Your Final Changes**: Ensure all changes are committed in your `assignment` branch. You can verify this with:
```bash
git status
```
2. **Enable GitHub Actions**: Click on the **Actions** tab in your repository and enable workflows if prompted.
3. **Create a Pull Request**:
- Open a pull request from your `assignment` branch to your repository's `main` branch.
- The autograder will run automatically and post your assignment grade as a comment.

---

## Submission Information

🚨 **Please review our [Assignment Submission Guide](https://github.com/UofT-DSI/onboarding/blob/main/onboarding_documents/submissions.md)** 🚨 for detailed instructions on how to format, branch, and submit your work. Following these guidelines is crucial for your submissions to be evaluated correctly.

### Submission Parameters:
* Submission Due Date: `2025-01-15 - 23:59`
* The branch name for your repo should be: `assignment`
* What to submit for this assignment:
* One or more commits that update the `assignment.sh` script
* What the pull request link should look like for this assignment: `https://github.com/<your_github_username>/shell/pull/<pr_id>`
* Open a private window in your browser. Copy and paste the link to your pull request into the address bar. Make sure you can see your pull request properly. This helps the technical facilitator and learning support staff review your submission easily.

Checklist:
- [ ] Create a branch called `assignment`.
- [ ] Ensure that your repository is public.
- [ ] Review [the PR description guidelines](https://github.com/UofT-DSI/onboarding/blob/main/onboarding_documents/submissions.md#guidelines-for-pull-request-descriptions) and adhere to them.
- [ ] Verify that your link is accessible in a private browser window.
Binary file added 02_activities/assignments/rawdata.zip
Binary file not shown.
23 changes: 23 additions & 0 deletions 02_activities/homework/homework.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash

# 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?
54 changes: 54 additions & 0 deletions 03_instructional_team/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Instructional Team Playbook

## How do you interact with the repo?
The Technical Facilitator will deliver the content in the `/01_materials/slides` directory. You are encouraged to live code with participants during live sessions. Please ensure that live coding files are uploaded to a new directory called `/live_code` under `/04_cohort_three` in this repository using a new branch. Please open a pull request for it to be merged.

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

The `/01_materials/slides` directory contains the live learning session slides.

The `/02_activities/assignments` contains assignments participants should submit for evaluation as `complete` or `incomplete`. The assignments measure a participant's achievement of the learning outcomes, and help technical facilitators determine if a participant has successfully completed the learning module.

The `/02_activities/homework` directory contains homework participants can complete to further develop and practice the skills covered in a learning module. Homework is optional, but participants are encouraged to complete as much as they can.

### Week 1

#### Live Learning Session
The focus of the live learning session is to introduce participants to basic bash commands such as `cd` and `pwd`, as well as creating files using `touch` and directories using `mkdir`. The module also introduces intermediate commands like `rm`, 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 they use the `man` command.

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

## How do you assign assignments?
Technical Facilitators are encouraged to introduce assignments as early as possible in the learning module. The Technical Facilitator should describe the assignment to participants and explain how the topics covered in the module will equip them with the knowledge and skills to complete the assignment.

## How is an assignment is expected to be completed and delivered?
Participants are expected to complete the assignment by the end of the first week. They will deliver the assignment by opening a pull request on their copied repo. The participants will also add a Learning Support Staff as a reviewer indicating they delivered a completed assignment, and it is ready to be evaluated as `complete` or `incomplete`.

## What is the criteria for `complete` or `incomplete`?
The criteria for a `complete` or `incomplete` is if all parts of the program are working, and nothing in the code is broken. For some assignments, a rubric is provided outlining the criteria needed to assess an assignment as incomplete.

## How to evaluate?
If the participant's solution works, then their assignment should be assessed as `complete`! Technical Facilitators and the Learning Support Staff should focus on providing constructive feedback to participants who need to improve their code. If the solution does not work, then the assignment is `incomplete`. Facilitators should provide constructive feedback on their existing code, and guide them to get their solution working.

## How will feedback be given?
Feedback should be given through the pull request a participant has made. Technical Facilitators are encouraged to allow participants to make revisions if needed. In order to maximize learning, feedback should be constructive, and specific.

<hr>

## Definitions
**Live Learning Sessions**: A Live Learning Session is a synchronous period of time, lasting up to 2.5 hours, where the Technical Facilitator will facilitate and deliver the content and learning outcomes online through Zoom. Participants are encouraged to participate and ask questions as they learn. 10 minute breaks are encouraged once per hour.

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

**Assignments**: An Assignment is work assigned as part of the learning modules. They provide an opportunity for participants to integrate and synthesize what they have learned throughout the week to meet the set learning outcomes.

## generate_slides.sh

This script is designed to convert Markdown files located in a specified folder into slide presentations using Marp CLI, allowing for the generation of either HTML or PDF formats based on user input. It includes an option to apply a custom CSS theme to the slides by specifying a theme path. The script also provides a help function detailing its usage, options, and examples for convenience. It ensures the necessary directories exist, validates the presence of Marp CLI on the system, processes each Markdown file found in the specified directory, and outputs the generated slides into a designated output folder, displaying the status of each operation and a completion message. The only configuration needed is to set where the md files are and where you would like the pdf/html files to be placed.
Loading
Loading