Skip to content

Instantly share code, notes, and snippets.

Avatar

Bastiaan Quast bquast

View GitHub Profile
View redis-production.yaml
usePassword: true
master:
port: 6379
command: "/run.sh"
disableCommands:
- FLUSHDB
- FLUSHALL
service:
type: LoadBalancer
port: 6379
@bquast
bquast / README.md
Last active May 22, 2021 — forked from rgdonohue/README.md
Interactive World Map in D3
View README.md

An interactive world map displaying country names on hoover, based on maptimeLEX .

@bquast
bquast / distancexform.py
Created Jun 26, 2017 — forked from hagerty/distancexform.py
Distance transform from geoJSON to a bumpy array
View distancexform.py
import json
from shapely.geometry import Polygon, shape, Point
import gdal
import numpy as np
import sys
fn = sys.argv[1]
path = sys.argv[2]
def Pixel2World ( geoMatrix, i , j ):
ulX = geoMatrix[0]