Skip to content

Commit

Permalink
OS terms, cheat sheet updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jzkyu committed Jan 28, 2024
1 parent f3d84f9 commit 518835c
Show file tree
Hide file tree
Showing 20 changed files with 98 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*Concentric movement* involves the shortening of the [[muscle]].

It's the part of the [[lift]] you're generally focused on i.e. getting the weight up. [^1]

[^1]: https://www.menshealth.com/fitness/a41736822/eccentric-vs-concentric/
7 changes: 7 additions & 0 deletions docs/Public/Fitness/Resistance Training/eccentric movement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*Eccentric movement* involves the lengthening of the [[muscle]].

For example, lowering the barbell towards your [[chest]] on a bench press. [^1]

It's good to control the weight down during the *eccentric movement*.

[^1]: https://www.menshealth.com/fitness/a41736822/eccentric-vs-concentric/
5 changes: 5 additions & 0 deletions docs/Public/Fitness/Resistance Training/isometric movement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*Isometric movement* involves holding the contraction of the [[muscle]].

Examples of *isometric movement* include planks and squat holds. [^1]

[^1]: https://www.menshealth.com/fitness/a41736822/eccentric-vs-concentric/
6 changes: 6 additions & 0 deletions docs/Public/Fitness/Resistance Training/lift.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
A *lift* is where you exert force from your muscles ([[muscle]]) overcome the weight, such as a dumbbell or barbell.

There are three phases:
- [[concentric movement]]
- [[eccentric movement]]
- [[isometric movement]]
5 changes: 5 additions & 0 deletions docs/Public/Fitness/Resistance Training/tension.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*Tension* refers to a [[muscle]] under strain.

By putting the muscle in tension for longer periods of time, the muscle fibers will further break down, leading to more muscle growth. [^1]

[^1]: https://www.mensjournal.com/health-fitness/gain-big-with-time-under-tension-training
7 changes: 7 additions & 0 deletions docs/Public/Fitness/Resistance Training/training tempo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*Training tempo* refers to the time spent between the [[eccentric movement]], [[concentric movement]], and [[isometric movement]] in a [[lift]].

In other words, the time between lifting, lowering, and pausing.

Maintaining a steady *training tempo* is important. A typical split would be 2 / 4 / 0. [^1]

[^1]: https://www.mensjournal.com/health-fitness/gain-big-with-time-under-tension-training
5 changes: 3 additions & 2 deletions docs/Public/Fitness/Resistance Training/training variables.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
*Training variables* are the most fundamental component of any training program. Th variables determine the amount of stress you put on your body, which will eventually lead to the adaptations you want to achieve in your muscles.
*Training variables* are the most fundamental component of any training program. The variables determine the amount of stress you put on your body, which will eventually lead to the adaptations you want to achieve in your muscles.

*Training variables* include:
- [[training repetition]]
- [[training set]]
- [[training intensity]]
- [[training volume]]
- [[training rest]]
- [[training rest]]
- [[training tempo]]
3 changes: 2 additions & 1 deletion docs/Public/Index/to-do.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- [ ] Look into Obsidian Publish
- [ ] Look into [Quartz](https://quartz.jzhao.xyz/)
- [ ] Look into tools to help organize videos / articles / etc summaries
- [ ] Look into tools to help organize videos / articles / etc summaries
- [ ] Add tags for notes that are unfinished, need fixing, etc.
3 changes: 3 additions & 0 deletions docs/Public/MOC/GitHub cheat sheet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Open new repository: `repo.new`

Check lines / contributors: `/graphs/contributors`
1 change: 1 addition & 0 deletions docs/Public/MOC/cheat sheets.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Tools:
- [[Obsidian cheat sheet]]
- [[MacOS cheat sheet]]
- [[VSCode cheat sheet]]
- [[GitHub cheat sheet]]
- [[circuit cheat sheet]]

Syntax:
Expand Down
2 changes: 2 additions & 0 deletions docs/Public/Misc/quotes.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
"I was never addicted to gaming, I was addicted to the feeling of leveling up" - Luke Made It

"It is possible to commit no mistakes in life and still lose. That is not weakness. It is life" - Picard

13 changes: 13 additions & 0 deletions docs/Public/Software/Operating Systems/dual-mode operation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
*Dual-mode operation* makes a trade-off between a user mode and kernel mode when executing programs.

There are distinct execution modes supported directly in hardware:
- In kernel mode, a process has full [[privilege]] with the hardware
- In user mode, a process has limited privilege on the hardware

What *dual-mode operation* provides for the hardware:
- Privileged instructions
- Exception handler: will talk to kernel if a process has gone bad
- [[memory protection]]
- Timer interrupts
- Mode switch

1 change: 1 addition & 0 deletions docs/Public/Software/Operating Systems/interrupt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
An *interrupt* is a way for an external [[process]] to interrupt the normal flow of a [[CPU]]'s execution.
9 changes: 9 additions & 0 deletions docs/Public/Software/Operating Systems/memory protection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*Memory protection* is done by the [[operating system]] to enforce [[memory]] boundaries to a [[process]].

If the code tries to access unauthorized memory, it will call an [[exception]].

Some ways to *protect memory* are:
- Basic segmentation
- Memory area defined by base and bound pair
- Virtual memory
- Runtime translation between virtual and physical address spaces
11 changes: 11 additions & 0 deletions docs/Public/Software/Operating Systems/privilege.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
*Privilege* refers to the level of access to the [[hardware]] of a computer.

It's necessary to have a separation for a few reasons:
- Security
- To prevent unauthorized access and potential misuse of hardware devices
- Isolation
- Keeping processes ([[process]]) from interfering with each other
- Resource management
- To allocate hardware resources efficiently
- System Integrity
- To ensure critical system files, configurations, and [[data]] are protected from unauthorized modifications that can jeopardize the system
3 changes: 3 additions & 0 deletions docs/Public/Software/Operating Systems/timer interrupt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
A *timer interrupt* is a type of [[interrupt]] that is generated by a [[hardware]] timer at regular intervals.

This *timer* will periodically interrupt and access the situation of the processes ([[process]]) running.
4 changes: 4 additions & 0 deletions docs/Public/Software/Tools/Productivity/Arc cheat sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
`ctrl` + `shift` + `=`: Add split view
`ctrl` + `shift` + `-`: Remove existing split view

`ctrl` + `shift` + `[ / ]`: Switch to prev / next view

`cmd` + `l`: Edit url of current view

`cmd` + `shift` + `c`: Copy the current page URL

`cmd` + `t`: Command prompt (Enter 'edit keyboard shortcuts')
Expand Down
7 changes: 6 additions & 1 deletion docs/Public/Software/Tools/VSCode cheat sheet.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
`ctrl` + `J`: toggles terminal
`ctrl` + `J`: Toggles terminal

`cmd` + `P`: Navigate to file
`ctrl` + `tab`: Cycle through the last set of files opened

`shift` + `tab`: Indent highlighted text left
3 changes: 1 addition & 2 deletions docs/Public/Software/Tools/git cheat sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ Connect local repo to remote repo: `git remote add origin <url_to_github_repo>`

Show current branch: `git branch --show-current`



Retrieve changes from remote repository, but does not automatically merge them into local branch: `git fetch`
6 changes: 4 additions & 2 deletions docs/Public/Software/Tools/vim cheat sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

`10j` - jump down 10 lines

`fx` - jump to next occurrence of `x`
`fx` - jump to next occurrence of `x` (including numbers)
`Fx` - jump to prev occurrence of `x`
`;` - repeat prev movement
`,` - repeat prev movement, backwards
Expand All @@ -21,4 +21,6 @@
`u` - undo
### Visual mode

`b` - select everything in a block
`b` - select everything in a block

`vi"` - jumps to and highlights next instance of `"`

0 comments on commit 518835c

Please sign in to comment.