Skip to content

Commit 1d2da90

Browse files
committed
Replacing dashes with underscores
1 parent bfa4490 commit 1d2da90

39 files changed

+57
-158
lines changed

01-slides/1_motivation-big-o.ipynb renamed to 01_slides/1_motivation_big_o.ipynb

+2-2
Large diffs are not rendered by default.

01-slides/2_ds-search-sort.ipynb renamed to 01_slides/2_ds_search_sort.ipynb

+2-2
Large diffs are not rendered by default.

01-slides/3_recursion.ipynb renamed to 01_slides/3_recursion.ipynb

+10-10
Large diffs are not rendered by default.

01-slides/4_recursive-ds.ipynb renamed to 01_slides/4_recursive_ds.ipynb

+17-17
Large diffs are not rendered by default.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

04-instructors/README.md renamed to 04_instructors/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# Technical Facilitator Playbook
22

33
## How do you interact with the repo?
4-
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.
4+
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.
55

66
## How does the module flow?
77
The module is organized into 4 main directories:
88
1. Slides
99
2. Assignments
1010
3. Homework
1111

12-
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.
12+
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.
1313

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

16-
The `/04-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.
16+
The `/04-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.
1717

1818
### Week 1
1919

04_instructors/snake_case_replacer.sh

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
echo "Starting script to replace dashes with underscores"
4+
dirlist=(`ls ./*`)
5+
6+
if [ ${#dirlist[@]} -eq 0 ]; then
7+
echo "No files in directory, exiting."
8+
exit 0
9+
fi
10+
11+
for filename in ${dirlist[*]}
12+
do
13+
mv "./$filename" `echo $filename | tr "-" "_" | tr "[:upper:]" "[:lower:]"`
14+
done
15+
16+
echo "Finished."

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ There will be a live coding component in most classes. Students are expected to
7575
The module will run sychronously three times a week on Zoom. The first three days are used as "lectures" and will last a maximum of 3 hours. During this time, the Technical Facilitator will introduce the concepts for the week. The last day is used for as optional, asychronous work periods. The work periods will also last for up to 3 hours. During the work period, an Technical Facilitator or TA will be present on Zoom to assist learners reach the intended learning outcomes.
7676

7777
### How the Technical Facilitator will deliver
78-
The Technical Facilitators will introduce the concepts through a collaborative live coding session usiing the Python notebooks found under `/01-slides`. All Technical Facilitators will also upload any live coding files to this repository for any learners to revisit under `/live-code`.
78+
The Technical Facilitators will introduce the concepts through a collaborative live coding session usiing the Python notebooks found under `/01_slides`. All Technical Facilitators will also upload any live coding files to this repository for any learners to revisit under `/live_code`.
7979

8080
### Expectations
8181
Learners are encouraged to be active participants while coding and are encouraged to ask questions throughout the module.
@@ -144,10 +144,10 @@ Feel free to use the following as resources:
144144

145145
```markdown
146146
.
147-
├── 01-slides
148-
├── 02-assignments
149-
├── 03-homework
150-
├── 04-instructors
147+
├── 01_slides
148+
├── 02_assignments
149+
├── 03_homework
150+
├── 04_instructors
151151
├── LICENSE
152152
├── README.md
153153
└── steps_to_ask_for_help.png
@@ -156,7 +156,7 @@ Feel free to use the following as resources:
156156
* **slides:** Course slides as interactive notebooks (.ipynb files)
157157
* **html slides:** Course slides as HTML files that can be downloaded and viewed in a web browser
158158
* **pdf slides:** Course slides as PDF files
159-
* **live-coding:** Notebooks from class live coding sessions
159+
* **live_coding:** Notebooks from class live coding sessions
160160
* **homework:** Optional homework to practice concepts covered in class
161161
* **assignments:** Graded assignments
162162
* **instructors:** Instructions for the Technical Facilitator on what to teach

assignments/assignment 1.md

-56
This file was deleted.

assignments/assignment 2.md

-61
This file was deleted.

0 commit comments

Comments
 (0)