From 580078bddbd733df0c25523d7cf4e8c54f57ed56 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 7 Sep 2021 22:10:59 +0200 Subject: [PATCH] more readme stuff --- docs/README.md | 19 +++++++++++++++++++ docs/mistakes.py | 26 -------------------------- 2 files changed, 19 insertions(+), 26 deletions(-) delete mode 100644 docs/mistakes.py diff --git a/docs/README.md b/docs/README.md index 9abc5d1b..50acdbcd 100644 --- a/docs/README.md +++ b/docs/README.md @@ -30,3 +30,22 @@ point `--css-browser` to one of these by URL: ## [`example.conf`](example.conf) * example config file for `-c` (supports accounts, volumes, and volume-flags) + + + +# junk + +alphabetical list of the remaining files + +| what | why | +| -- | -- | +| biquad.html | bruteforce calibrator for the audio equalizer since im not that good at maths | +| design.txt | initial brainstorming of the copyparty design, unmaintained, incorrect, sentimental value only | +| hls.html | experimenting with hls playback using `hls.js`, works p well, almost became a thing | +| music-analysis.sh | testing various bpm/key detection libraries before settling on the ones used in [`/bin/mtag/`](/bin/mtag/) | +| notes.sh | notepad, just scraps really | +| nuitka.txt | how to build a copyparty exe using nuitka (not maintained) | +| pretend-youre-qnap.patch | simulate a NAS which keeps returning old cached data even though you just modified the file yourself | +| tcp-debug.sh | looks like this was to debug stuck tcp connections? | +| unirange.py | uhh | +| up2k.txt | initial ideas for how up2k should work, another unmaintained sentimental-value-only thing | diff --git a/docs/mistakes.py b/docs/mistakes.py deleted file mode 100644 index f7de5cce..00000000 --- a/docs/mistakes.py +++ /dev/null @@ -1,26 +0,0 @@ - - method = self.s.recv(4) - self.s.unrecv(method) - print("xxx unrecv'd [{}]".format(method)) - - # jython used to do this, they stopped since it's broken - # but reimplementing sendall is out of scope for now - if not getattr(self.s.s, "sendall", None): - self.s.s.sendall = self.s.s.send - - # TODO this is also pretty bad - have = dir(self.s) - for k in self.s.s.__dict__: - if k not in have and not k.startswith("__"): - if k == "recv": - raise Exception("wait what") - - self.s.__dict__[k] = self.s.s.__dict__[k] - - have = dir(self.s) - for k in dir(self.s.s): - if k not in have and not k.startswith("__"): - if k == "recv": - raise Exception("wait what") - - setattr(self.s, k, getattr(self.s.s, k))