Skip to content

Instantly share code, notes, and snippets.

View howiezhao's full-sized avatar

Howie Zhao howiezhao

View GitHub Profile

Keybase proof

I hereby claim:

  • I am howiezhao on github.
  • I am howiezhao ( on keybase.
  • I have a public key whose fingerprint is 70E5 FF6E B4BB 4BE4 D79C 5D89 590F 7466 1E2C 4906

To claim this, I am signing this object:

howiezhao /
Last active April 17, 2022 09:06
A Ubuntu/macOS new environment installation script
echo "---------------A Ubuntu/macOS new environment installation script---------------"
echo "---------------Install and Run: bash <(curl -L -s url)---------------"
howiezhao / install.ps1
Last active November 2, 2023 02:52
A Windows11 new environment installation script
Write-Output "---------------A Windows11 new environment installation script---------------"
Write-Output "---------------Install and Run: Invoke-Expression (Invoke-WebRequest url)---------------"
Write-Output "---------------First you need to login Microsoft account to sync settings and Microsoft Store Apps!---------------"
Write-Output "---------------winget will be downloaded from the Microsoft Store, and then the following script can be executed---------------"
Write-Output "---------------Configure Windows11 environment:---------------"
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "HideFileExt" -Value 0
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "Hidden" -Value 1
Enable-WindowsOptionalFeature -Online -FeatureName "TelnetClient"
Enable-WindowsOptionalFeature -Online -FeatureName "Microsoft-Windows-Subsystem-Linux"
howiezhao / start-kcptun.vbs
Last active September 18, 2018 14:34
Dim RunKcptun
Set fso = CreateObject("Scripting.FileSystemObject")
Set WshShell = WScript.CreateObject("WScript.Shell")
currentPath = fso.GetFile(Wscript.ScriptFullName).ParentFolder.Path & "\"
exeConfig = "client_windows_amd64.exe -l :12300 -r -key 1072841047 -mtu 1400 -sndwnd 256 -rcvwnd 2048 -mode fast2 -dscp 46"
logFile = "kcptun8486.log"