Skip to content

Instantly share code, notes, and snippets.

View poetaman's full-sized avatar
🍊
vitamin C(ode)

poetaman

🍊
vitamin C(ode)
View GitHub Profile
@poetaman
poetaman / arttime_online_installer.sh
Last active January 20, 2024 19:44
arttime's simple online installer
#!/usr/bin/env zsh
autoload -Uz is-at-least
if ! is-at-least "5.7"; then
echo "Error: your zsh version $ZSH_VERSION is less than the required version: 5.7"
exit 1
fi
tmpdir=""
dirstatus=1
if command -v mktemp &>/dev/null; then
tmpdir=$(mktemp -d)
@poetaman
poetaman / cfire
Created March 18, 2022 18:28 — forked from msimpson/cfire
Curses based ASCII art fire animation.
#!/usr/bin/python
import curses, random
screen = curses.initscr()
width = screen.getmaxyx()[1]
height = screen.getmaxyx()[0]
size = width*height
char = [" ", ".", ":", "^", "*", "x", "s", "S", "#", "$"]
b = []