A Slatepencil Documentation website
a site to keep notes of things.
| Nillius in Verba
| Stay hungry, Stay foolish
| To progress and to revive
| Efficiency: env >> direction >> methods >> strength & courage
Directory
- Artifical Intelligence
- Electronic Engineering and Computer Science
- Internet of things
- Languages
- Linux
- Matemática
- Miscellaneous
Languages
LINK | LINK | LINK | LINK |
---|---|---|---|
Markdown | English | French | |
Python | CMD | Power Shell | Javascript |
C | OpenGL | CMake |
Linux
LINK | LINK | LINK | LINK |
---|---|---|---|
Network | UFW | GIT | Docker |
Kubenetes | SSL | SSH |
IOT
LINK | LINK | LINK | LINK |
---|---|---|---|
AT89C52RC | Arduino | ESP32 | Exynos |
Useful Sources
LINK | LINK | LINK | LINK | LINK |
---|---|---|---|---|
W3C | MDN | Gutenberg | DNS Check | Game Tester |
LibriVox | GLM | OpenLibrary | Game Assets 1 | Game Assets 2 |
Miscellaneous
- To find the SHA-256 checksum
shasum -a 256 /path/to/file
# md5
md5sum /path/to/file
# sha1
## Print or check SHA1 (160-bit) checksums. With no FILE, or when FILE is -, read standard input.
sha1sum {file}
# Checksums (IEEE Ethernet CRC-32) and count the bytes in a file
cksum README.md
# intergrity
openssl dgst -sha384 -binary bootstrap.min.css | openssl base64 -A
# QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH
# <link rel="stylesheet" href="https://example.com/dependencies/bootstrap/5.3.3/bootstrap.min.css" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
# base64 encode file
openssl base64 -in <infile>
# decode
echo "encoded_string" | base64 --decode
Verify Checksum on Windows
certutil -hashfile example_file.txt MD5
certutil -hashfile example_file.txt SHA1
certutil -hashfile example_file.txt SHA256
vscode collapse/expand code blocks
- Windows
# collapse all
Ctrl + K Ctrl + 0
# expand all
Ctrl + K Ctrl + J
# collapse current block
Ctrl + Shift + [
# expand current block
Ctrl + Shift + ]
- macOS
# collapse
Command + K Command + 0
# expand
Command + K Command + J
# collapse current block
Command + Shift + [
# expand current block
Command + Shift + ]
Page Source