Skip to content

Instantly share code, notes, and snippets.

Jeff Thompson jeffThompson

Block or report user

Report or block jeffThompson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jeffThompson
jeffThompson / Every Word In The Periodic Table
Last active Mar 15, 2018
Python script to generate all the possible words that can be made from the periodic table.
View Every Word In The Periodic Table
'''
EVERY WORD IN THE PERIODIC TABLE
Jeff Thompson | 2013 | www.jeffreythompson.org
Takes as its input the abbreviations of the elements in the
periodic table and returns all possible words that can be
generated from that input*.
Idea occurred while sitting through a boring meeting in a
lecture hall, staring at a periodic table on the wall.
@jeffThompson
jeffThompson / GetFeatherMacAddress.ino
Created Mar 29, 2017
Extracts the MAC address from an Adafruit Feather M0 Wifi board
View GetFeatherMacAddress.ino
#include <SPI.h>
#include <WiFi101.h>
/*
GET FEATHER MAC ADDRESS
Jeff Thompson | 2017 | jeffreythompson.org
Extracts the MAC address from an Adafruit Feather
M0 Wifi board.
@jeffThompson
jeffThompson / JPEGCompression
Created Apr 10, 2016
A Processing sketch to save JPG images with variable compression
View JPEGCompression
/*
JPEG COMPRESSION
Jeff Thompson | 2016 | www.jeffreythompson.org
For web-based images, controlling the compression of a JPG
can optimize dimensions and file size. The built-in save()
command for Processing doesn't give us this control, but we
can use Java's ImageIO to add this functionality.
*/
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.
@jeffThompson
jeffThompson / Word Frequency Search the Internet Archive
Last active Jun 1, 2017
A curatorial experiment through a residency with the Internet Archive; searches the Internet Archive for a given term, downloads the first result, parsing the most frequent word.
View Word Frequency Search the Internet Archive
#!/usr/bin/python
'''
MOST FREQUENT WORD SEARCH
Jeff Thompson | 2013 | www.jeffreythompson.org
A curatorial experiment through a residency with the Internet Archive.
REQUIRES:
+ Natural Language Toolkit (NLTK)
@jeffThompson
jeffThompson / DownloadEveryBobRossPainting.py
Last active Mar 30, 2017
Downloads all 411 paintings by Bob Ross from the site Two Inch Brush
View DownloadEveryBobRossPainting.py
'''
DOWNLOAD EVERY BOB ROSS PAINTING
Jeff Thompson | 2017 | jeffreythompson.org
Downloads all 411 paintings by Bob Ross from the
site Two Inch Brush.
'''
You can’t perform that action at this time.