Skip to content

Commit 5e40b3a

Browse files
author
Susan Vanderplas
committed
Graveyard and computer basics edits
1 parent b5c04b3 commit 5e40b3a

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

graveyard.qmd

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# Other Topics {#sec-other-topics}
22
This chapter is mostly here to provide a place for me to stick useful references that may help people who are wanting to expand their skills beyond tools covered in this textbook.
33

4-
## Introductory Programming
5-
### MIT's Missing Semester
6-
7-
This [set of 11 1-hour lectures](https://missing.csail.mit.edu/2020/command-line/) [@anishathalyeMissingSemesterYour] covers topics that will help you develop general programming/computing skills. The topics covered are (mostly) adjacent to things covered in this book (with the exception of version control), but it seems like an excellent way to bone up on skills like how to work with the command line, how to accomplish basic tasks at the command line, and various other things that students tend to struggle with but that we don't usually have time to go over in class in great detail.
84

95
## Using the Computer
106
### Shell Commands {#sec-shell-commands}
@@ -61,7 +57,7 @@ Otherwise, launch your system menu (usually with the Super/Windows key) and type
6157
:::
6258

6359

64-
#### Basic Terminal Commands
60+
#### Basic Terminal Commands {#sec-basic-terminal}
6561

6662
I have listed commands here for the most common languages used in each operating system.
6763
If you are using Git Bash on Windows, follow the commands for Linux/Bash. If you are using Windows PowerShell, google the commands.
@@ -82,6 +78,11 @@ Display file contents | `type <filename>` | `cat <filename>` | `cat <filename>`
8278
:::
8379

8480
## General Programming
81+
82+
### MIT's Missing Semester
83+
84+
This [set of 11 1-hour lectures](https://missing.csail.mit.edu/2020/command-line/) [@anishathalyeMissingSemesterYour] covers topics that will help you develop general programming/computing skills. The topics covered are (mostly) adjacent to things covered in this book (with the exception of version control), but it seems like an excellent way to bone up on skills like how to work with the command line, how to accomplish basic tasks at the command line, and various other things that students tend to struggle with but that we don't usually have time to go over in class in great detail.
85+
8586
### Controlling Loops with Break, Next, Continue {#sec-controlling-loops}
8687

8788
<!-- https://www.py4e.com/html3/05-iterations -->
@@ -93,11 +94,11 @@ You may want to skip over code and proceed directly to the next iteration, or, a
9394

9495
#### Break Statement
9596

96-
![A break statement is used to exit a loop prematurely](images/other/break-statement.png)
97+
![A break statement is used to exit a loop prematurely](images/other/break-statement.png){width="50%" fig-alt="Program flow diagram - first node is is 'test expression in the loop', and false exits, while true goes to a second node that says 'break?'. True exits the loop, false goes to the 'remaining body of the loop', which cycles back to 'test expression in the loop'."}
9798

9899
#### Next/Continue Statement
99100

100-
![A next (or continue) statement is used to skip the body of the loop and continue to the next iteration](images/other/next-statement-flow.png)
101+
![A next (or continue) statement is used to skip the body of the loop and continue to the next iteration](images/other/next-statement-flow.png){width="50%" fig-alt="Program flow diagram - first node is is 'test expression in the loop', and false exits, while true goes to a second node that says 'next'. True goes to 'test expression in the loop', false goes to the 'remaining body of the loop', which cycles back to 'test expression in the loop'."}
101102

102103

103104
::: callout-warning

part-tools/01-computer-basics.qmd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,4 +354,11 @@ Operating-system specific instructions cobbled together from a variety of differ
354354

355355
:::
356356

357+
358+
::: {.learnmore collapse=true}
359+
360+
#### Shell Commands {-}
361+
Check out @sec-basic-terminal for some basic shell commands in each operating system that will help you navigate your computer.
362+
363+
:::
357364
## References {#part-tools-01-refs}

0 commit comments

Comments
 (0)