git rev-list --objects --all \
| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \
| sed -n 's/^blob //p' \
| sort --numeric-sort --key=2 \
| cut -c 1-12,41- \
| $(command -v gnumfmt || echo numfmt) --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest \
| tee file-size-list
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 loadMap() | |
{ | |
//create map object | |
map = new OpenLayers.Map({ | |
div: "map", | |
projection: "EPSG:900913" | |
}); | |
map.addLayer( | |
new OpenLayers.Layer.XYZ("esri", 'http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/${z}/${y}/${x}', { |
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 slrMap = { | |
//default properties | |
map : null, | |
//class functions | |
loadMap: function(){ | |
this.map = new OpenLayers.Map({ | |
div: "map", | |
projection: "EPSG:900913" |
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
leafletData.getMap().then(function(map) { | |
theMap = map; | |
highlightTrackGeoJson = L.geoJson(highlightTrack, { | |
style: function (feature) { | |
return { | |
weight: 12, | |
opacity: 1, | |
color: "#ffffff" | |
}; | |
} |
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
/** | |
* Author: Shaunak Vairagare | |
* Licence: MIT | |
* Plugin Url: https://gist.github.com/shaunakv1/4d187d9f445427ed31814735a575801c | |
* | |
* jQuery Plugin to report viewProgress on a element. Usually this will be used on window object, to | |
* detect how much of the page user has seen, and to get a callback each time. | |
* | |
* Usage Example: | |
* $(window).reportViewProgress({ |
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
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
import os | |
import shutil | |
import math | |
import psycopg2 | |
from flask import Flask, render_template, make_response | |
app = Flask(__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
/** | |
* Process to create geojsons. | |
* Connect to MasterDataregistery DB from QGIS | |
* Convert to Geojson, which splits feature into different data types | |
* Convert the polygin layer to WGS84 Shapefile | |
* Convert the WGS84 shapefile to individual GeoJSON file using ogr2ogr from qgis | |
* "gdalogr:convertformat","C:/Projects/qgis/shapefiles/MasterRegistryFootptintsPolygonsWGS84.shp",1,"COORDINATE_PRECISION=5 ","C:/Projects/qgis/geojsons/MasterRegistryFootprintsPolygonsWGS84.geojson | |
* | |
* crashing on holes may be? | |
* |
- Windows App Store
- NOAA Users should use Software Center Windows Terminal
- Install from Github Releases
We will use the new Windows windows terminal app for the rest of the steps. If you chose not to install it. then you may use Windows Powershell Application. For WSL commands, have another PowerShell window logged into wsl using (wsl) command once you have wsl installed.