Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| graph TD | |
| %% Main Header | |
| Title[ULTIMATE KNOWLEDGE GRAPH ON STORAGE IN UNIX] | |
| style Title fill:#f9f,stroke:#333,stroke-width:4px | |
| %% Physical Layer | |
| SD[STORAGE DEVICE: Piece of hardware used to store data] --> Comp[Composed of] | |
| Comp --> Drive[DRIVE: Part of device responsible for reading/writing. Now used to indicate media where data is stored.] | |
| Comp --> Disk[DISK: Media where we store data. Name from old devices that were actually disks.] | |
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
| sudo apt-get update && \ | |
| sudo apt-get install wget gpg coreutils | |
| wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg | |
| echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list | |
| sudo apt-get update && sudo apt-get install nomad |
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
| // https://shadertoy.com | |
| // tweak the frequency and let the magic happen dawg | |
| #define FREQUENCY 333. | |
| #define THICKNESS 0.004 | |
| #define Y_SHIFT 0.5 | |
| #define AMPLITUDE 0.2 | |
| #define SPEED 1. |
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
| #version 330 core | |
| #ifdef GL_ES | |
| precision highp float; | |
| #endif | |
| uniform vec2 resolution; // screen size in pixels | |
| uniform float time; | |
| uniform vec2 mouse; // normalized (0‑1) mouse position | |
| uniform sampler2D prevBuffer; |
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
| // carousel.js | |
| function generateDotsCarousel(count) { | |
| let result = ""; | |
| for (let i = 0; i < count; i++) { | |
| result += `<div class="circle"></div>`; | |
| } | |
| return result; | |
| } | |
| function map(value, inMin, inMax, outMin, outMax) { |
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
| /* | |
| spec: https://csrc.nist.gov/files/pubs/fips/197/final/docs/fips-197.pdf | |
| author: Mattia Papaccioli | |
| github: https://github.com/sbOogway | |
| email: mattiapapaccioli@gmail.com | |
| implementation of rijndael aka aes in c | |
| written for learning purposes not meant for production | |
| defects: | |
| - padding |
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
| /* | |
| specifications: https://csrc.nist.gov/files/pubs/fips/46-3/final/docs/fips46-3.pdf | |
| author: Mattia Papaccioli | |
| github: https://github.com/sbOogway | |
| email: mattiapapaccioli@gmail.com | |
| pure scala implementation of des, mostly using functional programming | |
| written for learning purposes not meant for production | |
| defects: | |
| - proper padding |
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
| bash <(curl -s https://gist.githubusercontent.com/sbOogway/e8bc5800bde2245bd3da3641d795b201/raw/6fc300e495fba6b2cb6a739d9b5339d5fe04870d/setup.sh) |