Skip to content

Instantly share code, notes, and snippets.

@charset "UTF-8";
/**
* Foundation for Sites by ZURB
* Version 6.1.2
* foundation.zurb.com
* Licensed under MIT Open Source
*/
.slide-in-down.mui-enter, .slide-in-left.mui-enter, .slide-in-up.mui-enter, .slide-in-right.mui-enter, .slide-out-down.mui-leave, .slide-out-right.mui-leave, .slide-out-up.mui-leave, .slide-out-left.mui-leave, .fade-in.mui-enter, .fade-out.mui-leave, .hinge-in-from-top.mui-enter, .hinge-in-from-right.mui-enter, .hinge-in-from-bottom.mui-enter, .hinge-in-from-left.mui-enter, .hinge-in-from-middle-x.mui-enter, .hinge-in-from-middle-y.mui-enter, .hinge-out-from-top.mui-leave, .hinge-out-from-right.mui-leave, .hinge-out-from-bottom.mui-leave, .hinge-out-from-left.mui-leave, .hinge-out-from-middle-x.mui-leave, .hinge-out-from-middle-y.mui-leave, .scale-in-up.mui-enter, .scale-in-down.mui-enter, .scale-out-up.mui-leave, .scale-out-down.mui-leave, .spin-in.mui-enter, .spin-out.mui-leave, .spin-in-ccw.mui-enter, .spin-out-ccw.mui-leave {
transition-duration: 500ms;
transition-timing-
!function t(e,i,n){function r(a,s){if(!i[a]){if(!e[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=i[a]={exports:{}};e[a][0].call(c.exports,function(t){var i=e[a][1][t];return r(i?i:t)},c,c.exports,t,e,i,n)}return i[a].exports}for(var o="function"==typeof require&&require,a=0;a<n.length;a++)r(n[a]);return r}({1:[function(t,e,i){function n(t){return t=Math.round(t),0>t?0:t>255?255:t}function r(t){return 0>t?0:t>1?1:t}function o(t){return n("%"===t[t.length-1]?parseFloat(t)/100*255:parseInt(t))}function a(t){return r("%"===t[t.length-1]?parseFloat(t)/100:parseFloat(t))}function s(t,e,i){return 0>i?i+=1:i>1&&(i-=1),1>6*i?t+(e-t)*i*6:1>2*i?e:2>3*i?t+(e-t)*(2/3-i)*6:t}function l(t){var e=t.replace(/ /g,"").toLowerCase();if(e in u)return u[e].slice();if("#"===e[0]){if(4===e.length){var i=parseInt(e.substr(1),16);return i>=0&&4095>=i?[(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,
@rustyb
rustyb / maseru-district.geojson
Created May 28, 2016 10:03
maseru district + maseru city council areas for hotosm task manager
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rustyb
rustyb / index.html
Last active May 20, 2016 13:15
new sor16
<!DOCTYPE html>
<html>
<head>
<title>SOR Graphs</title>
</head>
<body>
<!-- Latest compiled and minified plotly.js JavaScript -->
<script type="text/javascript" src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<div class="row column">
<div id="myDiv" style="width:90%;height:550px;display: inline-block;"></div>
@rustyb
rustyb / making_small_geotiffs.md
Last active April 25, 2016 18:57
GeoTIFF making notes for MapLesotho

First you will need to go and georeference your image. It will turn out absolutely massive, like 1.57GB.

With this image we will compress the file into a geoTiff with jpeg compression. Comes back as 45mb.

gdal_translate \
    HSPC0567_wgs84.jpg \
    out1.tiff \
    -co COMPRESS=JPEG \
    -co PHOTOMETRIC=YCBCR \
 -co TILED=YES
@charset "UTF-8";
/**
* Foundation for Sites by ZURB
* Version 6.1.2
* foundation.zurb.com
* Licensed under MIT Open Source
*/
.slide-in-down.mui-enter, .slide-in-left.mui-enter, .slide-in-up.mui-enter, .slide-in-right.mui-enter, .slide-out-down.mui-leave, .slide-out-right.mui-leave, .slide-out-up.mui-leave, .slide-out-left.mui-leave, .fade-in.mui-enter, .fade-out.mui-leave, .hinge-in-from-top.mui-enter, .hinge-in-from-right.mui-enter, .hinge-in-from-bottom.mui-enter, .hinge-in-from-left.mui-enter, .hinge-in-from-middle-x.mui-enter, .hinge-in-from-middle-y.mui-enter, .hinge-out-from-top.mui-leave, .hinge-out-from-right.mui-leave, .hinge-out-from-bottom.mui-leave, .hinge-out-from-left.mui-leave, .hinge-out-from-middle-x.mui-leave, .hinge-out-from-middle-y.mui-leave, .scale-in-up.mui-enter, .scale-in-down.mui-enter, .scale-out-up.mui-leave, .scale-out-down.mui-leave, .spin-in.mui-enter, .spin-out.mui-leave, .spin-in-ccw.mui-enter, .spin-out-ccw.mui-leave {
transition-duration: 500ms;
transition-timing-
<!DOCTYPE html><html><head><title></title><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /><style type='text/css'>
body {
font-family:'Helvetica';
letter-spacing:-5px;
background:#000;
background-size:100%;
color:#fff;
margin:0;
padding:0;
font-weight:bold;
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Test Page</title>
We can't make this file beautiful and searchable because it's too large.
"object_type","object_id","st_astext"
"way",367893266,"POINT(27.9332452281383 -28.9368578805378)"
"way",367892758,"POINT(27.9362712429366 -28.9368936224659)"
"way",367865107,"POINT(27.9368141579701 -28.9357008090967)"
"way",365781627,"POINT(27.9354030740407 -28.9342052468911)"
"way",365781628,"POINT(27.935594951427 -28.9344157128812)"
"way",365781969,"POINT(27.9375918454682 -28.9346571228121)"
"way",365781968,"POINT(27.9372011368705 -28.9343788204618)"
"way",365766118,"POINT(27.9358255455575 -28.9338236060891)"
"way",365776464,"POINT(27.9292057027434 -28.9322922942248)"
{
"version": 8,
"name": "EE-MAP-V02",
"metadata": {
"mapbox:groups": {
"1444850762048.5845": {
"name": "Water labels", "collapsed": true
}
,
"1444850923457.5469": {