General Class Logseq Notebook

I seem to have this down to a bit of a science. By the time I have a 1.0 script that converts the question pool without intervention, I'll be out of tests to make Logseq friendly.

For the curious, this is mostly selecting the syllabus page and pasting into a text file, and running sed to add double brackets and indentations where needed. Then I do the same on the pools themselves, adding the card tag where needed, indenting question answers and adding leading dashes where needed. But before that, there's a horrific for loop like so:

for x in {A..Z} ; do
     for y in {0..9} ; do 
          grep -A 5 -E '^G$y$x' Pool_Dump.txt > G$y$x.md
     done
done

find . -type f -name "G??.md" -size 0b -delete

Could this be better? Of course it could, but perfection is the enemy of good.

Regardless, here's the General question pool: https://git.af0cx.org/chris/General-Study


Update 1: I've also added an Extra Class study guide. We now have: – https://git.af0cx.org/chris/Technician-Studyhttps://git.af0cx.org/chris/General-Studyhttps://git.af0cx.org/chris/Extra-Study


Edit 1: Adding bold font to the edit/update notes

AF0CX Blog by Chris Wall is licensed under CC BY-NC-SA 4.0