Skip to content

Instantly share code, notes, and snippets.

View daryltucker's full-sized avatar

Daryl Tucker daryltucker

View GitHub Profile
@daryltucker
daryltucker / uvgit
Created September 30, 2025 21:09
uvgit: Specify uv Package Source
function uvgit(){
repo=$(echo "${1}" | rev | cut -d'/' -f -1 | rev)
echo "Installing $repo found at ${1}"
uv tool install "git+${1}#egg=${repo}"
}
@daryltucker
daryltucker / main.py
Last active September 30, 2025 04:21
openapi_mcp_confgen
#!/usr/bin/env python3
# Neo-Retro Group
# @daryltucker
# /// script
# dependencies = [
# "requests"
# ]
# ///
@daryltucker
daryltucker / ROCM-6.4.3_Linux-6.12_DKMS.mkd
Last active February 13, 2026 08:58
Install ROCm 6.4.3 DKMS on Linux 6.12 (Debian 13)

Install ROCm DKMS on Linux 6.12 (Debian 13)

What a mess this is...

Install ROCm Repositories

We must set up these repositories to grab amdgpu-install... which... installs additional repositories...

wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | \
@daryltucker
daryltucker / ROCM-6.4.3_Linux-6.12_Packages.txt
Created September 24, 2025 23:43
Recording ROCm Packages Installed to DKMS on Linux 6.12
amd-smi-lib:
Installed: 25.5.1.60403-128~24.04
Candidate: 25.5.1.60403-128~24.04
Version table:
*** 25.5.1.60403-128~24.04 600
600 https://repo.radeon.com/rocm/apt/6.4.3 noble/main amd64 Packages
100 /var/lib/dpkg/status
comgr:
Installed: 3.0.0.60403-128~24.04
Candidate: 3.0.0.60403-128~24.04
@daryltucker
daryltucker / apt-switch-repos
Last active September 24, 2025 23:38
Find all Packages installed from BAD_REPO and find replacements on GOOD_REPO
#!/bin/bash
# vim: set filetype=sh :
# @daryltucker #WorkedForMe
# Find all Packages installed from BAD_REPO and find replacements on GOOD_REPO
# This is my chance to say the ROCm ecosystem is absolute trash
# Otherwise, this script can be useful for other situations, so I'm publishing it.
@daryltucker
daryltucker / i3wm_remmina_workspace_assign
Created August 18, 2025 20:26
Remmina Main Window on different Workspace than Remmina Clients for i3wm
assign [class="org.remmina.Remmina" title="Remmina Remote Desktop Client"] $ws1
assign [class="org.remmina.Remmina" title="^(?!Remmina Remote Desktop Client).*$"] $ws2
@daryltucker
daryltucker / gist:2ea342fbf83c1fd1f000cbf45929fd81
Created August 6, 2025 17:57
EdgeMax / EdgeRouter IPv6 Base Firewall Rules
edit firewall ipv6-name WAN6_IN
set default-action drop
set rule 10 action accept
set rule 10 description "Allow Established/Related"
set rule 10 protocol all
set rule 10 state established enable
set rule 10 state related enable
set rule 20 action drop
@daryltucker
daryltucker / gist:7db405c723eb979a0ac89fe0d2b0454f
Last active August 6, 2025 19:36
EdgeMax / EdgeRouter IPv6 on Multiple Interfaces / NICs
# Assuming you got a small IPv6 block and want to delegate across multiple LAN interfaces
edit interfaces ethernet eth0
set dhcpv6-pd pd 0 prefix-length /64
set dhcpv6-pd pd 0 interface eth1 host-address ::1
set dhcpv6-pd pd 0 interface eth1 prefix-id :0
set dhcpv6-pd pd 0 interface eth1 service slaac
set dhcpv6-pd pd 0 interface eth2 host-address ::1
set dhcpv6-pd pd 0 interface eth2 prefix-id :1
@daryltucker
daryltucker / gist:7906d66be9b393a5998132ee9345eef6
Created December 20, 2024 16:34
Supermicro / Redfish Set IKVM back to Java/JNLP Mode
"/redfish/v1/Managers/1/Oem/Supermicro/IKVM"
'{"Current interface": "JAVA plug-in"}'
as opposed to
'{"Current interface": "HTML 5"}'
( via PATCH )
@daryltucker
daryltucker / curl_azure_chunk_upload.sh
Last active December 15, 2023 23:19
Chunk Upload to Azure Storage with curl
#!/bin/bash
# AZ_SAS_TOKEN=''
# ArtifactLocation=''
# ArtifactBaseName=''
DATE_NOW=$(date -Ru | sed 's/\\+0000/GMT/')
AZ_VERSION="2022-11-02"
AZ_BLOB_URL="https://STORAGE_ACCOUNT_HERE.blob.core.windows.net"
AZ_BLOB_CONTAINER="${ApplicationName}"
AZ_BLOB_TARGET="${AZ_BLOB_URL}/${AZ_BLOB_CONTAINER}/"