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
''' | |
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. |
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
/* | |
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" |
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
/* | |
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. |
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
''' | |
DOWNLOAD EVERY BOB ROSS PAINTING | |
Jeff Thompson | 2017 | jeffreythompson.org | |
Downloads all 411 paintings by Bob Ross from the | |
site Two Inch Brush. | |
''' |
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
#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 |
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
#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. |
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
''' | |
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. |
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
# -*- coding: utf-8 -*- | |
import argparse, json, os | |
import numpy as np | |
import h5py | |
import codecs | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--input_txt', default='data/tiny-shakespeare.txt') |
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
00:02:2d:0c:03:53 | |
101 | |
12InteractiveWorldHQ | |
14wabash | |
1911 | |
1Gary | |
2156 | |
21JUMPSTREET | |
24-7STAR | |
24seven |
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
float gridSize = 20; | |
boolean crosshatch = true; | |
PImage img; | |
void setup() { | |
size(1400, 788); | |
pixelDensity(displayDensity()); |