Skip to content

Instantly share code, notes, and snippets.

View meetar's full-sized avatar

Peter Richardson meetar

View GitHub Profile
import string
import sys
import requests
import whois
from nltk import tokenize
BOOKFILE = sys.argv[1]
OUTPUTFILE = BOOKFILE + '.possible-domains.txt'
@meetar
meetar / mapzen-logo.png
Created August 27, 2018 22:13 — forked from tallytalwar/mapzen-logo.png
test scene
mapzen-logo.png
@meetar
meetar / scene.yaml
Last active January 22, 2016 19:01 — forked from anonymous/scene.yaml
[This is a Tangram scene, made with Tangram Play.]
# Author @patriciogv - 2015
cameras:
camera1:
type: perspective
styles:
space-tile:
shaders:
blocks:
global: |
@meetar
meetar / hi8-anim-howto.md
Created November 29, 2015 18:39 — forked from celoyd/hi8-anim-howto.md
A way to make Himawari-8 animations

Himawari-8 animation tutorial

Here’s how to make animations like this one. It requires intermediate Unix command-line knowledge, to install some tools and to debug if they don’t work. You’ll need these utilities:

  • curl (or you can translate to wget)
  • convert and montage, part of ImageMagick
  • ffmpeg, plus whatever codecs
  • parallel, for iteration that’s nicer than shell for loops or xargs
  • run everything in zsh for leading 0s in numerical ranges to work
cameras:
perspective:
type: perspective
vanishing_point: [0, -500]
lights:
directional1:
type: directional
direction: [.5, .1, -1]
diffuse: .2
ambient: 0.8
@meetar
meetar / msort.py
Created January 1, 2013 06:07 — forked from anonymous/msort.py
def scan_forward( fp ):
for line in fp:
if line==[]:
return True
return False
def rowcmp(a,b):
if a==[]:
return 1
if b==[]:
#!/usr/bin/env python
###############################################################################
# $Id$
#
# Project: GDAL2Tiles, Google Summer of Code 2007 & 2008
# Global Map Tiles Classes
# Purpose: Convert a raster into TMS tiles, create KML SuperOverlay EPSG:4326,
# generate a simple HTML viewers based on Google Maps and OpenLayers
# Author: Klokan Petr Pridal, klokan at klokan dot cz
# Web: http://www.klokan.cz/projects/gdal2tiles/