See the JSDoc comment at the top of index.ts for details
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
| # Tests if a command exists. | |
| function commandExists($commandName) { | |
| return $null -ne (Get-Command $commandName -ErrorAction SilentlyContinue) | |
| } | |
| # Tests to see if a module is installed on the computer. | |
| function moduleExists($moduleName) { | |
| return $null -ne (Get-Module $moduleName -ListAvailable) | |
| } |
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
| { | |
| "Black": "#000000", | |
| "White": "#FFFFFF", | |
| "Red": "#880000", | |
| "Cyan": "#AAFFEE", | |
| "Violet / purple": "#CC44CC", | |
| "Green": "#00CC55", | |
| "Blue": "#0000AA", | |
| "Yellow": "#EEEE77", | |
| "Orange": "#DD8855", |
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
| pip list --outdated --format json | ConvertFrom-Json | foreach { $_.name } | Out-File outdated.txt | |
| pip install -r .\outdated.txt --update |
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
| <html> | |
| <head> | |
| <link rel="stylesheet" href="min.css"> | |
| <meta charset="utf-8" /> | |
| <meta | |
| name="viewport" | |
| content="initial-scale=1,maximum-scale=1,user-scalable=no" | |
| /> | |
| <!-- | |
| ArcGIS API for JavaScript, https://js.arcgis.com |
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
| using ESRI.ArcGIS.Carto; | |
| using ESRI.ArcGIS.esriSystem; | |
| using ESRI.ArcGIS.Geodatabase; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Text.RegularExpressions; | |
| namespace Wsdot.ArcGis.Extensions | |
| { | |
| public static class Extensions |
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
| const fs = require("fs"); | |
| const { exec } = require("child_process"); | |
| /** | |
| * Response from exec | |
| * @typedef ExecResponse | |
| * @type {object} | |
| * @property {?Error} error - If the operation resulted in an error, this will have a value. | |
| * @property {string} stdout - Text written to stdout |
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
| // Gets the Open Data portal URL filtered to just this location | |
| "https://gisdata-wsdot.opendata.arcgis.com/datasets/46a11f7e043842a5bfbbb1b69e7e4900_0/data?where=LocationID%20%3D%20%27" + $feature.LocationID + "%27" |
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
| <# | |
| .SYNOPSIS | |
| Creates an index HTML page listing Python packages in the current directory. | |
| .DESCRIPTION | |
| Creates an index HTML page listing Python packages in the current directory. | |
| .EXAMPLE | |
| PS C:\> .\New-Index.ps1 | |
| Creates the index file and saves it to index.html | |
| .INPUTS | |
| Inputs (if any) |
NewerOlder