From f70946156f487264549c7d78308f4fc63691e076 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 23 May 2024 16:49:44 +0200 Subject: [PATCH] Improved write-qr-code.ps1 --- scripts/write-qr-code.ps1 | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/scripts/write-qr-code.ps1 b/scripts/write-qr-code.ps1 index 67501b77..1f6e8394 100755 --- a/scripts/write-qr-code.ps1 +++ b/scripts/write-qr-code.ps1 @@ -4,25 +4,29 @@ .DESCRIPTION This PowerShell script writes "Hello World" as QR code to the console output. .EXAMPLE - PS> ./write-qr-code + PS> ./write-qr-code.ps1 .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -Write-Host " " -foregroundColor black -backgroundColor white -Write-Host " ▄▄▄▄▄▄▄ ▄ ▄▄▄ ▄▄▄▄▄▄▄ " -foregroundColor black -backgroundColor white -Write-Host " █ ▄▄▄ █ ▄▄▀█ █ ▄▄▄ █ " -foregroundColor black -backgroundColor white -Write-Host " █ ███ █ █▀ ▄▀ █ ███ █ " -foregroundColor black -backgroundColor white -Write-Host " █▄▄▄▄▄█ ▄▀█▀█ █▄▄▄▄▄█ " -foregroundColor black -backgroundColor white -Write-Host " ▄▄▄▄ ▄ ▄▄▄██▄ ▄▄▄ ▄ " -foregroundColor black -backgroundColor white -Write-Host " ▀ █ ▀▄▄▀█▀▀█▀█▀█▀▀▀▄█ " -foregroundColor black -backgroundColor white -Write-Host " ▄▄██▀▀▄▄█ ▄▀▄▄▄▀ ▀ ▀▄ " -foregroundColor black -backgroundColor white -Write-Host " ▄▄▄▄▄▄▄ ▀▀██▄▄██▄ ▀ ▀ " -foregroundColor black -backgroundColor white -Write-Host " █ ▄▄▄ █ ▀▄ ▄▀ ▀ ██▀▀ " -foregroundColor black -backgroundColor white -Write-Host " █ ███ █ █▄ ▄ ▀▄ ▀█▀ " -foregroundColor black -backgroundColor white -Write-Host " █▄▄▄▄▄█ █▀▄█ ███▀ ▄ ▀ " -foregroundColor black -backgroundColor white -Write-Host " " -foregroundColor black -backgroundColor white +Write-Host " " -foregroundColor black -backgroundColor white +Write-Host " " -foregroundColor black -backgroundColor white +Write-Host " " -foregroundColor black -backgroundColor white +Write-Host " ▄▄▄▄▄▄▄ ▄ ▄▄▄ ▄▄▄▄▄▄▄ " -foregroundColor black -backgroundColor white +Write-Host " █ ▄▄▄ █ ▄▄▀█ █ ▄▄▄ █ " -foregroundColor black -backgroundColor white +Write-Host " █ ███ █ █▀ ▄▀ █ ███ █ " -foregroundColor black -backgroundColor white +Write-Host " █▄▄▄▄▄█ ▄▀█▀█ █▄▄▄▄▄█ " -foregroundColor black -backgroundColor white +Write-Host " ▄▄▄▄ ▄ ▄▄▄██▄ ▄▄▄ ▄ " -foregroundColor black -backgroundColor white +Write-Host " ▀ █ ▀▄▄▀█▀▀█▀█▀█▀▀▀▄█ " -foregroundColor black -backgroundColor white +Write-Host " ▄▄██▀▀▄▄█ ▄▀▄▄▄▀ ▀ ▀▄ " -foregroundColor black -backgroundColor white +Write-Host " ▄▄▄▄▄▄▄ ▀▀██▄▄██▄ ▀ ▀ " -foregroundColor black -backgroundColor white +Write-Host " █ ▄▄▄ █ ▀▄ ▄▀ ▀ ██▀▀ " -foregroundColor black -backgroundColor white +Write-Host " █ ███ █ █▄ ▄ ▀▄ ▀█▀ " -foregroundColor black -backgroundColor white +Write-Host " █▄▄▄▄▄█ █▀▄█ ███▀ ▄ ▀ " -foregroundColor black -backgroundColor white +Write-Host " " -foregroundColor black -backgroundColor white +Write-Host " " -foregroundColor black -backgroundColor white +Write-Host " " -foregroundColor black -backgroundColor white exit 0 # success