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.
./build-sysroot.sh
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.
./build-sysroot.sh
#! /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 | |
# | |
# Template for writing a bash script with fancy debugging. | |
# | |
# Not yet tested at depth. Only basic handling of: | |
# - running from stdin i.e. |bash | |
# - sub-functions | |
# - sourcing of other files | |
# | |
# Pythonic asssumptions: |
#!/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 |
#! /usr/bin/env bash | |
# | |
# Simple non-POSIX UV installer. | |
# | |
# You can download and run it. Or just run it off the web with: | |
# $ curl --location https://gist.github.com/dotysan/fdbfc77b924a08ceab7197d010280dac/raw/uv-install.sh |bash | |
# | |
# If you want to see what it does, before running: | |
# $ export DEBUG=yes | |
# |
#! /usr/bin/env -S uv run --verbose --script --managed-python --python=3.13 | |
""" | |
USPSA Ammunition List Scraper | |
This script downloads the USPSA Certified Ammunition webpage, parses ammunition | |
entries including manufacturer, caliber, velocity, and bullet weight, and saves | |
them as CSV files. It also separates data into per-caliber files, including | |
Major-classified and PCC ammunition. | |
Debugging prints are included to help validate parsed content. |
#! /usr/bin/env bash | |
# | |
# Copy a GitLab repo to GitHub, keeping only the default branch. | |
# | |
set -x | |
set -euo pipefail | |
GL_SITE=https://gitlab.flux.utah.edu | |
#GL_OWNER=emulab | |
#REPO=geni-lib |
#! /usr/bin/env bash | |
# | |
# Bootstrap a Python project from scratch. | |
# | |
# optional | |
# DEBUG=yep | |
# VERBOSE=--verbose | |
# mandatory |
#! /usr/bin/env bash | |
# | |
# Move all items from one GitHub Project to another. | |
# | |
# edit these as needed | |
OWNER=example | |
SRC_PROJ_NUM=1 | |
DST_PROJ_NUM=2 |