https://github.com/BShakhovsky/PolyphonicPianoTranscription
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
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
<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
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
{ | |
"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
# 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) | |
} |
OlderNewer