This guide sets up hardware-backed SSH keys using a YubiKey.
Your private key stays inside the YubiKey. You share only the public key with sysadmins.
This file contains hidden or 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
| # Print all commands | |
| set -x | |
| # Stop on error | |
| set -e | |
| # This key was shared over email, treat it as a secret. | |
| SAS_SUBSCRIPTION_KEY="" | |
| # Example (account, container) pair. | |
| account="nclimgrideastus" |
- 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.
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 hidden or 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? | |
| * |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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" |
NewerOlder