grep '^98.97.40.8 ' access_main.log > /var/tmp/clipping.logzgrep '^34.234.176.30 ' access_main.log-202411*.gz access_main.log-20241107 access_main.log > /var/tmp/clipping.log| # 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" |
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| /** | |
| * 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? | |
| * |
| # -*- 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__) |
| /** | |
| * 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({ |
| leafletData.getMap().then(function(map) { | |
| theMap = map; | |
| highlightTrackGeoJson = L.geoJson(highlightTrack, { | |
| style: function (feature) { | |
| return { | |
| weight: 12, | |
| opacity: 1, | |
| color: "#ffffff" | |
| }; | |
| } |
| var slrMap = { | |
| //default properties | |
| map : null, | |
| //class functions | |
| loadMap: function(){ | |
| this.map = new OpenLayers.Map({ | |
| div: "map", | |
| projection: "EPSG:900913" |
| 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}', { |