These should be sorted into actual categories whenever I make them them, but until then, I’m just throwing them here.
Flutter’s hot reload is good, but it doesn’t trigger on file-edits. (For that, they rely on IDEs to provide their own signals whenever the user saves.)
This one-liner starts flutter run and triggers a hot reload whenever entr detects an update in lib/*.dart (so make sure you’re running it in your git root)
(trap 'kill 0' SIGINT; flutter run & PID=$!; \
find lib/ -name "*.dart" | \
entr -p kill -USR1 $PID)ls script.lsp | entr -c sbcl --script /_If you do an infinite loop it can take a while to exhaust the heap. If you want to fail faster, use –dynamic-space-size, e.g.,
ls script.lsp | entr -c sbcl --dynamic-space-size 16 --script /_Moved to two monolithic scripts:
I don’t even keep the repos on my PC because these scripts are complete—
$ ls
backups DS_AP lnxrouter NDS_BACKUP—I just have the scripts in a single folder for easy administration now.