Skip to content

Instantly share code, notes, and snippets.

@Reverbe
Reverbe / app.html
Created June 21, 2017 14:51 — forked from gist-master/app.html
TreeView: custom templates
<template>
<require from="./compo"></require>
<require from="aurelia-kendoui-bridge/common/template"></require>
<compo>
<ak-template>
<div>
<span class="title">${text}</span>
<button ak-button click.delegate="nodeClicked($event)">Click</button>
</div>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Reverbe
Reverbe / topo-ro-counties.json
Created July 26, 2018 21:28
topo-ro-counties
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Reverbe
Reverbe / topojson2-ro-counties.json
Created July 26, 2018 21:49
topojson2-ro-counties
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Reverbe
Reverbe / spreadsheetParse.js
Created July 26, 2018 22:28
google spreadsheet parser
var GoogleSpreadsheetsParser, GoogleSpreadsheetsUtil;
GoogleSpreadsheetsUtil = (function() {
function GoogleSpreadsheetsUtil() {}
GoogleSpreadsheetsUtil.prototype.extractKey = function(publishedUrl) {
var matched;
matched = publishedUrl.match(/https:\/\/docs.google.com\/spreadsheets\/d\/(.+)\/pubhtml/);
if (matched === null || matched.length !== 2) {
return null;
@Reverbe
Reverbe / ro-counties-js.js
Created March 14, 2020 21:58
ro-counties-js
{"type": "FeatureCollection", "features": [{"type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[26.100824,44.540807],[26.114879,44.487322],[26.222735,44.42636],[26.111768,44.361217],[25.966661,44.44074],[25.98783,44.49212],[26.100824,44.540807]]]]},"properties":{"cartodb_id":33,"sortcode":42,"pop2011":1883425,"pop2002":1926334,"pop1992":2067545,"pop1977":1807239,"pop1966":1366684,"pop1956":1177661,"pop1948":1025180,"regionid":8,"countycode":403,"countyid":40,"region":"București-Ilfov","mnemonic":"B","name":"București","version":"2016-03-10T00:00:00Z","comune":0,"orase":"0"}},{"type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[28.116052,46.107642],[28.085878,46.009131],[28.132171,45.875891],[28.109301,45.830084],[28.17415,45.645937],[28.152435,45.573392],[28.210776,45.467188],[28.181999,45.41336],[28.074912,45.434805],[28.030527,45.404345],[27.982984,45.390643],[27.741216,45.414221],[27.558524,45.488392],[27.52452,45.519592],[27.508823,45.624504],[27.403598,45.682314],[27.3