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
!!!!! """"" ##### $$$$$ %%%%% &&&&& ''''' ((((( ))))) ***** +++++ ,,,,, ----- ..... ///// 00000 11111 22222 33333 44444 55555 66666 77777 88888 99999 ::::: ;;;;; <<<<< ===== >>>>> ????? @@@@@ AAAAA BBBBB CCCCC DDDDD EEEEE FFFFF GGGGG HHHHH IIIII JJJJJ KKKKK LLLLL MMMMM NNNNN OOOOO PPPPP QQQQQ RRRRR SSSSS TTTTT UUUUU VVVVV WWWWW XXXXX YYYYY ZZZZZ [[[[[ \\\\\ ]]]]] ^^^^^ _____ ````` aaaaa bbbbb ccccc ddddd eeeee fffff ggggg hhhhh iiiii jjjjj kkkkk lllll mmmmm nnnnn ooooo ppppp qqqqq rrrrr sssss ttttt uuuuu vvvvv wwwww xxxxx yyyyy zzzzz {{{{{ ||||| }}}}} ~~~~~!!!!!"""""!!!!!#####!!!!!$$$$$!!!!!%%%%%!!!!!&&&&&!!!!!'''''!!!!!(((((!!!!!)))))!!!! |
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
// the "resolution" of the noise | |
float inc = 0.008; | |
// "rate of change" for the noise | |
float zInc = 0.1; | |
// min/max values for noise | |
float hueMin = 0; // hue | |
float hueMax = 50; |
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, magic, re, os, math, glob, shutil | |
''' | |
GENERATE SLIPPY MAP TILES | |
Jeff Thompson | 2016 | jeffreythompson.org | |
NOTE! | |
@danizen has an updated version for Python 3: |
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 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 |
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
/* | |
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. | |
*/ |
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
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) |
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
[{ | |
"fbid": 6004114554024, | |
"name": "TechCrunch", | |
"type": "interest", | |
"subtype": "KEYWORD_TYPE_INTEREST_CLUSTER", | |
"topic": "News and entertainment", | |
"disambiguation_category": null | |
}, { | |
"fbid": 6003346592981, | |
"name": "Online shopping", |
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
{ | |
"countries": { | |
"US": "United States", | |
"CA": "Canada", | |
"GB": "United Kingdom", | |
"AR": "Argentina", | |
"AU": "Australia", | |
"AT": "Austria", | |
"BE": "Belgium", | |
"BR": "Brazil", |
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
''' | |
MAKERBOT LAYERS >> GIF | |
Jeff Thompson | 2015 | www.jeffreythompson.org | |
A dumb little thing that makes an animated GIF from your Makerbot preview | |
window. Start at Layer 0, run this script, and out comes a lovely GIF. | |
EXAMPLE OUTPUT: | |
This sweet saber-toothed tiger skull: |
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
"Oh Susanna!" | |
Carl Weisman and the Singing Dogs | |
"Hot Dog" | |
Led Zeppelin | |
"Under the Boardwalk" | |
Jackson 5 | |
"Hot Dog Song" |