Skip to content

GHLandy/personal-misc

Repository files navigation

personal-misc

Just something miscellaneous for ghlandy personal usage.

fnm

linux 安装 fnm

下载 https://github.com/Schniz/fnm/releases/download/v1.37.2/fnm-linux.zip 解压到 $HOME/.local/fnm/ 下,并添加到 $PATH

windows 安装 fnm

下载 https://github.com/Schniz/fnm/releases/download/v1.37.2/fnm-windows.zip 解压到 D:\.fnm\, 将该路径添加到 PATH

设置 PowerShell 的配置文件

# code 为安装 vs code 之后的命令行打开方式
# $PROFILE 为 PowerShell 的配置文件,默认为 C:\Users\<USER>\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
code $PROFILE

# 添加配置
fnm env --use-on-cd --shell powershell | Out-String | Invoke-Expression

# 修改当前用户 PowerShell 执行策略
# https://learn.microsoft.com/zh-cn/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.4#change-the-execution-policy
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

设置 .bashrc (Git-Bash)

eval "$(fnm env --use-on-cd --shell bash)"

fnm 下载 nodejs

fnm install 20

项目中 husky 运行找不到 nodenpx 的问题,在家目录添加 .config/husky/init.sh 文件, https://typicode.github.io/husky/zh/how-to.html#启动文件

eval "$(fnm env --use-on-cd --shell bash)"

Windows 经典右键菜单

reg add "HKEY_CURRENT_USER\Software\Classes\CLSID\{86CA1AA0-34AA-4E8B-A509-50C905BAE2A2}\InprocServer32" /f

或保存 .reg 文件后双击打开

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\CLSID\{86CA1AA0-34AA-4E8B-A509-50C905BAE2A2}\InprocServer32]
@=""

重启资源管理器

如果需要恢复:

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Classes\CLSID\{86CA1AA0-34AA-4E8B-A509-50C905BAE2A2}]

Windows

获取系统版本信息 start msinfo32

启动密钥输入框 start slui 3

https://mi.nurluq.vip/liebiao/DFAD12A48990F5F6

https://kms.cx/ https://www.moerats.com/kms/

Google 浏览器下载

exe 下载地址:https://www.google.com/chrome/?standalone=1&platform=win64

https://dl.google.com/tag/s/appguid={8A69D345-D564-463C-AFF1-A69D9E530F96}&iid={0DD4F5ED-D5CE-EAF4-B4F2-ECBD2010EBE5}&lang=zh-CN&browser=4&usagestats=1&appname=Google%20Chrome&needsadmin=prefers&ap=x64-statsdef_1&installdataindex=empty/chrome/install/ChromeStandaloneSetup64.exe

deb 包下载地址:

https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

rpm 包下载地址:

https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

Clash Verge

https://github.com/zzzgydi/clash-verge/releases/download/v1.3.8/Clash.Verge_1.3.8_x64-setup.exe

https://github.com/zzzgydi/clash-verge/releases/download/v1.3.8/clash-verge_1.3.8_amd64.deb

About

Just something miscellaneous for personal usage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published