Skip to content

Instantly share code, notes, and snippets.

View CharlesIC's full-sized avatar
💻
Coding...

Charles Karol Gancarz CharlesIC

💻
Coding...
  • Government Digital Service
  • London, UK
View GitHub Profile

Keybase proof

I hereby claim:

  • I am CharlesIC on github.
  • I am charlesic (https://keybase.io/charlesic) on keybase.
  • I have a public key whose fingerprint is 91FE C05C EE68 B50D EA7B 5AB2 0D40 EDE0 9505 8884

To claim this, I am signing this object:

$colors = [enum]::GetValues([System.ConsoleColor])
$backgroundColors = @("Black", "White", "Blue", "DarkBlue", "Green", "DarkGreen", "Cyan", "DarkCyan", "Red", "DarkRed", "Magenta", "DarkMagenta", "Yellow", "DarkYellow", "Gray", "DarkGray")
Foreach ($bgcolor in $backgroundColors) {
Foreach ($color in $colors) { Write-Host " $color " -ForegroundColor $color -BackgroundColor $bgcolor -NoNewline }
Write-Host " on $bgcolor"
}
ForEach ($color in $colors) { Write-Host " $color " -ForegroundColor $color -NoNewline }
Write-Host " on host background"