Skip to content

Instantly share code, notes, and snippets.

View jakeotte's full-sized avatar

Jake Otte jakeotte

View GitHub Profile
#!/bin/bash
# Check for required arguments
if [[ $# -ne 1 ]]; then
echo "Usage: $0 <input_file>"
exit 1
fi
echo "shares" > mycommands
@jakeotte
jakeotte / getmytools
Last active September 11, 2025 16:05
#!/bin/bash
# Check python version >= 3.10
PYTHON_VERSION=$(python3 -c 'import sys; print(sys.version_info[:2])')
REQUIRED_VERSION=(3 10)
if (( PYTHON_VERSION < REQUIRED_VERSION )); then
echo "Python 3.10+ required. Please install a newer Python."
exit 1
fi