This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ///// SOME BASICS ///// | |
| Library | |
| ======= | |
| - contain definitions/implementations of functions, types, constants etc. | |
| - contain 2 parts | |
| 1. Application Programming Interface (*.h files) | |
| - PURPOSE: specify what a library provides to it's users | |
| - defines function prototypes, constants, global variables, types etc. | |
| 2. Implementation (*.c files) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // COLOR THEME & ICON THEME | |
| "workbench.colorTheme": "Gruvbox Dark Soft", | |
| "workbench.iconTheme": "bearded-icons", | |
| // FONT SETTINGS | |
| "editor.fontFamily": "'Cascadia Code', Consolas, 'Courier New', monospace", | |
| "editor.fontWeight": "400", | |
| "editor.fontLigatures": true, | |
| "editor.fontSize": 14, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [user] | |
| name = thekomali | |
| email = 250548503+thekomali@users.noreply.github.com | |
| [init] | |
| defaultBranch = main | |
| [help] | |
| # if command is mistyped - auto correct and executes it (delay 10 deciseconds) | |
| autocorrect = 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser | |
| # ;Enable execution of scripts for current user | |
| # $profile ;Check the profile path | |
| # test-path $profile ;Test if the profile is already created | |
| # New-Item -Path $profile -Type File -Force | |
| # ;Create a new powershell profile file | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Custom Prompt | |
| export PS1='\[\e[0;32m\][\[\e[1;32m\]\u@\h\[\e[0m\] \[\e[1;34m\]\W\[\e[0;32m\]]\[\e[1;36m\]\\$ \[\e[0m\]' | |
| # System Aliases | |
| alias l='ls -CF --color=auto' | |
| alias ll='ls -lh' | |
| alias la='ls -lAh' | |
| alias rm='rm -i' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // COMPILATION STAGES // | |
| -E -S -c | |
| file.c --> PREPROCESSOR --> COMPILER --> ASSEMBLER --> LINKER --> a.out | |
| (file.i) (file.s) (file.o) | | |
| | | |
| library | |
| (*.a or *.lib - static lib) | |
| (*.so or .dll - dynamic lib) | |
| *.i - (text) preprocessed source code (source code expanded) |