Convert-Encoding.ps1
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
Show hidden characters
[string[]]$Excludes = @('**Debug**', '** bin\**', '*TemporaryGeneratedFile*.cs', '*.Designer.cs')
Get-ChildItem . -recurse -Include *.aspx, *.master, *.cs -Exclude $Excludes | ForEach-Object {
$content = $_ | Get-Content
$Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding $False
$_.Fullname
[System.IO.File]::WriteAllLines($_.Fullname, $content, $Utf8NoBomEncoding)
}
source & further reading
gist.github.com — original article
agent-proxy — a zero-dep proxy that shows the bloat in Claude Code's requests (ranked tool table + full readable Markdown of every request)
PowerShell profile and test suite
A plan-of-plans for a production-grade end-to-end e-commerce website.