常用Tips

经常用的代码片段,就存储在这了

Clang-Format

gist链接

Git

git config --global user.name "meteor"
git config --global user.email "xxxxx@xx.com"
ssh-keygen -t rsa -C "上面的邮箱"
Bash

Windows神秘代码

slmgr -ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
slmgr -skms kms.0t.net.cn
slmgr -ato
Bash

Windows问题

  1. 换一个好用的梯子
  2. utools上搜网络重置
  3. 关闭网络代理后,在cmd上直接ipconfig /flushdns 来刷新缓存,很奏