Skip to content

Instantly share code, notes, and snippets.

@tyzbit
tyzbit / config.yaml
Created June 25, 2025 15:05
Tabby color scheme
# MERGE this with your tabby config
terminal:
colorScheme:
name: Missile Command
foreground: '#65E572'
background: '#290046'
cursor: '#bbbbbb'
colors:
- '#000000'
- '#ff615a'
@tyzbit
tyzbit / tyzbit.yaml
Created June 25, 2025 15:03
k9s theme
# place in ~/.config/k9s/skins or equivalent
k9s:
body:
bgColor: default
prompt:
bgColor: default
info:
fgColor: mediumpurple
frame:
menu:
@tyzbit
tyzbit / vaporwave.json
Last active May 15, 2025 00:58
Revolt Vaporwave Theme
{
"accent": "#d6008f",
"background": "#220c32",
"foreground": "#00d0ff",
"block": "#35114f",
"message-box": "#0d203f",
"mention": "rgba(2, 175, 233, 0.5)",
"success": "#65E572",
"warning": "#FAA352",
"tooltip": "#000000",
@tyzbit
tyzbit / retro-cyberpink.json
Created May 2, 2025 18:49
Revolt Retro Cyberpink terminal
{
"accent": "#28b4b4",
"background": "#000000",
"foreground": "#ff28b4",
"block": "#14001e",
"message-box": "#21252b",
"mention": "#28003c",
"success": "#00b450",
"warning": "#b4f001",
"tooltip": "#000000",
@tyzbit
tyzbit / missile-command.json
Last active April 30, 2025 00:51
Revolt Theme - Missile Command
{
"accent": "#8632bd",
"background": "#000000",
"foreground": "#06cb2e",
"block": "#231033",
"message-box": "#21252b",
"mention": "#3f005c",
"success": "#2D974D",
"warning": "#FEE75C",
"tooltip": "#000000",
@tyzbit
tyzbit / revolt-toml-to-json.sh
Created April 29, 2025 22:29
Convert Revolt TOML themes to JSON for importing
#!/usr/bin/env bash
set -euo pipefail
INPUT="${1:-theme.toml}"
# Bash 4+ for associative arrays
declare -A output defaults
# —————————————————————————————————————————————————————————————
# 1. Defaults
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/app-template-3.7.3/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app wanderer
namespace: flux-system
spec:
interval: 30m
releaseName: *app
@tyzbit
tyzbit / flow.json
Created April 1, 2025 01:52
any -> x265 Tdarr Flow
{
"_id": "68lTwTyjv",
"name": "Transcode to HEVC to Save Space",
"description": "Transcode to HEVC to Save Space",
"tags": "",
"flowPlugins": [
{
"name": "This isn't a TV show",
"sourceRepo": "Community",
"pluginName": "setFlowVariable",
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Package",
"type": "go",
"request": "launch",
@tyzbit
tyzbit / find-unused-helm-repos.sh
Created September 15, 2024 21:28
Find unused Flux HelmRepository objects
#!/bin/bash
# List all HelmRepository names
repositories=$(kubectl get helmrepositories -A -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}')
# List all HelmRelease sources (HelmRepository names they reference)
releases=$(kubectl get helmreleases -A -o jsonpath='{range .items[*]}{.spec.chart.spec.sourceRef.name}{"\n"}{end}')
# Find HelmRepositories not used by HelmReleases
for repo in $repositories; do
if ! echo "$releases" | grep -q "$repo"; then