Skip to content

Instantly share code, notes, and snippets.

View nerdyslacker's full-sized avatar
🦥
Let's nap instead

Karen nerdyslacker

🦥
Let's nap instead
View GitHub Profile
@nerdyslacker
nerdyslacker / fzf_exec.sh
Last active August 14, 2025 18:43
Interactive Docker Container Exec (fzf/rofi)
#!/bin/bash
selected=$(docker ps --format '{{.ID}} {{.Names}}' | fzf --prompt="Select container: ")
[ -z "$selected" ] && echo "No container selected." && exit 1
container_id=$(echo "$selected" | awk '{print $1}')
command_exists() {
docker exec "$container_id" sh -c "command -v $1 >/dev/null 2>&1"
@nerdyslacker
nerdyslacker / proj-launcher.sh
Created August 14, 2025 18:31
Rofi-Based Project Launcher with IDE Selection
#!/usr/bin/env bash
# KEYBOARD SHORTCUTS
# Alt+S → show subprojects
# Alt+I → choose IDE
PROJECTS_DIR="$HOME/Projects"
DEFAULT_IDE="code"
declare -A IDES=(
@nerdyslacker
nerdyslacker / void_gnome.md
Last active August 20, 2025 17:03
[Void Linux + GNOME] void linux configuration from scrath with gnome de #linux #void #gnome