Skip to content

Instantly share code, notes, and snippets.

View aaronedev's full-sized avatar
🟣
working on violet void theme

Aaron aaronedev

🟣
working on violet void theme
View GitHub Profile

Semantic Branch Names

See how a minor change to your branch name style can make you a better programmer.

Format: <type>/#<issueNumber>-<alias>

Example

Semantic Branch Names

See how a minor change to your branch name style can make you a better programmer.

Format: <type>/#<issueNumber>-<alias>

Example

@aaronedev
aaronedev / pdf_auto_ocr.sh
Last active July 15, 2025 08:54
auto OCR pdf files in current directory
# File name: pdf_auto_ocr.sh
# Author: aaronedev | https://github.com/aaronedev
# Date created: 2025-07-15 10:54:00
# Date modified: 2025-07-15 10:54:22
# ------
# Copyright 2025
set -euo pipefail
# --- Configuration ---
@aaronedev
aaronedev / fetch_kali.sh
Last active July 4, 2025 09:50
run kali os from local directory with qemu
#!/bin/bash
# https://www.kali.org/get-kali/#kali-virtual-machines
# qemu-kali.sh β€” boots kali-linux-2025.2-qemu-amd64.qcow2 from the local mir directory
IMG="kali-linux-2025.2-qemu-amd64.qcow2"
IMG_PATH="./mir/$IMG"
RAM="24G"
VRAM="1G"
# sanity check
@aaronedev
aaronedev / qemu-windows10-usb-audio-passthrough.sh
Last active June 5, 2025 13:52
QEMU Windows 10 VM with USB Audio Passthrough (Komplete Audio 6 & AKAI LPK25)
#!/usr/bin/env bash
# _ _ _ _ _ _ _ _ _ _ _ _ _
# .-"-._,-'_`-._,-'_`-,_,-'_`-,_,-'_`-,_,-'_`-,_,-'_`-,_,-'_`-,_,-'_`-,_,-'_`-,_,-'_`-,_,-'_`-,_,-'_`-,_,-'_`-,.
# ( ,-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-~-} ;.
# \ \.'_>-._`-<_>-._`-._>-._`-._>-._`-._>-._`-._>-._`-._>-._`-._>-._`-._>-._`-._>-._`-._>-._`-._>-._`-._~--. \ .
# /\ \/ ,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._`./ \ \ .
# (`/ / `/ /.) ) .
# \ \ / \ / / \ / .
# \ \') ) β–Œ β–— β–Œ β–— β–Œ β–Œ β–—β–€β–– β–Œ β–œ ( (,\ \ .
# / \ / / β–žβ–€β–˜β–β–€β––β–žβ–€β–Œ β–Œ β–Œβ–„ β–›β–€β––β–žβ–€β–Œβ–žβ–€β––β–Œ β–Œβ–žβ–€β–˜ β–„ β–žβ–€β–˜ β–›β–€β––β–žβ–€β––β–žβ–€β––β–žβ–€β–Œβ–žβ–€β––β–žβ–€β–Œ ▐ β–žβ–€β––β–™β–€β–– ▝▀▖▛▀▖▐ β–žβ–€β––
@aaronedev
aaronedev / fetch_nixos.sh
Created May 10, 2025 10:03
qemu run nixos + use kvm libguestfs video accelaration
#!/bin/env bash
# ╔══════════════════════╗
# β•‘ β–‘β–ˆβ–€β–ˆβ–‘β–€β–ˆβ–€β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–€ β•‘
# β•‘ β–‘β–ˆβ–‘β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–„β–€β–„β–‘β–ˆβ–‘β–ˆβ–‘β–€β–€β–ˆ β•‘
# β•‘ β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–€β–€ β•‘
# β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
# author: https://github.com/aaronedev
# date: σ°Έ— 2025-05-10
@aaronedev
aaronedev / hp.conf
Created May 6, 2025 03:39
keyd config gist in /etc/keyd for HP Laptop DE keyboard
# ╔════════════════════════════════╗
# β•‘ β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–‘β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–‘β–ˆ β•‘
# β•‘ β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–€β–‘β–‘β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–€β–‘β–ˆβ–€β–€β–‘β–‘β–ˆβ–‘ β•‘
# β•‘ β–‘β–€β–‘β–€β–‘β–€β–‘β–‘β–‘β–‘β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–€β–‘β–‘β–‘β–€β–‘β–‘β–‘β–‘β–€β–‘ β•‘
# β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
[ids]
0001:0001
[main]
@aaronedev
aaronedev / omotron.conf
Created May 6, 2025 03:39
keyd config gist in /etc/keyd for OMOTRON Bluetooth DE keyboard
# ╔════════════════════════════════════════════════════════════════════╗
# β•‘ β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–„β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–€β–ˆβ–€β–‘β–ˆβ–€β–„β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–‘β–‘β–ˆβ–€β–„β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–€β–€β–‘β–€β–ˆβ–€β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–€β–ˆβ–€β–‘β–ˆβ–‘β–ˆ β•‘
# β•‘ β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–ˆβ–€β–„β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–‘β–‘β–ˆβ–€β–„β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–€β–€β–‘β–‘β–ˆβ–‘β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–ˆβ–€β–ˆ β•‘
# β•‘ β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–‘β–€β–‘β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–‘β–‘β–€β–€β–‘β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–‘β–€β–‘β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–‘β–€β–‘β–‘β–€β–‘β–€ β•‘
# β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
[ids]
0a5c:8503
[main]
@aaronedev
aaronedev / fetch_debian.sh
Created May 5, 2025 21:13
qemu run debian + use venus kvm libguestfs video accelaration
#!/bin/bash
# Current Debian stable is 12 (bookworm)
ISO=debian-12.4.0-amd64-netinst.iso
IMG=debian-12.qcow2
if [ ! -f "$ISO" ]; then
wget https://deb.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/mini.iso -O $ISO
# Alternative full netinst image if mini.iso is too minimal
@aaronedev
aaronedev / yunzii.conf
Last active April 28, 2025 09:20
keyd config gist in /etc/keyd for yunzii US keyboard
[ids]
0416:b23c
[main]
capslock = overload(control, esc)
# leftmeta = leftalt
# leftalt = leftmeta
leftmeta = layer(alt)