commit ea9eaaf3d3977701dcb84b927c77c4f921bdbf43
Author: sorenpeter <sorenpeter@noreply@mills.io>
Date: Sat Sep 24 23:34:07 2022 +0000
Replacing Pico.css with Simple.css (#990)
Replacing pico.css with simple.css along with some small UI changes
hello
"hello world"
hello AND world
hello OR world
hello NOT world
"this is a phrase"
^R
and using fuzzy search which if you type fast you sometimes get wrong π
dkv rm ...
to make sure I never ever have this so easily accessible in my shell history (^R
):
$ awk '
/^#/ { ts = $0; next }
/^dkv rm/ { next }
{ if (ts) print ts; ts=""; print }
' ~/.bash_history > ~/.bash_history.tmp && mv ~/.bash_history.tmp ~/.bash_history && history -r
alias dkv="docker rm"
to be a much safer shell function:
dkv() {
if [[ "$1" == "rm" && -n "$2" ]]; then
read -r -p "Are you sure you want to delete volume '$2'? [Y/n] " confirm
confirm=${confirm:-Y}
if [[ "$confirm" =~ ^[Yy]$ ]]; then
# Disable history
set +o history
# Delete the volume
docker volume rm "$2"
# Re-enable history
set -o history
else
echo "Aborted."
fi
else
docker volume "$@"
fi
}
SqliteCache
backend_)
time="2025-04-05T03:26:12Z" level=info msg="[mem] Feeds fetch started: HeapAlloc=34MB Goroutines=31"
time="2025-04-05T03:27:17Z" level=info msg="[mem] Feeds fetch done: HeapAlloc=67MB Goroutines=92"
time="2025-04-05T03:29:23Z" level=info msg="[mem] Feeds fetch started: HeapAlloc=56MB Goroutines=41"
time="2025-04-05T03:29:23Z" level=info msg="[mem] Feeds fetch done: HeapAlloc=49MB Goroutines=39"
time="2025-04-05T03:30:15Z" level=info msg="[mem] Feeds fetch started: HeapAlloc=36MB Goroutines=41"
time="2025-04-05T03:30:15Z" level=info msg="[mem] Feeds fetch done: HeapAlloc=54MB Goroutines=40"
time="2025-04-05T03:31:07Z" level=info msg="[mem] Feeds fetch started: HeapAlloc=53MB Goroutines=41"
time="2025-04-05T03:31:21Z" level=info msg="[mem] Feeds fetch started: HeapAlloc=65MB Goroutines=95"
time="2025-04-05T03:31:21Z" level=info msg="[mem] Feeds fetch done: HeapAlloc=69MB Goroutines=91"
Hmmm? π€
SQLiteCache
π
The reason piracy exists at all is economics and greed. If you make something affordable and convenient, there's no need to steal.
SqliteCache
again with a slight tweak. I _might_ have to rethink the hard-coded LIMIT 50
.
MemoryCache
for now and going to bed π
Sqlitecache
π₯³