From 1f8aea21738a2b4d23578c405bc73571c124d7c1 Mon Sep 17 00:00:00 2001 From: Diskette Guy Date: Tue, 14 Oct 2025 05:58:46 +0700 Subject: [PATCH] cheatsheet for loser (me) --- Cheatsheet.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Cheatsheet.txt diff --git a/Cheatsheet.txt b/Cheatsheet.txt new file mode 100644 index 0000000..a17519e --- /dev/null +++ b/Cheatsheet.txt @@ -0,0 +1,18 @@ +Welcome to this plaintext file. +This file is strictly licensed as CC0, public domain –- only this file though. +I'm Uea-angkun "Diskette" Khunpradith (diskette@unix.in.th), the author of this file. +This file exists because I'm a self-taught ametuer programmer and I wanted to keep notes of the things that this software does. And I do not want to use generative AI, as it does not help or teach me in anyway. It's just a cheatsheet of doing something. + +Flags: +[IDK] : Will return later and figure out how it works +[IK] : The author seemed to have an understanding of thi + + +Python's __main__ and __init__ +As far as I know, __init__ is the initialization script, just like Unix and alike's /etc/init.rc script. It's required to make it so that it's a package. +The double underscores is for signifying that it's a global variable. + +__init__ in this case, import the libraries required for dkim magic. And tests authres, the dkim magic library, and nacl (sodium) library for ed25519 signing. + + +there seemed to be an import on stuff that I do not understand, like dkim.canonicalization -- how does that work?