常用命令

Git

Generate Full Metadata List

 sf project generate manifest --from-org [Alias]

Jest

Run spectic test scenario

npm run test -- -t "[Test Case Name]"

NodeJS

Install http-server

npm install -g http-server

start http-server

http-server -p 8080 -c-1

Rust

pack wasm

wasm-pack build --target web

VS Code

Goto Function

Ctrl + Shift + o

Windows

Disable System Memory Compression

Disable-MMAgent -mc

Enable System Memory Compression

Enable-MMAgent -mc

解压命令

tar -xf [ZIP file name]

Ollama

launchctl setenv OLLAMA_ORIGINS "*"
launchctl setenv OLLAMA_HOST "0.0.0.0"
launchctl setenv OLLAMA_FLASH_ATTENTION 1

launchctl unsetenv

tail -f ~/.ollama/logs/server.log