Skip to content

Instantly share code, notes, and snippets.

View aaronedev's full-sized avatar
:electron:
handling those regressions like im regexes stepson🙄

Aaron aaronedev

:electron:
handling those regressions like im regexes stepson🙄
View GitHub Profile
@aaronedev
aaronedev / fetch_ubuntu.sh
Last active March 26, 2025 11:55
qemu run ubuntu + use venus kvm libguestfs video accelaration
#!/bin/bash
ISO=ubuntu-24.10-desktop-amd64.iso
IMG=ubuntu-24-10.qcow2
if [ ! -f "$ISO" ]; then
wget https://releases.ubuntu.com/oracular/$ISO
fi
if [ ! -f "$IMG" ]; then
@aaronedev
aaronedev / customize_airootfs.sh
Last active March 31, 2025 07:23
mkarchiso airootfs prep
#!/bin/bash
set -e
log() {
echo "[CUSTOMIZE] $1"
}
log "Updating system packages"
pacman -Syu --noconfirm
@aaronedev
aaronedev / gist:598de83d967a889013a1005ccb9507b4
Created March 27, 2025 13:29
ableton metadata which plugins, samples and co. were I using? Inspect the .als files
cat myfile.als | gunzip | egrep "<.*Track |EffectiveName|PlugName" | sed -e 's/^[ \t]*//g' | less
@aaronedev
aaronedev / ascii_matrix_arch.sh
Created April 6, 2025 14:08
ascii-matrix archlinux
ascii-matrix -f ~/.local/build/ascii-matrix/archlinux.txt -c1 navy -c2 aqua -c3 grey -a1 s -a2 s -a3 s -i
@aaronedev
aaronedev / j2pa_ascii.sh
Created April 7, 2025 18:39
j2pa gen ascii
jp2a --background=dark --chars="01234567" --height=20
@aaronedev
aaronedev / gist:2fce6dc849299e6d2875ad698534398e
Created April 12, 2025 10:46
figlet with border generation
toilet Hyprland only env -f pagga | boxes -d ansi-double | wlc
@aaronedev
aaronedev / gist:89c4d88fea9992228b45473e2be95034
Created April 15, 2025 05:05
find gitfolders in root repo
find . -type d -name .git -not -path ./.git -exec dirname {} \;
@aaronedev
aaronedev / neovim_dirs.sh
Created April 18, 2025 10:54
create neovim directory tree structure
#!/bin/env bash
# Create the basic directory structure
mkdir -p ~/.config/nvim/lua/core
mkdir -p ~/.config/nvim/lua/configs
mkdir -p ~/.config/nvim/lua/themes/void
mkdir -p ~/.config/nvim/lua/utils
# Create placeholder files
touch ~/.config/nvim/lua/core/options.lua
@aaronedev
aaronedev / desktop_entry_language_bloat_remover.sh
Created April 21, 2025 10:02
remove language entrys of .desktop files to have less bloat --- english only
#!/bin/bash
# Desktop Entry Cleaner Script
# This script removes all language-specific entries from desktop files
# Usage: bash clean-desktop-files.sh /path/to/your/desktop/files
DESKTOP_DIR="$1"
if [ -z "$DESKTOP_DIR" ]; then
echo "Please provide the directory containing desktop files"
echo "Usage: bash clean-desktop-files.sh /path/to/your/desktop/files"
#!/usr/bin/env bash
sudo pacman -S dunst \
grim \
btop \
hyprland \
iwd \
kitty \
nano \
vim \
neovim \