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
Spark = { | |
("Bar chart 100%","⬛⬛⬛⬛⬛⬛⬜⬜⬜⬜"), | |
("Bar chart 1","▧▧▧▧▧▧▧▧▧"), | |
("Bar chart 2","▧▧▧"), | |
("Bar chart 3","▧▧▧▧▧▧▧"), | |
("Stacked bar chart 1","▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░"), | |
("Bullet chart","█████████▒▒▒▒▒▒▒▒▒│▒▒"), | |
("Win loss 1","▖▗▘▘▗▘▘▞"), | |
("Win loss 2","▀▄▄▄▀▄▀▄▀▀▄▀▄▄▀▄▄▀▄▀"), | |
("Comparative Horizontal Circle 1","○○●●●●●●●|○○○○○○○○○○○"), |
App | Note | Path |
---|---|---|
VS Code | Global config | $Env:APPDATA\Code\User\Settings.json |
VS Code - Insiders | Global config | $Env:APPDATA\Code - Insiders\User\Settings.json |
VS Code | Extensions Dir | $env:UserProfile\.vscode\extensions |
Wt Preview | see Get-WindowsTerminalProfile.ps1 |
$env:LOCALAPPDATA\Packages\Microsoft.WindowsTerminalPreview_8wekyb3d8bbwe\LocalState\settings.json |
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
# Copyright: (c) 2021, Jordan Borean (@jborean93) <[email protected]> | |
# MIT License (see LICENSE or https://opensource.org/licenses/MIT) | |
class EncodingTransformAttribute : Management.Automation.ArgumentTransformationAttribute { | |
[object] Transform([Management.Automation.EngineIntrinsics]$engineIntrinsics, [object]$InputData) { | |
$outputData = switch ($InputData) { | |
{ $_ -is [Text.Encoding] } { $_ } | |
{ $_ -is [string] } { | |
switch ($_) { |
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
# Copyright: (c) 2021, Jordan Borean (@jborean93) <[email protected]> | |
# MIT License (see LICENSE or https://opensource.org/licenses/MIT) | |
using namespace System.Management.Automation | |
using namespace System.Management.Automation.Host | |
using namespace System.Runtime.InteropServices | |
$typeParams = @{ | |
TypeDefinition = @' | |
using Microsoft.Win32.SafeHandles; |
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
$APP_PATH_ROOT = Get-Item -ea stop $PSScriptRoot | |
function _exportFormatData { | |
<# | |
.synopsis | |
export formatting and generate file to load from if not existing | |
#> | |
param( | |
# typename | |
[Parameter(mandatory, valuefromPipeline)] |