Skip to content

Commit 3dc1e8b

Browse files
authored
feat(curriculum): adding relational DB chapter review page (freeCodeCamp#62266)
1 parent 3e3c843 commit 3dc1e8b

File tree

5 files changed

+1611
-11
lines changed

5 files changed

+1611
-11
lines changed

curriculum/challenges/english/blocks/review-bash-and-sql/6724e46581a1742244e45b59.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ This query would return all users because the condition `OR "1"="1"` is always t
202202

203203
The N+1 problem occurs when an application makes one query to retrieve a list of items (N) and then makes an additional query for each item to retrieve related data, resulting in N+1 queries.
204204

205-
**Why Its Bad**
205+
**Why It's Bad**
206206
207207
- Each query adds network and processing overhead.
208208
- Multiple small queries are slower than one optimized query.

curriculum/challenges/english/blocks/review-bash-commands/6724e387ee098d1ef33108ba.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ dashedName: review-bash-commands
5454
- **`rm`**: Delete files.
5555
- **`-r`**: Recursively delete directories and their contents.
5656
- **`echo`**: Display a line of text or a variable's value.
57+
- Use `>` to overwrite the existing content in a file. (e.g., `echo "text" > file.txt`)
5758
- Use `>>` to append output to a file **without overwriting existing content** (e.g., `echo "text" >> file.txt`).
5859
- **`exit`**: Exit the terminal session.
5960
- **`clear`**: Clear the terminal screen.

curriculum/challenges/english/blocks/review-bash-scripting/6724e417419c2f211bb41bfc.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -498,11 +498,11 @@ dashedName: review-bash-scripting
498498
499499
```bash
500500
RESPONSES=("Yes" "No" "Maybe" "Ask again later")
501-
echo ${RESPONSES[0]}
502-
echo ${RESPONSES[1]}
503-
echo ${RESPONSES[5]}
504-
echo ${RESPONSES[@]}
505-
echo ${RESPONSES[*]}
501+
echo ${RESPONSES[0]} # Yes
502+
echo ${RESPONSES[1]} # No
503+
echo ${RESPONSES[5]} # Index 5 doesn't exist; empty string
504+
echo ${RESPONSES[@]} # Yes No Maybe Ask again later
505+
echo ${RESPONSES[*]} # Yes No Maybe Ask again later
506506
```
507507
508508
- **Array inspection with declare**: Use `declare -p` to view array details.

curriculum/challenges/english/blocks/review-git/6724e4cfea0c4f2425a9d064.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ dashedName: review-git
1111

1212
- **Definition**: A version control system allows you to track and manage changes in your project. Examples of version control systems used in software are Git, SVN, or Mercurial.
1313

14-
## Cloud Based Version Control Providers
14+
## Cloud-Based Version Control Providers
1515

16-
- **List of Cloud Based Version Control Providers**: GitHub and GitLab are popular examples of cloud based version control providers that allow software teams to collaborate and manage repositories.
16+
- **List of Cloud-Based Version Control Providers**: GitHub and GitLab are popular examples of cloud-based version control providers that allow software teams to collaborate and manage repositories.
1717

1818
## Installing and Setting up Git
1919

@@ -69,7 +69,7 @@ If you choose not to set a preferred editor, then Git will default to your syste
6969

7070
## GitHub
7171

72-
- **Definition**: GitHub is a cloud-based solution that offers storage of version-controlled projects in something called "repositories", and enable collaboration features to use with those projects.
72+
- **Definition**: GitHub is a cloud-based solution that offers storage of version-controlled projects in something called "repositories", and enables collaboration features to use with those projects.
7373
- **GitHub CLI**: This tool is used to do GitHub-specific tasks without leaving the command line. If you do not have it installed, you can get instructions to do so from GitHub's documentation - but you should have it available in your system's package manager.
7474
- **GitHub Pages**: GitHub Pages is an option for deploying static sites, or applications that do not require a back-end server to handle logic. That is, applications that run entirely client-side, or in the user's browser, can be fully deployed on this platform.
7575
- **GitHub Actions**: GitHub Actions is a feature that lets you automate workflows directly in your GitHub repository including building, testing, and deploying your code.
@@ -189,6 +189,8 @@ For an SSH key, you'll run:
189189
ssh-keygen -t ed25519 -C "[email protected]"
190190
```
191191

192+
`ed25519` is a modern public-key signature algorithm.
193+
192194
- **Signing Commits with GPG Keys**: In order to sign your commits with your GPG key, you'll need to upload your public key, not the private key, to your GitHub account. To list your public keys, you will need to run the following:
193195

194196
```sh

0 commit comments

Comments
 (0)