Skip to content

Instantly share code, notes, and snippets.

View meetar's full-sized avatar

Peter Richardson meetar

View GitHub Profile
Loading
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@meetar
meetar / HOTQuickstart.md
Last active July 30, 2020 12:15
How to get started contributing to a Humanitarian OpenStreetMap task

##How to get started contributing to a Humanitarian OpenStreetMap Team task

###Overview

OpenStreetMap (OSM) is an open-source map of the world that anyone can edit. But like any map, it's incomplete.

The Humanitarian OpenStreetMap Team (HOT) helps organize people to improve the OSM map for crisis areas, mostly so aid workers can find their way around and make decisions about undermapped places. The data in these crisis areas is often very poor, or completely non-existent. Therefore any contribution you make at all will be a vast improvement, and could materially help people who are on the ground right now, looking at this data as you edit it, and deciding where to go and who to help.

There are many HOT tasks active at once. As of August 2014, the highest-priority tasks are Gaza and areas affected by the West African Ebola outbreak.

@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:

Loading
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]
},