RSSAmplifier

Blog

My blog_title_here

blog.fraggod.netRSS feed ↗10 posts

Latest posts

Ordered early exit match=verdirct decision lists

While updating an old hacky audit-follow script to do more long-term monitoring recently, found that I wanted to add a filtering mini-language/ DSL there, and after trying a couple options with having blacklist/whitelist and such, quickly arrived at using a seemingly unnamed but somewhat popular list type for this …

Notes from text file in GIMP on startup

Since GIMP (aka GNU Image Manupulation Program) is still a complicated raster graphics editor, kinda like Photoshop , it has same problem of having a ton of tools and options which can be easy to forget. And especially for some same-y but rare tasks, like going back to update/export specific …

Blocking DDoS from scraper bots the easy way via HTTP-401 Basic Auth

Bot traffic on the internet was always comparatively high, with search engine scrapers and whatever odd research tools doing their thing, but that changed massively in recent few years with LLM-training-content-scaping bots. Those don't care about robots.txt and are designed to be unblockable, running on regular users' machines, faking …

Best multi-rename tool - editing file-list in text $EDITOR

Tools like rnm and regex-rename , or one-liner shell loop like: for p in *.mkv; do n=${p##*/}; n=<string-manipulations>...; echo mv "$p" "$n"; done ...is how I usually rename stuff, as a typical shell-for-file-management terminal-user. It's non-interactive and not "visual", as in you kinda have to imagine results, then think …

Using sharp bitmap fonts in modern GIMP

When tinkering with something outside PC/laptop screen, I often need a reminder pad for a wiring schematic or recipe, or even some hotkeys, maps and other quickref-data when playing games on main display, and I'm using e-ink pad for that, combining any kind of text/icons/diagrams/images/etc …

Safe rm to restrict file removals to be under specified dir

Using standard rm(1) tool in something like a file-backup script, with any "untrusted" list of paths OR an untrusted dir is wildly unsafe, but it's kinda frustrating to me that it doesn't have to be. On modern linux, "rm" can fairly easily have some --restrict-to-dir option, which guarantees that …

Algorithm for N exponentially-spaced retries within timeout T

When retrying some failed check or operation, common ways to algorithmically wait for next attempt seem to be: Make N retries with a static interval in-between, e.g. "retry every 10s". Works well when it's not a problem to retry too often, or need to know when stuff starts working …

Modern conky-like ambient network connection monitoring tool

As a long-time conky user, always liked "system status at a glance" visibility it provides, so you're pretty much always aware of what's normal resource usage pattern for various apps and system as a whole, and easily notice anything odd there. (though mostly kept conky config same since last post …

Migrating from GNU Screen to tmux with same workflow

My pattern for using these shell wrappers / terminal multiplexers for many years have been something like this: Run a single terminal window, usually old XTerm , sometimes Terminology . Always run tmux inside that window, with a C-x (ctrl-x) prefix-key. Open a couple local tmux windows (used as "terminal tabs") there. Usually …

nftables rate-limiting against low-effort DDoS attacks

Dunno what random weirdo found me this time around, but have noticed 'net connection on home-server getting clogged by 100mbps of incoming traffic yesterday, which seemed to be just junk sent to every open protocol which accepts it from some 5-10K IPs around the globe, with bulk being pipelined requests …