View q1fy22 models
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#################################################################### | |
""" | |
successful sprints Fraction Achievement | |
0 | 0.00 | 0.90 | |
1 | 0.33 | 0.93 | |
2 | 0.67 | 0.97 | |
3 | 1.00 | 1.00 | |
4 | 1.33 | 1.03 | |
5 | 1.67 | 1.07 | |
6 | 2.00 | 1.10 |
View sim.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Scott Hendrickson | |
# @drskippy | |
# On average, how long do we have to wait for the various patterns in a random sequence | |
import random | |
import itertools | |
import string | |
import sys | |
import numpy as np |
View gist:a4c2a52c47c1eee7d641
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View g_tweets.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View h_tweets.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View AgeProgressMeter.pde
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
int boxSize = 5; // pixel size of month representation | |
int boxSpacing = 4; // vertical and horizontal spacing | |
int decadeSpacing = 2*boxSpacing; // extra space between decades | |
int markerOverhang = 18; | |
int margin = 150; | |
int w; | |
// Ages | |
int age = 0; |
View streamingToThreads.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import time | |
import threading | |
from threading import Lock | |
import base64 | |
import zlib | |
import urllib2 | |
printloc = Lock() | |
CHUNKSIZE = 2000 |
View gnip_stream.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import urllib2 | |
import base64 | |
import zlib | |
import threading | |
from threading import Lock | |
import json | |
import sys | |
import ssl |
View year-over-year-comp.r
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env Rscript | |
library(ggplot2) | |
library(stringr) | |
library(gridExtra) | |
library(scales) | |
args <- commandArgs(trailingOnly = TRUE) | |
format_si <- function(...) { | |
# Format a vector of numeric values according |
NewerOlder