Skip to content

Instantly share code, notes, and snippets.

@tyzbit
tyzbit / vaporwave.json
Created May 5, 2025 01:43
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
@tyzbit
tyzbit / whatwebsitescanibuyfor.sh
Created August 11, 2024 21:51
script to check a domain name against all cloudflare TLDs
#!/bin/bash
cloudflare_supported_tlds=(
"academy"
"accountant"
"accountants"
"actor"
"agency"
"apartments"
"app"
"associates"
@tyzbit
tyzbit / index.html
Created August 10, 2024 15:38
Audit Log + comment mockup
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Audit Log and Comments</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;