Skip to content

Instantly share code, notes, and snippets.

View jeffThompson's full-sized avatar

Jeff Thompson jeffThompson

View GitHub Profile
@jeffThompson
jeffThompson / Words In The Periodic Table: Results
Created December 4, 2013 15:15
A (partial but pretty extensive) list of words that can be made from the elements in the periodic table.
Ac
AcCePt
AcCePtS
AcCEsS
AcCEsSeS
AcCrUAl
AcCRuAl
AcCrUAlS
AcCRuAlS
AcCrUEs
@jeffThompson
jeffThompson / Verbs-ForCreativeProgramming1.txt
Created November 2, 2023 13:50
Verbs (for Creative Programming 1)
abandon
abbreviate
abet
absorb
accelerate
accept
accommodate
accompany
accomplish
accrue
@jeffThompson
jeffThompson / Apollo11GuidanceComputerVertAndNounList.txt
Created February 15, 2016 16:32
A list of "nouns" and "verbs" to control the Apollo 11 guidance computer.
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)
@jeffThompson
jeffThompson / SplitSyllables.py
Last active July 18, 2023 12:57
Splits a word into syllables
'''
SPLIT SYLLABLES
Jeff Thompson | 2016 | jeffreythompson.org
Requires this modified version of the CMU Pronouncing
dictionary by Susan Bartlett, Grzegorz Kondrak and Colin Cherry:
https://webdocs.cs.ualberta.ca/~kondrak/cmudict.html
Download and save to your project directory, or somewhere you can
easily reference it.
@jeffThompson
jeffThompson / GenerateSlippyMapTiles.py
Last active June 20, 2023 16:43
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.
# -*- 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:
@jeffThompson
jeffThompson / UploadDataOverWifi.ino
Last active February 9, 2023 16:27
How to upload data to a server with Arduino
#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 / RandomPath.pde
Created August 15, 2017 14:19
Generates a random path between two predefined points.
/*
RANDOM PATH
Jeff Thompson | 2017 | jeffreythompson.org
Generates a random path between two predefined points.
*/
import java.util.Date; // imports for timestamp
Scarecrow in the hillock
Paddy field --
How unaware! How useful!
Passing through the world
Indeed this is just
Sogi's rain shelter.
A wild sea-
In the distance over Sado
@jeffThompson
jeffThompson / EveryOUI
Created March 7, 2015 16:18
Every Organizationally Unique Identifier (OUI), via: http://standards-oui.ieee.org/oui.txt
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
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