Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeff Thompson jeffThompson

View GitHub Profile
@jeffThompson
jeffThompson / AllBagelPlacesInNewJersey.csv
Last active Sep 2, 2020
Even though no one asked for it, this is a list of all bagel places in New Jersey. Pulled from NJ Division of Revenue and Enterprise Services (https://www.njportal.com/DOR/BusinessNameSearch/Search/BusinessName)
View AllBagelPlacesInNewJersey.csv
BUSINESS_NAME ENTITY_ID CITY BUSINESS_TYPE DATE_INCORPORATED
A & A BAGEL CO. 0100814320 (NOT LISTED) DP 4/18/2000
A & A BAGELS, INC. 0100639675 (NOT LISTED) DP 9/19/1995
A & A HOT BAGEL, LLP. 0600104048 SOUTH ORANGE LLP 12/13/2000
A & B BAGEL AND DELI III L.L.C. 0450427131 MORRIS PLAINS LLC 10/15/2019
A & B BAGEL II LLC 0450093808 RANDOLPH LLC 7/29/2016
A & B BAGELS & DELI II INC 0100790450 (NOT LISTED) DP 8/3/1999
A & B BAGELS & DELI, INC. 0100735913 NEWTON DP 2/18/1998
A & C BAGELS, INC. 0100576056 UNION DP 1/24/1994
A & D BAGEL, LLC. 0600192148 MONTVALE LLC 2/4/2004
@jeffThompson
jeffThompson / WordWrap.pde
Last active Dec 8, 2019
A word-wrap function for Processing with hyphenation! Returns overall height of resulting text block.
View WordWrap.pde
/*
WORD-WRAP (with hyphenation and text-box height)
Jeff Thompson | 2019 | jeffreythompson.org
A word-wrap function for Processing with hyphenation! Great for weirdo text,
URLs, etc. Returns overall height of resulting text block, which is super helpful
for times where you want to add something directly below a bunch of text.
OPTIONS:
View ThingsUsedInDivination.txt
by a baby's crawling
by a basin of water
by a divining rod
by a letter in a written language
by aerial visions
by altars
by animal behavior
by animal excrement
by animal horoscope
by animal shoulder blades
View LargestNumberOfZerosICouldCount.py
'''
LARGEST NUMBER OF ZEROS I COULD COUNT
Jeff Thompson | 2018 | jeffreythompson.org
After a breakfast conversation with Angeles, this script calculates
a number with so many zeros you couldn't count them in your lifetime.
RESULTS
8 hrs/day: 1 with 300,318,091 zeros
@jeffThompson
jeffThompson / RandomPath.pde
Created Aug 15, 2017
Generates a random path between two predefined points.
View RandomPath.pde
/*
RANDOM PATH
Jeff Thompson | 2017 | jeffreythompson.org
Generates a random path between two predefined points.
*/
import java.util.Date; // imports for timestamp
View TrumpWikipediaEdits_Deletions.txt
214739: trump
92232: donald
75604: 2016
74504: news
72717: http
69936: title
66900: cite
66443: date
65369: 2015
46124: accessdate
View TrumpWikipediaEdits_Additions.txt
213077: trump
91662: donald
75669: 2016
74596: news
72122: http
69864: title
66856: date
66778: cite
64664: 2015
45687: accessdate
@jeffThompson
jeffThompson / GetPatentImages.py
Last active Jun 19, 2017
A little Python script that automatically downloads images associated with a patent listing
View GetPatentImages.py
'''
GET PATENT IMAGES
Jeff Thompson | 2017 | jeffreythompson.org
A little Python script that automatically downloads
images associated with a patent listing. Use Google's
Patent Search first, then the "Download (CSV)" button
to save a file with all the results.
View Si4703.cpp
/*
Si4703 LIBRARY FOR ATTINY CHIPS
Jeff Thompson | 2017 | jeffreythompson.org
See .h file for credit where credit is due.
*/
#include "Arduino.h"
#include "Si4703_ATtiny.h"
View Si4703.h
/*
Si4703 LIBRARY FOR ATTINY CHIPS
Jeff Thompson | 2017 | jeffreythompson.org
A library for the Si4703 FM radio breakout from Sparkfun
for ATtiny chips like the ATtiny85. Mostly a little work
porting to the TinyWireM library, plus a bit of general
cleanup and formatting.
You can’t perform that action at this time.