Description | Entity | Preview |
---|---|---|
A With Acute, Latin Capital Letter | Á | Á |
A With Acute, Latin Small Letter | á | á |
A With Breve, Latin Small Letter | ă | ă |
A With Caron, Latin Small Letter | ǎ | ǎ |
A With Circumflex, Latin Capital Letter | Â | Â |
A With Circumflex, Latin Small Letter | â | â |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npx @marp-team/marp-cli --template bare -o ol-layerswitcher-typescript.html presentation.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<system.webServer> | |
<httpProtocol> | |
<customHeaders> | |
<add name="Access-Control-Allow-Origin" value="*" /> | |
<add name="Access-Control-Allow-Headers" value="Accept,Content-Type,X-Requested-With" /> | |
</customHeaders> | |
</httpProtocol> | |
</system.webServer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# taken from http://www.piware.de/2011/01/creating-an-https-server-in-python/ | |
# generate server.pem with the following command: | |
# openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes | |
# change to the directory you want to serve and run as follows: | |
# python simple-https-server.py | |
# then in your browser, visit: | |
# https://localhost:4443 | |
# to add the certificate to Chrome see: | |
# http://stackoverflow.com/a/15076602/526860 | |
import BaseHTTPServer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>OpenLayers 3 - LayerSwitcher & Popup</title> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ol3/3.17.1/ol.css" /> | |
<link rel="stylesheet" href="https://rawgit.com/walkermatt/ol3-layerswitcher/master/src/ol3-layerswitcher.css" /> | |
<link rel="stylesheet" href="https://rawgit.com/walkermatt/ol3-layerswitcher/master/examples/layerswitcher.css" /> | |
<link rel="stylesheet" href="https://rawgit.com/walkermatt/ol3-popup/master/src/ol3-popup.css" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function escapeAsCsv(str) { | |
// Double up double quotes and quote the entire string if necessary | |
if (str.includes(',') || str.includes('\n') || str.includes('"')) { | |
return '"' + str.replace(/"/g, '""') + '"'; | |
} | |
return str; | |
} | |
// Export Confluence table as CSV | |
// Select the tbody element in Chrome devtools Elements panel then run the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var R = require('ramda'); | |
var states = [ | |
{symbol: 'CT', name: 'Connecticut', pop: 3574097}, | |
{symbol: 'ME', name: 'Maine', pop: 1328361}, | |
{symbol: 'MA', name: 'Massachusetts', pop: 6547629}, | |
{symbol: 'NH', name: 'New Hampshire', pop: 1316470}, | |
{symbol: 'RI', name: 'Rhode Island', pop: 1052567}, | |
{symbol: 'VT', name: 'Vermont', pop: 623741}, | |
]; |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// OpenLayers. See https://openlayers.org/ | |
// License: https://raw.githubusercontent.com/openlayers/openlayers/master/LICENSE.md | |
// Version: v4.5.0-70-gfca0b07 | |
;(function (root, factory) { | |
if (typeof exports === "object") { | |
module.exports = factory(); | |
} else if (typeof define === "function" && define.amd) { | |
define([], factory); | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" Minimal MapProxy Middleware demonstrating wrapping MapProxy and working | |
with the query string | |
To run: | |
1. Install MapProxy in a virtual enviroment together with Gunicorn | |
2. Create a basic MapProxy config and copy this file into the same directory as mapproxy.yaml | |
2. Activate virtual environment | |
3. Change to the directory containing this file | |
4. Run: | |
gunicorn -k eventlet --workers=1 --log-file=- mapproxy_filter:application |