Skip to content

Instantly share code, notes, and snippets.

@hpfast
hpfast / gemeenten2017.topojson
Last active August 4, 2023 07:11
Leaflet with a topojson layer
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hpfast
hpfast / index.html
Created February 6, 2018 15:52
Leaflet with a basemap in EPSG:28992
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>A basic map with Leaflet</title>
<!--add Leaflet CSS-->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css"
integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ=="
crossorigin=""/>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hpfast
hpfast / server_simple.js
Created April 4, 2019 08:54 — forked from johnschimmel/server_simple.js
Simple NodeJS web server example
/************************************************
FILENAME
server_simple.js
DESCRIPTION
creates a simple web server that
displays translations of requested words
HOW TO START SERVER:
1) from terminal run 'node simple_server.js'
(function (exports) {
'use strict';
function unwrapExports (x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
}
function createCommonjsModule(fn, module) {
return module = { exports: {} }, fn(module, module.exports), module.exports;
}
@hpfast
hpfast / .block
Last active February 8, 2018 14:40
Canvas tutorial - Turn SVG scatterplot into Canvas - Normal level
license: mit
@hpfast
hpfast / .block
Last active February 8, 2018 13:26
fresh block
license: mit
@hpfast
hpfast / .block
Last active February 8, 2018 13:15
Aardbevingen NL - DatavizFest
license: mit
@hpfast
hpfast / aardbevingen_NL.geojson
Last active February 8, 2018 10:05
Leaflet with a GeoJSON layer
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.