Skip to content

Instantly share code, notes, and snippets.

View map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View map.geojson
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 Apr 4, 2019 — forked from johnschimmel/server_simple.js
Simple NodeJS web server example
View server_simple.js
/************************************************
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'
View nlmaps.ams.iife.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 Feb 8, 2018
Canvas tutorial - Turn SVG scatterplot into Canvas - Normal level
View .block
license: mit
@hpfast
hpfast / .block
Last active Feb 8, 2018
fresh block
View .block
license: mit
@hpfast
hpfast / .block
Last active Feb 8, 2018
Aardbevingen NL - DatavizFest
View .block
license: mit
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>A basic map with MapboxGL.js</title>
<!--add MapboxGLjs CSS-->
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.44.0/mapbox-gl.css' rel='stylesheet' />
<!--our own style rules-->
View index.html
<!DOCTYPE html>
<html lang="nl">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>VISdata - PDOK</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="img/pdok_favicon.ico">
<link rel="stylesheet" href="css/mapbox-gl.css">
<link rel="stylesheet" href="css/main.css">
@hpfast
hpfast / index.html
Last active Feb 6, 2018
simple mapbox-gl viewer
View index.html
<!DOCTYPE html>
<html lang="nl">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>VISdata - PDOK</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="img/pdok_favicon.ico">
<link rel="stylesheet" href="css/mapbox-gl.css">
<link rel="stylesheet" href="css/main.css">