Add an index to the notes section

This commit is contained in:
2025-03-25 14:22:45 +00:00
parent e89a63e30c
commit 8e4530d3d2
8 changed files with 91 additions and 37 deletions

View File

@@ -44,7 +44,7 @@ params:
social: true
mainSections:
- 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:
text: "TrudeEH"
@@ -95,6 +95,8 @@ params:
url: /portfolio/
- name: My Notes
url: /notes/
- name: Computer Science Guide
url: /notes/index/
# home-info mode
homeInfoParams:

View File

@@ -17,6 +17,6 @@
"repelStrength": 10,
"linkStrength": 1,
"linkDistance": 250,
"scale": 0.19003251510787372,
"scale": 0.12668834340524915,
"close": true
}

View File

@@ -4,24 +4,39 @@
"type": "split",
"children": [
{
"id": "da1c1c5ba8d6b94f",
"id": "900961c3a85bfabb",
"type": "tabs",
"children": [
{
"id": "ab03f7100c1ce0fb",
"id": "2fdb7f37153cc3f1",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "notes/ready/gdb.md",
"file": "notes/ready/wsl2.md",
"mode": "source",
"source": false
},
"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"
@@ -141,13 +156,13 @@
"state": {
"type": "outline",
"state": {
"file": "notes/ready/gdb.md",
"file": "notes/index/index.md",
"followCursor": false,
"showSearch": false,
"searchQuery": ""
},
"icon": "lucide-list",
"title": "Outline of gdb"
"title": "Outline of index"
}
},
{
@@ -170,8 +185,8 @@
"left-ribbon": {
"hiddenItems": {
"switcher:Open quick switcher": false,
"graph:Open graph view": false,
"canvas:Create new canvas": false,
"graph:Open graph view": false,
"daily-notes:Open today's daily note": false,
"templates:Insert template": false,
"command-palette:Open command palette": false,
@@ -179,12 +194,25 @@
"table-editor-obsidian:Advanced Tables Toolbar": false
}
},
"active": "ab03f7100c1ce0fb",
"active": "941ff0fdeadcd9b5",
"lastOpenFiles": [
"notes/ready/wsl2.md",
"notes/index/index.md",
"notes/ready/algorithms_and_data/index.md",
"notes/ready/how_to_computer/index.md",
"notes/ready/compiling.md",
"notes/ready/how_to_computer/index 1.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",
"posts/dotfiles.md",
"posts/exploring-freebsd.md",
@@ -196,17 +224,6 @@
"textgenerator/templates/awesomePrompts/storytellerAwesome.md",
"textgenerator/templates/awesomePrompts/techwriterAwesome.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",
"textgenerator",

View 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`

View File

@@ -7,7 +7,6 @@ tags:
- programming
author: TrudeEH
showToc: true
weight: "32"
---
## Time Complexity

View File

@@ -8,7 +8,6 @@ tags:
- programming
author: TrudeEH
showToc: true
weight: "30"
---
## Tools

View File

@@ -7,19 +7,18 @@ tags:
- programming
author: TrudeEH
showToc: true
weight: "31"
---
Convert `C` code into machine code in 4 steps:
1. **Preprocessing** (Convert all preprocessor instructions: `#…`)
2. **Compiling** (Convert `C` code to machine code)
3. **Assembling** (Compile the necessary libraries)
4. **Linking** (Merge the compiled code with the compiled libraries)
A compiler converts `C` code into machine code in 4 steps:
1. **Preprocessing** (Convert all preprocessor instructions (`#…`) to C code.)
2. **Compiling** (Convert `C` code to assembly.)
3. **Assembling** (Compile the necessary libraries.)
4. **Linking** (Merge the compiled code with the compiled 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
@@ -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.
```
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
gcc -o hello hello.c -lcs50

View File

@@ -8,7 +8,6 @@ tags:
- computer-science
author: TrudeEH
showToc: true
weight: "10"
cover:
image: LEG.png
---