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:
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
|
||||
author: TrudeEH
|
||||
showToc: true
|
||||
weight: "32"
|
||||
---
|
||||
|
||||
## Time Complexity
|
||||
|
||||
@@ -8,7 +8,6 @@ tags:
|
||||
- programming
|
||||
author: TrudeEH
|
||||
showToc: true
|
||||
weight: "30"
|
||||
---
|
||||
|
||||
## Tools
|
||||
|
||||
@@ -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
|
||||
@@ -75,6 +74,6 @@ clean:
|
||||
```
|
||||
|
||||
```Shell
|
||||
make #Compiles hello.c
|
||||
make clean #Removes the executable (hello) generated by the make command.
|
||||
make # Compiles hello.c
|
||||
make clean # Removes the executable (hello) generated by the make command.
|
||||
```
|
||||
|
||||
@@ -8,7 +8,6 @@ tags:
|
||||
- computer-science
|
||||
author: TrudeEH
|
||||
showToc: true
|
||||
weight: "10"
|
||||
cover:
|
||||
image: LEG.png
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user