Skip to content

Instantly share code, notes, and snippets.

View justingolden21's full-sized avatar
πŸ’»
Always coding πŸ‘

Justin Golden justingolden21

πŸ’»
Always coding πŸ‘
View GitHub Profile
@mbostock
mbostock / .block
Last active December 11, 2023 06:50 — forked from hail2u/twitter-bird.svg
Twitter SVG Logo
license: gpl-3.0
@mshafrir
mshafrir / states_hash.json
Created May 9, 2012 17:05
US states in JSON form
{
"AL": "Alabama",
"AK": "Alaska",
"AS": "American Samoa",
"AZ": "Arizona",
"AR": "Arkansas",
"CA": "California",
"CO": "Colorado",
"CT": "Connecticut",
"DE": "Delaware",
@dxdydz
dxdydz / liarsdice.py
Created April 18, 2012 04:45
Python Liar's Dice
import random
import time
NUMBERWORDS = 'zero one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen twenty twenty-one twenty-two twenty-three twenty-four twenty-five'.split()
NUMBERPLURALS = 'q ones twos threes fours fives sixes'.split()
names = 'Josie Henry Catherine Alice Henrietta Joseph Alistair Conrad Gary Bethany Susan Kirstie Maverick Mason Sophie Claire'.split()
def pause():
time.sleep(1)
@djsutherland
djsutherland / example.hmm
Created November 1, 2011 05:10
Code for a Hidden Markov Model, along with some sample data / parameters for testing.
4 # number of states
START
COLD
HOT
END
3 # size of vocab
1
2
3