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> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5/leaflet.css" /> | |
<!--[if lte IE 8]> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5/leaflet.ie.css" /> | |
<![endif]--> | |
<script src="http://cdn.leafletjs.com/leaflet-0.5/leaflet.js"></script> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<style> |
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
--- Source/C/NCSUtil/NCSPrefsXML.cpp.ori 2016-04-08 08:28:13.365541000 +0000 | |
+++ Source/C/NCSUtil/NCSPrefsXML.cpp 2016-04-08 08:28:58.665541000 +0000 | |
@@ -32,7 +32,11 @@ | |
} else { | |
char *pHomeDir = getenv("HOME"); | |
if( pHomeDir ) { | |
+#ifdef NCS_BUILD_UNICODE | |
+ sUserPrefsFile.Format( NCS_T("%s%ls"), pHomeDir, NCS_T("/.erm/ncsuserprefs.xml") ); | |
+#else | |
sUserPrefsFile.Format( NCS_T("%s%s"), pHomeDir, NCS_T("/.erm/ncsuserprefs.xml") ); |
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> | |
<title>LeafletJS and ALA occurrence layer</title> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css" /> | |
<body> | |
<div id="map" style="height: 800px"></div> | |
<script src="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.js"></script></head> |
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
{ | |
// REQUIRED (DataPackage): a url-compatible short name ("slug") for the package | |
"name": "Victoria-ABS", | |
// REQUIRED (DataPackage): a human readable title for the package | |
"title": "Revenue, Expenses, Assets, Liabilities for Victoria (Australia) 2005-14", | |
"sources": [ { | |
"name": "ABS", |
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
swagger: '2.0' | |
# This is your document metadata | |
info: | |
version: "2.1.0" | |
title: PTV Timetable API (community portal) | |
description: | | |
This is Open Knowledge Australia's version of Public Transport Victoria's <a href="https://www.data.vic.gov.au/data/dataset/ptv-timetable-api">Timetable API</a> documentation, built with [Swagger](https://github.com/swagger-api/swagger-ui). It was created by <a href="http://stevebennett.me">Steve Bennett</a> ([email protected], <a href="https://twitter.com/stevage1">@stevage1</a>) for Open Knowledge Australia. It was not funded or supported by PTV, but was based on the official documentation using the CC-BY licence. | |
The Timetable API 2.0.0 lets you find stations and stops in a given area, query the next few departures from a stop, and the stops on a given line or service. Version 2.1.0, released on 28 May 2015 adds realtime stop arrivale times for trams and some buses, and disruption data. It does not provide vehicle location tracking, spatial data other than st |
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> | |
<style> | |
iframe { width: 100%; height: 700px; } | |
body { margin: 0; padding: 0; } | |
</style> | |
<body> | |
<iframe src="https://docs.google.com/document/d/1CYYXFW2mNaSCfVFOzjsz7EU-4KTz7uHeITvJMLWyVek/pub?embedded=true"></iframe> | |
</body> |
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
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<StyledLayerDescriptor version="1.0.0" | |
xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" | |
xmlns="http://www.opengis.net/sld" | |
xmlns:ogc="http://www.opengis.net/ogc" | |
xmlns:xlink="http://www.w3.org/1999/xlink" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<!-- a Named Layer is the basic building block of an SLD document --> | |
<NamedLayer> | |
<Name>region_id</Name> |
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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAuKywKeAWFTGc0j3QFxwRbg4BEYLlZksRhp3BJengRP4bDR3r60HqFlwp+XlbB/U3Fsgh/2x1Pany/RvxFytMhDKg+Vvxdzt1MLcXC5p2/zEL4KV98ODbYb+VuOPotL5+8yM4lkX5re7wyZnngB9RgfSU1rhWb4UxuSkfmeeoOVU= |
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
sudo apt-get install -y python-software-properties && sudo add-apt-repository ppa:keithw/mosh && sudo apt-get update && sudo apt-get install -y mosh |
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 pois = new XMLHttpRequest(); | |
pois.open("GET","http://cycletour.org/testosrm/map.geojson",true); | |
pois.onreadystatechange = function() { | |
if (pois.readyState === 4) { // Makes sure the document is ready to parse. | |
if (pois.status === 200) { // Makes sure it's found the file. | |
geojson = JSON.parse(pois.responseText); | |
L.geoJson(geojson, { | |
onEachFeature: function (feature, layer) { | |
layer.bindPopup(feature.properties.description); |