Skip to content

Commit 0da5db7

Browse files
authored
feat: spring resources (#11)
* feat: add presentation resources, git prune * chore: update astro version * chore: update libs * feat: hotkeys and presentation
1 parent e23ddee commit 0da5db7

File tree

5 files changed

+103
-16
lines changed

5 files changed

+103
-16
lines changed

bun.lockb

31.6 KB
Binary file not shown.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"@astrojs/check": "0.9.4",
14-
"@astrojs/starlight": "0.34.3",
15-
"@astrojs/vue": "5.0.13",
16-
"astro": "5.7.13",
17-
"sharp": "^0.32.5",
18-
"typescript": "^5.5.2",
19-
"vue": "^3.4.31"
13+
"@astrojs/check": "0.9.6",
14+
"@astrojs/starlight": "0.37.1",
15+
"@astrojs/vue": "5.1.3",
16+
"astro": "5.16.5",
17+
"sharp": "^0.34.5",
18+
"typescript": "^5.9.3",
19+
"vue": "^3.5.25"
2020
}
2121
}

src/content/docs/gcs/hotkeys.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
title: Useful Hotkeys
3+
sidebar:
4+
order: 1
5+
---
6+
7+
## General Hotkeys
8+
### Selecting by Word
9+
- **Windows/Linux**: `Ctrl + Shift + Left/Right Arrow`
10+
- **Mac**: `Option + Shift + Left/Right Arrow`
11+
12+
### Deleting by Word
13+
- **Windows/Linux**: `Ctrl + Backspace` (to delete left), `Ctrl + Delete` (to delete right)
14+
- **Mac**: `Option + Backspace` (to delete left), `Option + Delete` (to delete right)
15+
16+
17+
18+
## VSCode Hotkeys (Applies to Leetcode Too)
19+
### Commenting/Uncommenting Code (Code Agnostic / Language Independent)
20+
- **Windows/Linux**: `Ctrl + /`
21+
- **Mac**: `Cmd + /`
22+
23+
### Scope Selection (Expand Selection)
24+
- **Windows/Linux**: `Ctrl + Alt + Right Arrow`
25+
- **Mac**: `Cmd + Alt + Right Arrow`
26+
27+
### Multi-Cursor Selection
28+
- **Windows/Linux**: `Ctrl + Alt + Down/Up Arrow`
29+
- **Mac**: `Option + Cmd + Down/Up Arrow`
30+
31+
* Alternatively, you can hold `Alt` (Windows/Linux) or `Option` (Mac) and click at multiple locations to place multiple cursors.
32+
* Another option is to select a word and then press `Ctrl + D` (Windows/Linux) or `Cmd + D` (Mac) to select the next occurrence of that word.
33+
34+
### Vertical Cursor (Column) Selection
35+
- **Windows/Linux**: `Shift + Alt` and drag with mouse or use `Shift + Alt + Arrow Keys`
36+
- **Mac**: `Option + Cmd` and drag with mouse or use `Option + Cmd + Arrow Keys`
37+
38+
### Move Line Up/Down
39+
- **Windows/Linux**: `Alt + Up/Down Arrow`
40+
- **Mac**: `Option + Up/Down Arrow`
41+
42+
### Duplicate Line
43+
- **Windows/Linux**: `Shift + Alt + Down Arrow`
44+
- **Mac**: `Option + Shift + Down Arrow`
45+
46+
### Closing Folders in Explorer Custom Hotkey
47+
- Searching up for "collapse" in the Keyboard Shortcuts settings can help you find and customize this command further.
48+
- Additionally, you can adjust the following setting in your `keybindings.json` file to close all folders in the Explorer view:
49+
```json
50+
{
51+
"key": "ctrl+k",
52+
"command": "workbench.files.action.collapseExplorerFolders",
53+
"when": "explorerViewletVisible && filesExplorerFocus"
54+
}
55+
```
56+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Presentation Resources
3+
description: Tips and resources for creating presentations for NGCP
4+
sidebar:
5+
order: 1
6+
---
7+
8+
9+
## Helpful Resources to keep in mind when creating presentations
10+
- https://web.eecs.utk.edu/~bvanderz/presentation.html
11+
- https://slidemodel.com/7x7-rule-in-powerpoint/
12+
13+
## Common Mistakes and Pitfalls to Avoid
14+
- Overloading slides with text (make actual bullet points, not sentences)
15+
- Don't use periods and write sentences
16+
- Assume the audience has poor eyesight: make fonts large enough to be seen from the back of the room
17+
- DON'T USE THE COLORS RED AND GREEN TOGETHER

src/content/docs/gcs/resources.md

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,39 @@
11
---
2-
title: Resources
2+
title: General Resources
33
description: External resources useful for members of the NGCP project
44
sidebar:
55
order: 1
66
---
77

8-
# Ground Control Station
9-
## General
8+
## Version Control
9+
### Pruning Branches (Deleting Old Merged in Branches)
10+
```
11+
git pull --prune
12+
```
13+
* This command deletes branches that have been deleted from the remote repository.
1014

11-
### Version Control
15+
---
16+
```
17+
git branch -vv | grep ": gone" | awk '{print $1}' | xargs git branch -D
18+
```
19+
* This command deletes local branches that have already been merged and deleted from the remote repository.
20+
21+
22+
23+
### General Resources
1224
* [GitHub Pull Requests in 100 Seconds](https://www.youtube.com/watch?v=8lGpZkjnkt4) `video`
1325
* [Using Git in VS Code](https://www.youtube.com/watch?v=lYiE5lBS13E) `video`
1426
* [An Intro to Git and GitHub for Beginners](https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners) `blog`
1527
* [Git Commands Cheat Sheet](https://education.github.com/git-cheat-sheet-education.pdf) `PDF`
1628
* [Common Conventions for Writing Commit Titles](https://www.conventionalcommits.org/en/v1.0.0-beta.2/) `docs` `article`
29+
* [More Conventions for Writing Commit Titles](https://www.freecodecamp.org/news/how-to-write-better-git-commit-messages/) `docs` `article`
1730

18-
### Docker
19-
* [Docker Setup](../../archive-gcs/database-23-24/docker-setup/) `docs`
2031

21-
### Linux
32+
33+
34+
35+
## Docker
36+
* [Docker Setup](../../archive-gcs/database-23-24/docker-setup/) `docs`
2237

2338

2439
## Electronics Infrastructure
@@ -29,8 +44,7 @@ sidebar:
2944
- [Build your own weather station](https://projects.raspberrypi.org/en/projects/build-your-own-weather-station) - tutorial of a more basic version of the Data Hub
3045
- [Raspberry Pi Shell Scripting](https://medium.com/coinmonks/raspberry-pi-3-model-b-shell-scripting-door-monitor-b44944f82d87) - tutorial introduction to universal way to read/write data with GPIO pins on RPi's
3146
- [GPIO Programming using `sysfs` Linux interface](https://www.ics.com/blog/gpio-programming-using-sysfs-interface) - language agnostic way to read/write from GPIO pins
32-
33-
###
47+
3448

3549
## Vehicle Integration
3650

0 commit comments

Comments
 (0)