Skip to content

Instantly share code, notes, and snippets.

@lynnjinjie
Last active December 3, 2024 11:51
Show Gist options
  • Select an option

  • Save lynnjinjie/f73665299d5fdf2c0b727a8f2e78a9c1 to your computer and use it in GitHub Desktop.

Select an option

Save lynnjinjie/f73665299d5fdf2c0b727a8f2e78a9c1 to your computer and use it in GitHub Desktop.
windows setup

system set

  • 在任务管理器中的startup apps中关闭用不到的app
  • 在系统设置 > apps中关闭用不到的app通知
  • 卸载用不到的系统预装apps
  • power plan
  1. 在设置中打开高性能模式
  2. 使用命令打开高性能模式power-policy-settings
powercfg /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
  • system properties > performance options
  • 打开开发者模式
  • 设置执行策略
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
Get-ExecutionPolicy -List
  • wsl安装
wsl --install

software

terminal tools

  • winget window包管理
  • git 版本管理
# 生成ssh key
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

# 设置全局用户名
git config --global user.name "Your Name"

# 设置全局电子邮件
git config --global user.email "your_email@example.com"

# 设置项目级别用户名
git config user.name "Project Specific Name"

# 设置项目级别电子邮件
git config user.email "project_specific_email@example.com"

npm global

  • fnm node版本管理
  • tldr 代替man
  • @antfu/ni 命令简写
  • tsc typescript编译
  • vite 打包构建工具
  • taze 检测npm包依赖版本
  • pnpm 代替npm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment