例如,conda env 名字是 py313
conda activate py313
python -m pip install -U numpy matplotlib jupyter ipykernel
python -m ipykernel install --user --name py313 --display-name "Python (py313)"
記錄分享個人玩電腦的筆記。電腦是一種工具,善用軟體,可以玩得有效率。 p.s. 小弟分享的是個人實際使用的版本,未必是最新版本。
例如,conda env 名字是 py313
conda activate py313
python -m pip install -U numpy matplotlib jupyter ipykernel
python -m ipykernel install --user --name py313 --display-name "Python (py313)"
package.json with pluginFrom the root of your Quarto project (the same directory as netlify.toml):
If you do not have package.json yet, create it with:
npm init -y
Install the Quarto Netlify plugin as a dependency:
npm install --save-dev @quarto/netlify-plugin-quarto
# or equivalently:
# npm install -D @quarto/netlify-plugin-quarto
This will add something like:
{
"devDependencies": {
"@quarto/netlify-plugin-quarto": "^0.0.5"
}
}
to package.json.[2][5][1]
Ensure your netlify.toml in the repo root contains at least:
[[plugins]]
package = "@quarto/netlify-plugin-quarto"
[build]
command = "quarto render"
publish = "_site"
Commit package.json, package-lock.json (or pnpm-lock.yaml/yarn.lock), and netlify.toml, push to GitHub, and trigger a new deploy.[2][3]
github 初始
https://chatgpt.com/share/694c86c7-1788-800e-97de-5c492ec415e5
在 ubuntu 下用 ssh,可先用此指令設定
git remote set-url origin git@github.com:usrname/reponame.git
快速 push
git add . && git commit -m "update something" && git push -u origin main