Skip to content

Instantly share code, notes, and snippets.

View meetar's full-sized avatar

Peter Richardson meetar

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import string
import sys
import requests
import whois
from nltk import tokenize
BOOKFILE = sys.argv[1]
OUTPUTFILE = BOOKFILE + '.possible-domains.txt'
@meetar
meetar / monitor.svg
Created September 18, 2020 21:29
monitor.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@meetar
meetar / mapzen-logo.png
Created August 27, 2018 22:13 — forked from tallytalwar/mapzen-logo.png
test scene
mapzen-logo.png

Keybase proof

I hereby claim:

  • I am meetar on github.
  • I am meetar (https://keybase.io/meetar) on keybase.
  • I have a public key ASDXh5vWVO1BePjrIelY7o699wbBjpG6EkK8cKt9pFPLeAo

To claim this, I am signing this object:

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// load a file from a URL
function readTextFile(file, callback, errorback) {
var rawFile = new XMLHttpRequest();
// only change this if you know you want to force a particular mime type and are having trouble
// rawFile.overrideMimeType("application/json");
try {
rawFile.open("GET", file, true);
} catch (e) {
console.error("Error opening file:", e);
}
@meetar
meetar / free-as-in-links.md
Last active June 8, 2016 15:59
Links mentioned in @meetar's GeoJourNews 2016 talk Free As In Maps
{
"tests": {
"problem-1": {
"url": "https://raw.githubusercontent.com/tangrams/tangram/master/demos/scene.yaml",
"location": [51.50286581276559,-0.12119293212890626,14]
},
"problem-2": {
"url": "https://raw.githubusercontent.com/tangrams/tangram-sandbox/gh-pages/styles/tron.yaml",
"location": [51.50286581276559,-0.12119293212890626,14]
},
{
"tests": {
"world-1!": {
"url": "https://raw.githubusercontent.com/tangrams/tangram/master/demos/scene.yaml",
"location": [0,0,0]
},
"cinnabar-1!": {
"url": "https://raw.githubusercontent.com/tangrams/cinnabar-style/gh-pages/cinnabar-style.yaml",
"location": [0,0,1]
},