Skip to content

Instantly share code, notes, and snippets.

View howiezhao's full-sized avatar
🎯
Focusing

Howie Zhao howiezhao

🎯
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am howiezhao on github.
  • I am howiezhao (https://keybase.io/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
howiezhao / install.sh
Last active April 17, 2022 09:06
A Ubuntu/macOS new environment installation script
#!/bin/bash
echo "---------------A Ubuntu/macOS new environment installation script---------------"
echo "---------------Install and Run: bash <(curl -L -s url)---------------"
go_version=1.16.3
wpsoffice_version1=9615
wpsoffice_version2=11.1.0.9615
vagrant_version=2.2.9
fiddler_version=0.5.0
@howiezhao
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
howiezhao / start-kcptun.vbs
Last active September 18, 2018 14:34
Windows下启动kcptun客户端脚本
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 45.78.23.85:5000 -key 1072841047 -mtu 1400 -sndwnd 256 -rcvwnd 2048 -mode fast2 -dscp 46"
'日志文件
logFile = "kcptun8486.log"
'拼接命令行