Friday, July 3, 2026

[Powershell] Powershell script compilation (Turning PS1 into EXE)

 C:\tmp>powershell -File hello.ps1

Hello World


C:\tmp>powershell -Command "Install-Module -Name ps2exe -Scope CurrentUser"


NuGet provider is required to continue

PowerShellGet requires NuGet provider version '2.8.5.201' or newer to interact with NuGet-based repositories. The NuGet

 provider must be available in 'C:\Program Files\PackageManagement\ProviderAssemblies' or

'C:\Users\Chaoyi-H\AppData\Local\PackageManagement\ProviderAssemblies'. You can also install the NuGet provider by

running 'Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force'. Do you want PowerShellGet to install

and import the NuGet provider now?

[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): Y


Untrusted repository

You are installing the modules from an untrusted repository. If you trust this repository, change its

InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from

'PSGallery'?

[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): A


C:\tmp>Powershell -Command "Invoke-ps2exe -inputFile "hello.ps1" -outputFile "Hello.exe""

PS2EXE-GUI v0.5.0.34 by Ingo Karstein, reworked and GUI support by Markus Scholtes



Reading input file C:\tmp\hello.ps1

Compiling file...


Output file C:\tmp\Hello.exe written


C:\tmp>Hello.exe

Hello World

Thursday, June 4, 2026

[AI] [LLM] Prompt Engineering

4 pillers: Action, Background, Outcome, and Constraint

Shot Spectrum: Give it some examples

Chain-of-Thought: "and explain your reasoning step by step"

Prompt Templates: Customization

Sunday, May 31, 2026

[LLM] llmfit dynamically selecting appropriate models

 Environment:

# uname -a

Linux demonalex-VirtualBox 7.0.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Mon Apr 13 11:09:53 UTC 2026 x86_64 GNU/Linux


Installation:

# curl -fsSL https://llmfit.axjns.dev/install.sh | sh


Running:

# llmfit


Thursday, May 14, 2026

Check Gmail Postmaster Tools

 Register your domain at postmaster.google.com to monitor:


Domain reputation

IP reputation

Authentication pass rates

Delivery errors in detail

Tuesday, May 12, 2026

Homoglyph Sproofing / Typo

 "rn" -> "m"

"cl" -> "d"

"ci" -> "a"

"vv" -> "w"

"Il" -> "ll"

"1" -> "l"

"I" -> "l"

"nn" -> "m"

"M0N" -> "MON"