One of them was SMOKE[1] - simple Python/Flask site with login. The most interesting part is probably the SMF Forum signature rotator[2], which manually parses HTML[3] that is not intended to be machine-readable.
[1]https://github.com/TazeTSchnitzel/SMOKE
[2]https://github.com/TazeTSchnitzel/SMOKE/blob/master/smoke/sm...
[3]https://github.com/TazeTSchnitzel/SMOKE/blob/master/smoke/sm...
Or that macros without bounds checking that cause segfaults unless debugging is a good idea...
What was I thinking?
You can also throw comments in the code where the bad stuff is so that it has more visibility, as well as suggestions for how to better solve the problem. Sometimes people learn best from bad code!
It should sound scary, it's the worst code I've ever written.
I wrote it 2 years ago with the idea "working first, correct later", but I haven't finished the latter yet...
Am I doing something wrong? Notes or something?