Skip to content

Instantly share code, notes, and snippets.

View 0sn's full-sized avatar
💭
Set status

Nick Wolfe 0sn

💭
Set status
  • ChumpCo, The Dummy Corporation
  • Toronto
View GitHub Profile
@0sn
0sn / unotest.py
Created July 23, 2024 15:06
testing shuffles and guessing of different decks
from random import shuffle, randrange
from statistics import mean
import multiprocessing as mp
cards = {}
# Uno All Wild deck
# cards = {
# 'wild': 54,
# 'reverse': 14,
@0sn
0sn / build_rt.py
Created April 15, 2013 16:59
A python script to turn rescuetime data into something that Panic's StatusBoard app understands
#/usr/local/bin/python
"""Build Rescuetime Graph Data for StatusBoard.app
This script pulls data from a rescuetime account and flattens it into a format
that is easily read by StatusBoard. Okay. Run it with cron or launchd, whatever.
*nick wolfe
http://nameremoved.com/
"""