Bespoke askpass script for macOS.
Moved to a proper repo as gists are pretty limited for organization.
| # https://learn.microsoft.com/en-us/windows/wsl/wsl-config#example-wslconf-file | |
| # Per-distro settings go in /etc/wsl.conf | |
| # $env:userprofile\.wslconfig | |
| # WSL2-specific options | |
| [wsl2] | |
| processors = 4 # Makes the WSL 2 VM use two virtual processors | |
| memory = 8GB # Limits VM memory in WSL 2 | |
| swap = 0 # Do not use swap file | |
| localhostforwarding=true # bind WSL 2 localhost to Windows localhost |
| #!/usr/bin/env bash | |
| # SOURCE: https://kind.sigs.k8s.io/docs/user/local-registry/ | |
| set -o errexit | |
| # Global variables | |
| reg_name='kind-registry' | |
| reg_port='5001' | |
| REGISTRY_DIR="/etc/containerd/certs.d/localhost:${reg_port}" |
| #!/usr/bin/env python | |
| import markdown | |
| import resend | |
| from decouple import config | |
| # from pathlib import Path | |
| # env vars | |
| resend_api_key = config("RESEND_API_KEY") | |
| resend_from = config("RESEND_FROM", default="Acme <onboarding@resend.dev>") |
| [General] | |
| sIntroSequence= | |
| fChancesToPlayAlternateIntro=0 | |
| uMainMenuDelayBeforeAllowSkip=0 | |
| bAllowConsole=1 | |
| bPlayMainmenuMusic=1 | |
| uGridsToLoad=5 | |
| uExterior Cell Buffer=36 | |
| bForceUpdateDiffuseOnly=1 | |
| iTextureDegradeDistance0=800 |
Bespoke askpass script for macOS.
Moved to a proper repo as gists are pretty limited for organization.
| # https://github.com/lima-vm/lima/blob/master/examples/docker-rootful.yaml | |
| --- | |
| images: | |
| # Hint: run `limactl prune` to invalidate the "current" cache | |
| - location: "https://download.fedoraproject.org/pub/fedora/linux/releases/40/Cloud/x86_64/images/Fedora-Cloud-Base-Generic.x86_64-40-1.14.qcow2" | |
| arch: "x86_64" | |
| digest: "sha256:ac58f3c35b73272d5986fa6d3bc44fd246b45df4c334e99a07b3bbd00684adee" | |
| - location: "https://download.fedoraproject.org/pub/fedora/linux/releases/40/Cloud/aarch64/images/Fedora-Cloud-Base-Generic.aarch64-40-1.14.qcow2" | |
| arch: "aarch64" | |
| digest: "sha256:ebdce26d861a9d15072affe1919ed753ec7015bd97b3a7d0d0df6a10834f7459" |
| #!/usr/bin/env bash | |
| # shellcheck disable=SC2207 | |
| # Set $IFS to eliminate whitespace in pathnames | |
| IFS="$(printf '\n\t')" | |
| # Top-level directory | |
| tld="$(pwd)" |
| -- SOURCE: https://github.com/wez/wezterm/issues/1751#issuecomment-2014752114 | |
| -- brew install --cask hammerspoon | |
| -- ~/.hammerspoon/init.lua | |
| -- Import necessary Hammerspoon modules | |
| local hotkey = require "hs.hotkey" | |
| local application = require "hs.application" | |
| local mouse = require "hs.mouse" | |
| local screen = require "hs.screen" | |
| local geometry = require "hs.geometry" | |
| local spaces = require "hs.spaces" |
| # https://github.com/lima-vm/lima/blob/master/examples/docker-rootful.yaml | |
| --- | |
| images: | |
| # Hint: run `limactl prune` to invalidate the "current" cache | |
| - location: "https://cloud-images.ubuntu.com/releases/24.04/release-20240423/ubuntu-24.04-server-cloudimg-amd64.img" | |
| arch: "x86_64" | |
| digest: "sha256:32a9d30d18803da72f5936cf2b7b9efcb4d0bb63c67933f17e3bdfd1751de3f3" | |
| - location: "https://cloud-images.ubuntu.com/releases/24.04/release-20240423/ubuntu-24.04-server-cloudimg-arm64.img" | |
| arch: "aarch64" | |
| digest: "sha256:c841bac00925d3e6892d979798103a867931f255f28fefd9d5e07e3e22d0ef22" |
| lance@fedora:~$ glmark2 | |
| ======================================================= | |
| glmark2 2023.01 | |
| ======================================================= | |
| OpenGL Information | |
| GL_VENDOR: AMD | |
| GL_RENDERER: AMD Radeon RX 7600M XT (radeonsi, navi33, LLVM 18.1.1, DRM 3.57, 6.8.7-303.fsync.fc40.x86_64) | |
| GL_VERSION: 4.6 (Compatibility Profile) Mesa 24.0.5 | |
| Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0 | |
| Surface Size: 800x600 windowed |