Skip to content

Instantly share code, notes, and snippets.

View ursisterbtw's full-sized avatar

ursisterbtw ursisterbtw

View GitHub Profile
#!/usr/bin/env bash
# Tool Availability Checker
# Checks for presence of common CLI tools organized by category
check_tool() {
if command -v "$1" &>/dev/null; then
version=$(timeout 0.5s "$1" --version </dev/null 2>/dev/null | head -n1 || echo "installed")
printf " [%s] %s - %s\n" "$(tput setaf 2)✓$(tput sgr0)" "$1" "$version"
return 0
@ursisterbtw
ursisterbtw / ubuntu-vm-setup.sh
Last active June 7, 2025 10:34
ubuntu-vm-setup.sh
#!/bin/bash
#==============================================================================
# Ubuntu Development Environment Setup Script
# Description: Comprehensive installation script for development tools,
# applications, and utilities on fresh Ubuntu VMs
# Author: Generated for dotfiles repository
# Usage: chmod +x ubuntu-dev-setup.sh && ./ubuntu-dev-setup.sh [--auto-approve]
#==============================================================================
@ursisterbtw
ursisterbtw / flowcharter.py
Last active April 17, 2025 20:06
flowchart generation in .dot & .svg formats with .png as a fallback
#!/usr/bin/env python3
import argparse
import logging
import os
import re
import shutil
import subprocess
import sys
import uuid