Skip to content

Instantly share code, notes, and snippets.

Dane Springmeyer springmeyer

Block or report user

Report or block springmeyer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@springmeyer
springmeyer / z0.geojson
Last active May 6, 2019
GoogleCRS84Quad
View z0.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View z0-wgs84.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@springmeyer
springmeyer / z0.geojson
Last active May 21, 2019
WGS84 tiling scheme
View z0.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@springmeyer
springmeyer / build-boost-geom-asan.sh
Last active Aug 12, 2018
build boost::geometry with address sanitizer
View build-boost-geom-asan.sh
#!/usr/bin/env bash
set -eu
set -o pipefail
${HOME}/projects/mason/mason install clang++ 5.0.1
${HOME}/projects/mason/mason link clang++ 5.0.1
export ASAN_SYMBOLIZER_PATH=$(pwd)/mason_packages/.link/bin/llvm-symbolizer
export MSAN_SYMBOLIZER_PATH=$(pwd)/mason_packages/.link/bin/llvm-symbolizer
View coord.js
// generic code
// interface
var Coord = function() {
this.one = 'one';
};
Coord.two = function() {
return 'two';
};
@springmeyer
springmeyer / build.sh
Last active Jul 16, 2018
build valhalla node bindings statically
View build.sh
#!/usr/bin/env bash
: '
Script to build valhalla against mason deps
Intended to be run inside a valhalla checkout of https://github.com/valhalla/valhalla/pull/1341
'
@springmeyer
springmeyer / Dockerfile.mbgl
Created May 1, 2018
Dockerfile for running mapbox-gl-native node module
View Dockerfile.mbgl
FROM ubuntu:xenial-20171006
# docker build -t mbgl -f Dockerfile.mbgl .
# docker run -it mbgl bash
# install && clean up
RUN apt-get update -qq && \
apt-get install -y curl && \
curl https://nodejs.org/dist/v4.8.7/node-v4.8.7-linux-x64.tar.gz | tar zxC /usr/local --strip-components=1
@springmeyer
springmeyer / install-pcp.sh
Last active Aug 22, 2018 — forked from johanstenberg92/install-pcp.sh
Install Performance Co-Pilot on Amazon Linux AMI
View install-pcp.sh
#!/bin/sh
set -eu
if [ "$(id -u)" != "0" ]; then
echo "Sorry, you are not root."
exit 1
fi
if !(type pcp 2>/dev/null;) then
@springmeyer
springmeyer / run.sh
Last active Nov 23, 2016
build all of osrm and run all the tests
View run.sh
#!/bin/bash
set -eu
set -o pipefail
function echo_color { >&2 echo -e "\033[1m\033[36m* $1\033[0m"; }
function echo_color_substep { >&2 echo -e "\033[1m\033[32m* $1\033[0m"; }
export SHOW_COMPILE_FLAGS=false
You can’t perform that action at this time.