Companion evidence for Go Internals Part 3, captured on 2026-08-31.
flowchart LR
O[Orient] --> G[Gather evidence]
G --> P[Plan]| #!/usr/bin/env bash | |
| # | |
| # Live check for a cosign signing script that verifies multi-arch | |
| # images recursively. Stubs cannot answer two things it depends on: | |
| # | |
| # 1. does "docker buildx imagetools inspect --raw" return the | |
| # registry's own bytes, so the manifest can be checked against | |
| # the digest the ref names? | |
| # 2. does "cosign sign --recursive" really sign every child | |
| # manifest of an index? |
| #!/bin/bash | |
| set -e | |
| ####################################################### | |
| # https://headroomlabs-ai.github.io/headroom/quickstart/ | |
| ####################################################### | |
| echo "=== 1. Installing / Updating headroom-ai via uv ===" | |
| # Ensure uv is installed | |
| if ! command -v uv &> /dev/null; then | |
| echo "Installing uv..." |
Companion evidence for Go Internals Part 3, captured on 2026-08-31.
flowchart LR
O[Orient] --> G[Gather evidence]
G --> P[Plan]| #!/bin/bash | |
| set -e | |
| # ----------------------------------------------------------------------------- | |
| # CONFIGURATION | |
| # ----------------------------------------------------------------------------- | |
| CLUSTER="aaffinit" | |
| RESOURCEGROUP="aro-aaffinit-rg" | |
| CLUSTER_DOMAIN="aaffinit.com" | |
| WORK_DIR="$HOME/dev/aro-bootstrap" |
| #!/bin/bash | |
| set -euo pipefail | |
| # ==================================================================== | |
| # CONFIGURABLE VERSIONS | |
| # ==================================================================== | |
| GO_VERSION="1.25.3" | |
| HELM_VERSION="3.18.6" | |
| K9S_VERSION="0.50.16" |
| #!/bin/bash | |
| set -euo pipefail | |
| # ==================================================================== | |
| # Fedora 43 Hyprland + ML4W Development Environment Setup | |
| # https://www.fedoraproject.org/misc#everything | |
| # ==================================================================== | |
| # Configuration Version: 2025.11.28 | |
| # This script sets up: | |
| # - Hyprland wayland compositor with ML4W dotfiles |
| #!/bin/bash | |
| # Execute with sudo | |
| echo "> Initial Disk space" | |
| df -BM / | |
| initial_size=$(df --block-size=M / | awk 'NR==2 {print $3}' | sed 's/M//') | |
| apt-get autoremove --purge | |
| # List kernels |
| #!/bin/bash | |
| ### | |
| # download yq | |
| # | |
| set -ex | |
| # https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#get-the-latest-release | |
| latest_tag=$(curl -sL -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/mikefarah/yq/releases/latest |jq -r .tag_name) |
| # It could be improved to highlight quotas over 60% | |
| # But that would require a major rework since quotas are already pre-formatted by kubectl by merging status hard/used numbers | |
| kubectl get ns --no-headers -o=custom-columns=:.metadata.name |xargs -I {} bash -c "echo -e '\nNamespace {}'; kubectl get -n {} --no-headers resourcequotas" |sed -e "s|count/|\\n- |g" -e "s|cpu|\\n- cpu|g" -e "s|memory|\\n- memory|g" |sed "/^namespace-resource-quota/d" >/mnt/c/Users/alessandr | |
| o.affinito/Downloads/dev-resource-quotas.log | |
| """ | |
| Namespace default | |
| Namespace dev-xyz |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure("2") do |config| | |
| config.vm.box = "generic/ubuntu2204" | |
| memory = 6144 | |
| cpus = 4 | |
| config.vm.provider :virtualbox do |v| | |
| v.memory = memory |