Skip to content

Instantly share code, notes, and snippets.

View EmbeddedLinuxGuy's full-sized avatar

Jesse Zbikowski EmbeddedLinuxGuy

View GitHub Profile
@EmbeddedLinuxGuy
EmbeddedLinuxGuy / timekeeperville.py
Created September 10, 2012 22:21 — forked from leif/timekeeperville.py
timekeeperville
"timekeeperville is a game where you must keep time"
# by Leif Ryge, 2012, WTFPL
from sys import argv
from time import time
from collections import deque
rate = 4 if len(argv) < 2 else int(argv[1])
level = 4 if len(argv) < 3 else int(argv[2])
data = [ deque([], 1) ]
start = time()
prev = start - (1.0/rate)
@EmbeddedLinuxGuy
EmbeddedLinuxGuy / gist:1509100
Created December 22, 2011 05:40 — forked from sontek/snowjob.sh
Make your terminal snow
#!/bin/bash
LINES=$(tput lines)
COLUMNS=$(tput cols)
declare -A snowflakes
declare -A lastflakes
clear