Note for Hermes Agent on AliCloud Simple Application Server
記錄喺 AliCloud Simple Application Server 上面設定 Hermes Agent 嘅一啲筆記同埋遇到嘅問題。
記錄喺 AliCloud Simple Application Server 上面設定 Hermes Agent 嘅一啲筆記同埋遇到嘅問題。
如何在 Raspberry Pi / linux 上移除 SSH key 上的(passphrase)。有兩種方式:
SSH 登入你的 Pi 後執行:
ssh-keygen -p -f ~/.ssh/id_ed25519
(如果你的金鑰檔名不同,請替換 id_ed25519 — 可以用 ls ~/.ssh 查看)
系統會詢問:
Enter)Enter)在你的 Pi 的 ~/.bashrc 或 ~/.profile 中加入:
在日常開發中,我們經常需要使用 ESLint 來保持代碼質量和一致性。每次手動修復 ESLint 問題會很麻煩,但我們可以配置 VSCode 在保存文件時自動修復 ESLint 問題。
首先,確保你已經安裝了 ESLint 擴展。
打開 VSCode 的設定檔案(settings.json),添加以下配置:
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"svelte"
],
"eslint.format.enable": true
}
editor.codeActionsOnSave: 當保存文件時,VSCode 會自動執行指定的 code actions。source.fixAll.eslint 會讓 ESLint 自動修復所有可修復的問題。
唔知大家有無覺得,唔同嘅 Cloud Provider 嘅 Portal 都有啲亂同慢。對新手嚟講真係好難搵到想要嘅功能同資料。
所以我就整理咗一啲有用嘅連結同資源,希望可以幫到大家更快上手同解決問題。
連結會不斷更新,如果你有任何好用嘅資源都歡迎分享俾我,我會加落去。
Hope you find it useful!
Encountered an error when trying to restart OpenClaw:
Failed to start CLI: Error: Unknown command: openclaw restart. No built-in command or plugin CLI metadata owns "restart".
at runCli (file:///home/admin/.npm-global/lib/node_modules/openclaw/dist/cli/run-main.js:310:29)
at async runMainOrRootHelp (file:///home/admin/.npm-global/lib/node_modules/openclaw/dist/entry.js:468:3)
at async file:///home/admin/.npm-global/lib/node_modules/openclaw/dist/entry.js:438:55
The openclaw restart command is not a valid built-in command in OpenClaw. The CLI does not recognize “restart” as an available operation.