Skip to content

Instantly share code, notes, and snippets.

View zqb7's full-sized avatar
😜

zqb7

😜
View GitHub Profile

docker-desktop

需要先关闭docker-desktop应用

Optimize-VHD -Path "C:\Users\your_username\AppData\Local\Docker\wsl\data\ext4.vhdx" -Mode Full

子系统

Optimize-VHD -Path "C:\Users\your_username\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu_yourself\LocalState" -Mode Full
  • npm加速
npm install --registry=http://registry.npmmirror.com
  • powershell报错不能执行脚本
get-ExecutionPolicy
set-ExecutionPolicy RemoteSigned
[
{ "keys": ["ctrl+y"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },
{ "keys": ["ctrl+d"], "command": "duplicate_line" },
{ "keys": ["shift+alt+up"], "command": "swap_line_up" },
{ "keys": ["shift+alt+down"], "command": "swap_line_down" },
{ "keys": ["ctrl+t", "ctrl+u"], "command": "upper_case" },
{ "keys": ["ctrl+t", "ctrl+l"], "command": "lower_case" },
]