Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeff Thompson jeffThompson

View GitHub Profile
@jeffThompson
jeffThompson / EveryOUI
Created Mar 7, 2015
Every Organizationally Unique Identifier (OUI), via: http://standards-oui.ieee.org/oui.txt
View EveryOUI
EVERY ORGANIZATIONALLY UNIQUE IDENTIFIER (OUI)
Via: http://standards-oui.ieee.org/oui.txt
Details: http://en.wikipedia.org/wiki/Organizationally_unique_identifier
"Azimut" Production Association JSC
"RPC "Energoautomatika" Ltd
+plugg srl
01DB-METRAVIB
100fio networks technology llc
10NET COMMUNICATIONS/DCA
View AnnualProjected-Modeled.csv
year rcp45_weighted_mean rcp45_min rcp45_max rcp85_weighted_mean rcp85_min rcp85_max
2006 63.5 59.9 66.7 63.5 60.9 65.4
2007 64 61.3 66 63.5 60.3 66.5
2008 63.4 58.6 68.5 64 62 69.1
2009 63.4 61.5 67 63.5 59.8 67.8
2010 63.8 58.4 66.9 63.8 61.3 67.1
2011 64.2 60.8 68.5 64.1 62.1 66.2
2012 63.9 61.4 68.3 64.1 62.1 66.7
2013 64 61.4 68 64.3 62.4 66.2
2014 64.8 61.5 68.1 64.3 61.3 67.5
@jeffThompson
jeffThompson / Words In The Periodic Table: Results
Created Dec 4, 2013
A (partial but pretty extensive) list of words that can be made from the elements in the periodic table.
View Words In The Periodic Table: Results
Ac
AcCePt
AcCePtS
AcCEsS
AcCEsSeS
AcCrUAl
AcCRuAl
AcCrUAlS
AcCRuAlS
AcCrUEs
View ShakespeareSonnets_ALL.txt
From fairest creatures we desire increase,
That thereby beauty's rose might never die,
But as the riper should by time decease,
His tender heir might bear his memory:
But thou contracted to thine own bright eyes,
Feed'st thy light's flame with self-substantial fuel,
Making a famine where abundance lies,
Thy self thy foe, to thy sweet self too cruel:
Thou that art now the world's fresh ornament,
And only herald to the gaudy spring,
@jeffThompson
jeffThompson / IsCountableNoun.py
Last active Mar 14, 2022
A Python function to test if a noun is countable. Too many requests will get you locked out, so use sparingly. EDIT: probably won't work with changes to the NGram viewer; see comments below
View IsCountableNoun.py
# -*- coding: utf-8 -*-
import re, urllib2, json
def countable_noun(thing):
'''
searches Google NGram to see if a word is a countable/mass noun
returns True if countable, False if not
@jeffThompson
jeffThompson / UploadDataOverWifi.ino
Last active Mar 2, 2022
How to upload data to a server with Arduino
View UploadDataOverWifi.ino
#include <SPI.h>
#include <WiFi101.h>
/*
UPLOAD DATA OVER WIFI
Jeff Thompson | 2017 | jeffreythompson.org
The great Arduino Wifi101 library includes lots of examples
of how to *get* data from the internet, but no examples on how
@jeffThompson
jeffThompson / GenerateSlippyMapTiles.py
Last active Feb 18, 2022
Takes a large image as the input, outputs map tiles at the appropriate size and file structure for use in frameworks like leaflet.js, MapBox, etc.
View GenerateSlippyMapTiles.py
# -*- coding: utf-8 -*-
import argparse, magic, re, os, math, glob, shutil
'''
GENERATE SLIPPY MAP TILES
Jeff Thompson | 2016 | jeffreythompson.org
NOTE!
@danizen has an updated version for Python 3:
View CrosshatchImage.pde
float gridSize = 20;
boolean crosshatch = true;
PImage img;
void setup() {
size(1400, 788);
pixelDensity(displayDensity());
@jeffThompson
jeffThompson / AllCraigslistLocations
Created Jun 4, 2015
A list of all active Craigslist locations. Format as a URL using "http://<location>.craigslist.org".
View AllCraigslistLocations
auburn
bham
dothan
shoals
gadsden
huntsville
mobile
montgomery
tuscaloosa
anchorage
@jeffThompson
jeffThompson / Apollo11GuidanceComputerVertAndNounList.txt
Created Feb 15, 2016
A list of "nouns" and "verbs" to control the Apollo 11 guidance computer.
View Apollo11GuidanceComputerVertAndNounList.txt
APOLLO 11 GUIDANCE COMPUTER: VERB AND NOUN LIST
https://en.wikipedia.org/wiki/Apollo_Guidance_Computer#/media/File:Agc_verb-noun-list.jpg
VERB LIST
50 PLEASE PERFORM
51 PLEASE MARK
53 PLEASE MARK ALT LOG
54 REND COAS MARK
56 TERMINATE P20
58 STICKFLAG (R) V50N18 FLAG(S)