Changed encoding to UTF-8 with BOM

This commit is contained in:
Markus Fleschutz 2022-12-29 21:46:35 +01:00
parent f7d5d62a77
commit 79dadddfad
20 changed files with 48 additions and 48 deletions

View File

@ -1,8 +1,8 @@
<# <#
.SYNOPSIS .SYNOPSIS
Convert-ImageToAscii Converts images to ASCII art
.DESCRIPTION .DESCRIPTION
Converts an image to ASCII art. This PowerShell script converts an image to ASCII art.
.EXAMPLE .EXAMPLE
Convert-ImageToAscii -InFile "C:\Folder\Image.jpg" -Width 32 -Height 32 Convert-ImageToAscii -InFile "C:\Folder\Image.jpg" -Width 32 -Height 32
.INPUTS .INPUTS

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Installs Audacity Installs Audacity
.DESCRIPTION .DESCRIPTION

View File

@ -1,6 +1,4 @@
# Copyright (c) Microsoft Corporation. <#
# Licensed under the MIT License.
<#
.Synopsis .Synopsis
Install PowerShell on Windows, Linux or macOS. Install PowerShell on Windows, Linux or macOS.
.DESCRIPTION .DESCRIPTION
@ -520,4 +518,5 @@ try {
[Net.ServicePointManager]::SecurityProtocol = $originalValue [Net.ServicePointManager]::SecurityProtocol = $originalValue
Remove-Item -Path $tempDir -Recurse -Force -ErrorAction SilentlyContinue Remove-Item -Path $tempDir -Recurse -Force -ErrorAction SilentlyContinue
exit 0 # success
} }

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Installs Thunderbird Installs Thunderbird
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Installs Twitter Installs Twitter
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Installs Visual Studio Code Installs Visual Studio Code
.DESCRIPTION .DESCRIPTION

View File

@ -23,8 +23,8 @@
param([string]$CommitID = "", [string]$CommitMessage = "", [string]$Branches = "", [string]$RepoDir = "$PWD") param([string]$CommitID = "", [string]$CommitMessage = "", [string]$Branches = "", [string]$RepoDir = "$PWD")
try { try {
if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" } if (-not(Test-Path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
set-location "$RepoDir" Set-Location "$RepoDir"
if ($CommitID -eq "") { $CommitID = read-host "Enter the Git commit id to cherry-pick" } if ($CommitID -eq "") { $CommitID = read-host "Enter the Git commit id to cherry-pick" }
if ($CommitMessage -eq "") { $CommitMessage = read-host "Enter the commit message to use" } if ($CommitMessage -eq "") { $CommitMessage = read-host "Enter the commit message to use" }

View File

@ -1,6 +1,6 @@
<# <#
.SYNOPSIS .SYNOPSIS
Speaks the content of the given Epub file by text-to-speech (TTS). Speaks an Epub file by text-to-speech (TTS).
.DESCRIPTION .DESCRIPTION
This PowerShell script speaks the content of the given Epub file by text-to-speech (TTS). This PowerShell script speaks the content of the given Epub file by text-to-speech (TTS).
.PARAMETER Filename .PARAMETER Filename
@ -55,7 +55,7 @@ function UnzipFile() { param([string]$file, [string]$dest)
} }
if ($Filename -eq "") { if ($Filename -eq "") {
$Filename = read-host "Enter path to .epub file" $Filename = Read-Host "Enter path to .epub file"
} }
write-output "Reading $Filename ..." write-output "Reading $Filename ..."
$file = get-item $Filename $file = get-item $Filename
@ -94,3 +94,4 @@ foreach($item in $content.package.manifest.Item) {
} }
} }
} }
exit 0 # success

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Turns audio volume fully up Turns audio volume fully up
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Uninstalls VLC Uninstalls VLC
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Uninstalls Windows Terminal Uninstalls Windows Terminal
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Uploads a file to Dropbox Uploads a file to Dropbox
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Writes a fractal Writes a fractal
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Writes the matrix Writes the matrix
.DESCRIPTION .DESCRIPTION

View File

@ -1,4 +1,4 @@
<# <#
.SYNOPSIS .SYNOPSIS
Write sine curves Write sine curves
.DESCRIPTION .DESCRIPTION