mirror of
https://github.com/TrudeEH/web.git
synced 2025-12-06 08:23:37 +00:00
Add an index to the notes section
This commit is contained in:
@@ -44,7 +44,7 @@ params:
|
|||||||
social: true
|
social: true
|
||||||
mainSections:
|
mainSections:
|
||||||
- posts
|
- posts
|
||||||
- notes # Notes don't have a date, so only the selected ones rise to the top
|
#- notes # Notes don't have a date, so only the selected ones rise to the top
|
||||||
|
|
||||||
label:
|
label:
|
||||||
text: "TrudeEH"
|
text: "TrudeEH"
|
||||||
@@ -95,6 +95,8 @@ params:
|
|||||||
url: /portfolio/
|
url: /portfolio/
|
||||||
- name: My Notes
|
- name: My Notes
|
||||||
url: /notes/
|
url: /notes/
|
||||||
|
- name: Computer Science Guide
|
||||||
|
url: /notes/index/
|
||||||
|
|
||||||
# home-info mode
|
# home-info mode
|
||||||
homeInfoParams:
|
homeInfoParams:
|
||||||
|
|||||||
2
content/.obsidian/graph.json
vendored
2
content/.obsidian/graph.json
vendored
@@ -17,6 +17,6 @@
|
|||||||
"repelStrength": 10,
|
"repelStrength": 10,
|
||||||
"linkStrength": 1,
|
"linkStrength": 1,
|
||||||
"linkDistance": 250,
|
"linkDistance": 250,
|
||||||
"scale": 0.19003251510787372,
|
"scale": 0.12668834340524915,
|
||||||
"close": true
|
"close": true
|
||||||
}
|
}
|
||||||
61
content/.obsidian/workspace.json
vendored
61
content/.obsidian/workspace.json
vendored
@@ -4,24 +4,39 @@
|
|||||||
"type": "split",
|
"type": "split",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "da1c1c5ba8d6b94f",
|
"id": "900961c3a85bfabb",
|
||||||
"type": "tabs",
|
"type": "tabs",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "ab03f7100c1ce0fb",
|
"id": "2fdb7f37153cc3f1",
|
||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "notes/ready/gdb.md",
|
"file": "notes/ready/wsl2.md",
|
||||||
"mode": "source",
|
"mode": "source",
|
||||||
"source": false
|
"source": false
|
||||||
},
|
},
|
||||||
"icon": "lucide-file",
|
"icon": "lucide-file",
|
||||||
"title": "gdb"
|
"title": "wsl2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "941ff0fdeadcd9b5",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "markdown",
|
||||||
|
"state": {
|
||||||
|
"file": "notes/index/index.md",
|
||||||
|
"mode": "source",
|
||||||
|
"source": false
|
||||||
|
},
|
||||||
|
"icon": "lucide-file",
|
||||||
|
"title": "index"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"currentTab": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "vertical"
|
"direction": "vertical"
|
||||||
@@ -141,13 +156,13 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "outline",
|
"type": "outline",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "notes/ready/gdb.md",
|
"file": "notes/index/index.md",
|
||||||
"followCursor": false,
|
"followCursor": false,
|
||||||
"showSearch": false,
|
"showSearch": false,
|
||||||
"searchQuery": ""
|
"searchQuery": ""
|
||||||
},
|
},
|
||||||
"icon": "lucide-list",
|
"icon": "lucide-list",
|
||||||
"title": "Outline of gdb"
|
"title": "Outline of index"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -170,8 +185,8 @@
|
|||||||
"left-ribbon": {
|
"left-ribbon": {
|
||||||
"hiddenItems": {
|
"hiddenItems": {
|
||||||
"switcher:Open quick switcher": false,
|
"switcher:Open quick switcher": false,
|
||||||
"graph:Open graph view": false,
|
|
||||||
"canvas:Create new canvas": false,
|
"canvas:Create new canvas": false,
|
||||||
|
"graph:Open graph view": false,
|
||||||
"daily-notes:Open today's daily note": false,
|
"daily-notes:Open today's daily note": false,
|
||||||
"templates:Insert template": false,
|
"templates:Insert template": false,
|
||||||
"command-palette:Open command palette": false,
|
"command-palette:Open command palette": false,
|
||||||
@@ -179,12 +194,25 @@
|
|||||||
"table-editor-obsidian:Advanced Tables Toolbar": false
|
"table-editor-obsidian:Advanced Tables Toolbar": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "ab03f7100c1ce0fb",
|
"active": "941ff0fdeadcd9b5",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
|
"notes/ready/wsl2.md",
|
||||||
|
"notes/index/index.md",
|
||||||
"notes/ready/algorithms_and_data/index.md",
|
"notes/ready/algorithms_and_data/index.md",
|
||||||
"notes/ready/how_to_computer/index.md",
|
"notes/ready/how_to_computer/index 1.md",
|
||||||
"notes/ready/compiling.md",
|
|
||||||
"notes/ready/c-language.md",
|
"notes/ready/c-language.md",
|
||||||
|
"notes/index",
|
||||||
|
"notes/cs/index.md",
|
||||||
|
"notes/cs",
|
||||||
|
"posts/linux-starter-guide/index.md",
|
||||||
|
"notes/drafts/nvim.md",
|
||||||
|
"_Templates/note.md",
|
||||||
|
"notes/ready/how_to_computer/index.md",
|
||||||
|
"notes/ready/databases/index.md",
|
||||||
|
"notes/ready/python.md",
|
||||||
|
"notes/ready/compiling.md",
|
||||||
|
"notes/Untitled.md",
|
||||||
|
"notes/ready/gdb.md",
|
||||||
"notes/ready/c-snippets.md",
|
"notes/ready/c-snippets.md",
|
||||||
"posts/dotfiles.md",
|
"posts/dotfiles.md",
|
||||||
"posts/exploring-freebsd.md",
|
"posts/exploring-freebsd.md",
|
||||||
@@ -196,17 +224,6 @@
|
|||||||
"textgenerator/templates/awesomePrompts/storytellerAwesome.md",
|
"textgenerator/templates/awesomePrompts/storytellerAwesome.md",
|
||||||
"textgenerator/templates/awesomePrompts/techwriterAwesome.md",
|
"textgenerator/templates/awesomePrompts/techwriterAwesome.md",
|
||||||
"textgenerator/templates/awesomePrompts/startuptechlawyerAwesome.md",
|
"textgenerator/templates/awesomePrompts/startuptechlawyerAwesome.md",
|
||||||
"textgenerator/templates/awesomePrompts/tictactoegameAwesome.md",
|
|
||||||
"textgenerator/templates/awesomePrompts/timetravelguideAwesome.md",
|
|
||||||
"textgenerator/templates/awesomePrompts/regexgeneratorAwesome.md",
|
|
||||||
"textgenerator/templates/awesomePrompts/travelguideAwesome.md",
|
|
||||||
"textgenerator/templates/awesomePrompts/teatasterAwesome.md",
|
|
||||||
"textgenerator/templates/awesomePrompts/seniorfrontenddeveloperAwesome.md",
|
|
||||||
"textgenerator/templates/awesomePrompts/talentcoachAwesome.md",
|
|
||||||
"textgenerator/templates/awesomePrompts/positioninterviewerAwesome.md",
|
|
||||||
"textgenerator/templates/awesomePrompts/salespersonAwesome.md",
|
|
||||||
"textgenerator/templates/awesomePrompts/stackoverflowpostAwesome.md",
|
|
||||||
"textgenerator/templates/awesomePrompts/spokenenglishteacherandimproverAwesome.md",
|
|
||||||
"textgenerator/templates/awesomePrompts",
|
"textgenerator/templates/awesomePrompts",
|
||||||
"textgenerator/templates",
|
"textgenerator/templates",
|
||||||
"textgenerator",
|
"textgenerator",
|
||||||
|
|||||||
39
content/notes/index/index.md
Normal file
39
content/notes/index/index.md
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
title: Computer Science
|
||||||
|
description: Trude's Guide to Computer Science
|
||||||
|
summary: "[Notes Index] Trude's Guide to Computer Science"
|
||||||
|
draft: false
|
||||||
|
tags:
|
||||||
|
author: TrudeEH
|
||||||
|
showToc: true
|
||||||
|
weight: "1"
|
||||||
|
---
|
||||||
|
|
||||||
|
- [Building a Computer From Scratch](../ready/how_to_computer/)
|
||||||
|
- Linux - `Coming Soon!`
|
||||||
|
- [C](../ready/c-language/)
|
||||||
|
- [Compiling](../ready/compiling/) `Make` `GCC` `Clang`
|
||||||
|
- [Debugging](../ready/gdb/) `GDB`
|
||||||
|
- [Snippets](../ready/c-snippets/)
|
||||||
|
- [Algorithms & Data Structures](../ready/algorithms_and_data/)
|
||||||
|
- Rust Lang - `Coming Soon!`
|
||||||
|
- GUI Apps `GTK4` - `Coming Soon!`
|
||||||
|
- [Python](../ready/python/)
|
||||||
|
- [Flask](../ready/flask/)
|
||||||
|
- [Databases](../ready/databases/) `SQL`
|
||||||
|
- Networking
|
||||||
|
- [HTTP](../ready/http/) `CURL`
|
||||||
|
- [Encryption](../ready/encryption/) `GPG`
|
||||||
|
- [HTTPS and SSL Certificates](../ready/https-ssl-certs/) `Certbot`
|
||||||
|
- [SSH](../ready/ssh/)
|
||||||
|
- [Firewall](../ready/firewall/) `UFW`
|
||||||
|
- [IRC](../ready/irc/)
|
||||||
|
- Web Development
|
||||||
|
- [HTML](../ready/html/)
|
||||||
|
- CSS - `Coming Soon!`
|
||||||
|
- JS - `Coming Soon!`
|
||||||
|
- Tools
|
||||||
|
- [Version Control](../ready/git/) `GIT`
|
||||||
|
- [Password Manager](../ready/pass/) `PASS`
|
||||||
|
- [Terminal Multiplexer](../ready/tmux/) `TMUX`
|
||||||
|
- [Linux on Windows](../ready/wsl2/) `WSL2`
|
||||||
@@ -7,7 +7,6 @@ tags:
|
|||||||
- programming
|
- programming
|
||||||
author: TrudeEH
|
author: TrudeEH
|
||||||
showToc: true
|
showToc: true
|
||||||
weight: "32"
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Time Complexity
|
## Time Complexity
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ tags:
|
|||||||
- programming
|
- programming
|
||||||
author: TrudeEH
|
author: TrudeEH
|
||||||
showToc: true
|
showToc: true
|
||||||
weight: "30"
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Tools
|
## Tools
|
||||||
|
|||||||
@@ -7,19 +7,18 @@ tags:
|
|||||||
- programming
|
- programming
|
||||||
author: TrudeEH
|
author: TrudeEH
|
||||||
showToc: true
|
showToc: true
|
||||||
weight: "31"
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
Convert `C` code into machine code in 4 steps:
|
A compiler converts `C` code into machine code in 4 steps:
|
||||||
1. **Preprocessing** (Convert all preprocessor instructions: `#…`)
|
1. **Preprocessing** (Convert all preprocessor instructions (`#…`) to C code.)
|
||||||
2. **Compiling** (Convert `C` code to machine code)
|
2. **Compiling** (Convert `C` code to assembly.)
|
||||||
3. **Assembling** (Compile the necessary libraries)
|
3. **Assembling** (Compile the necessary libraries.)
|
||||||
4. **Linking** (Merge the compiled code with the compiled libraries)
|
4. **Linking** (Merge the compiled code with the compiled libraries.)
|
||||||
|
|
||||||
## Libraries
|
## Libraries
|
||||||
|
|
||||||
Libraries are pre-written collections of code that can be reused in other programs. On **UNIX* systems, they are usually located in the `/lib/` and `/usr/include` directories.
|
Libraries are pre-written collections of code that can be reused in other programs. On *UNIX* systems, they are usually located in the `/lib/` and `/usr/include` directories.
|
||||||
|
|
||||||
### Math.h
|
### Math.h
|
||||||
|
|
||||||
@@ -47,7 +46,7 @@ To use a library, we first have to include it in the `C` code.
|
|||||||
#include <cs50.h> // cs50.h library will be included.
|
#include <cs50.h> // cs50.h library will be included.
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, the library must be linked at compile time.
|
Then, the library must be linked at compile time (unless it is part of the C standard).
|
||||||
|
|
||||||
```Shell
|
```Shell
|
||||||
gcc -o hello hello.c -lcs50
|
gcc -o hello hello.c -lcs50
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ tags:
|
|||||||
- computer-science
|
- computer-science
|
||||||
author: TrudeEH
|
author: TrudeEH
|
||||||
showToc: true
|
showToc: true
|
||||||
weight: "10"
|
|
||||||
cover:
|
cover:
|
||||||
image: LEG.png
|
image: LEG.png
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user