Skip to content

Instantly share code, notes, and snippets.

View danwild's full-sized avatar

Dan Wild danwild

View GitHub Profile
@danwild
danwild / L.CanvasOverlay.js
Created June 27, 2016 01:02 — forked from Sumbera/L.CanvasOverlay.js
Leaflet Canvas Overlay
/*
Generic Canvas Overlay for leaflet,
Stanislav Sumbera, April , 2014
- added userDrawFunc that is called when Canvas need to be redrawn
- added few useful params fro userDrawFunc callback
- fixed resize map bug
inspired & portions taken from : https://github.com/Leaflet/Leaflet.heat
License: MIT
@danwild
danwild / install_netcdf4.sh
Created November 4, 2016 00:53
Install netCDF4 in Ubuntu
#!/bin/bash
# Script to install hdf5 and netCDF4 libraries on a Linux Ubuntu system
# After: https://code.google.com/p/netcdf4-python/wiki/UbuntuInstall
# And http://unidata.github.io/netcdf4-python/
# You can check for newer version of the programs on
# ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4/
# and other sources
@danwild
danwild / meteor-nginx
Created November 17, 2016 03:17 — forked from dweldon/meteor-nginx
This is an example of how to configure nginx to serve a meteor app.
server {
listen 80;
server_name app.example.com;
rewrite ^ https://$server_name$request_uri? permanent;
}
server {
listen 443;
server_name app.example.com;