This installs minimalist heif-info & heif-convert that can only decode HEIC and encode JPEG.
./install-heic.sh
| #! /usr/bin/env bash | |
| # | |
| # Backup all my gists. | |
| # | |
| set -o errexit | |
| set -o nounset | |
| set -o pipefail | |
| # set -o xtrace | |
| printf -v TODAY '%(%F)T' |
| #! /usr/bin/env bash | |
| # | |
| # Install fclones on a Rust-less system using Rust in Docker. | |
| # | |
| set -e | |
| set -u | |
| set -x | |
| # latest stable release | |
| FC_TAG=v0.35.0 |
| #! /usr/bin/env bash | |
| # shellcheck disable=SC1112 | |
| # | |
| # Harvest all stores from wp-store-locator and generate GeoJSON for Google Earth. | |
| # | |
| # Assumes continental US: latitude range 23° to 50° North and longitude range 67° to 126° West. | |
| # | |
| set -o errexit | |
| set -o errtrace | |
| set -o pipefail |
| #!/usr/bin/env bash | |
| # | |
| # find-mc-libcomerr-bug.sh | |
| # Scan *all* debian image tags from Docker Hub and report | |
| # which ones result in `ldd /usr/bin/mc` showing a broken libcom_err.so.2 | |
| # after installing mc. | |
| IMAGE_REPO='library/debian' | |
| PAGE_SIZE=100 # API max page size | |
| REPO_API='https://registry.hub.docker.com/v2/repositories' |
https://code.visualstudio.com/docs/remote/faq#_can-i-run-vs-code-server-on-older-linux-distributions
The above "documentation" appears to be untested or verified. So here's an attempt to actually make crosstool-NG actually work.
| #! /usr/bin/env bash | |
| # | |
| # Finds ancient docker images with fake creation and sets to most likely timestamp. | |
| # | |
| set -e | |
| set -u | |
| set -x | |
| main() { |
| #!/usr/bin/env bash | |
| # | |
| # Find all my GitHub repositories that have rulesets. | |
| # | |
| # as a oneliner: `gh repo list --limit 1000|while read -r repo rest;do gh ruleset list --repo "$repo"|while read id rest;do gh ruleset view --repo "$repo" "$id";echo;done;done` | |
| # | |
| # If you have more than 1000 repos, adjust! | |
| # | |
| gh repo list --limit 1000 |while read -r repo rest |
| SHELL:= /usr/bin/env bash | |
| PYVER:= 3.13 | |
| venv:= .venv | |
| vb:= $(venv)/bin | |
| nm:= $(venv)/lib/node_modules | |
| HERE:=$(notdir $(CURDIR)) | |
| # Bootstraps Node.js inside a local Python virtual environment. | |
| $(vb)/npm: $(vb)/nodeenv |