Skip to content

Commit

Permalink
chore: clean up misc-utils
Browse files Browse the repository at this point in the history
 - remove unnecessary non-caching-servers: use Chrome's Disable Cache
   feature in F12 (developer) mode
 - fix flake8 warnings in syll_parse.py
  • Loading branch information
joanise committed Dec 13, 2024
1 parent d98ffdf commit 7abda6f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 457 deletions.
15 changes: 0 additions & 15 deletions misc-utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,3 @@ or

readalongs g2p file-tok-syll.xml file-g2p.xml
readalongs align file-g2p.xml file.wav output

### `non-caching-server.py`

This script is intended to mitigate an issue with Mac's where the client might
cache files and refuse to fetch them again even if they were modified on disk,
even with a hard reload. This is an issue when, for example, testing a read
along that you just created using

cd read-alongs-dir && python3 -m http.server

If you modify the read along and want to reload it without having to restart the
http server, on some OS's that works fine, but not on all OS's. If you encouter
this problem, using this command instead:

cd read-alongs-dir && non-caching-server.py
214 changes: 0 additions & 214 deletions misc-utils/non-caching-server-3.7.py

This file was deleted.

Loading

0 comments on commit 7abda6f

Please sign in to comment.