Skip to content

Instantly share code, notes, and snippets.

@hpfast
hpfast / aardbevingen_NL.geojson
Last active February 8, 2018 10:05
Leaflet with a GeoJSON layer in RD
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@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 / 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.
@hpfast
hpfast / index.html
Created February 6, 2018 15:53
Leaflet with a WMS overlay
<!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=""/>
@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=""/>
@hpfast
hpfast / index.html
Created February 6, 2018 15:51
leaflet basemap example
<!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.
@hpfast
hpfast / index.html
Last active August 29, 2015 14:14
demo gist
<html>
<head>
<title>Cool stuff</title>
<script>
document.write('this is cool');
</script>
</head>
<body>
Cool stuff happening here.
@hpfast
hpfast / myfile.txt
Created February 3, 2015 19:42
testing npm modularization
THIS FILE CONTAINS SOME TEXT
diff --git a/server.go b/server.go
index 646cb44..33cd4ea 100644
--- a/server.go
+++ b/server.go
@@ -1247,8 +1247,8 @@ func (srv *Server) ContainerCopy(name string, resource string, out io.Writer) er
}
func NewServer(flGraphPath string, autoRestart, enableCors bool, dns ListOpts) (*Server, error) {
- if runtime.GOARCH != "amd64" {
- log.Fatalf("The docker runtime currently only supports amd64 (not %s). This will change in the future. Aborting.", runtime.GOARCH)