2025年12月7日 星期日

如何用 miniconda 再安裝 jupyter lab

$ conda create -n jlab python=3.11

$ conda activate jlab

$ conda install -c conda-forge jupyterlab

$ jupyter lab


update

$ conda update -c conda-forge jupyterlab



2025年11月14日 星期五

如何在 Ubuntu 20.04 安裝 wxMaxima 24.04.2

1. 下載原始碼

wget https://github.com/wxMaxima-developers/wxmaxima/archive/refs/tags/Version-24.02.2.tar.gz -O wxmaxima-24.02.2.tar.gz

2. 解壓縮

tar xzf wxmaxima-24.02.2.tar.gz

cd wxmaxima-Version-24.02.2

3. 依此安裝

mkdir -p build

cd build

以下這一步是關鍵

cmake -S . -B ../build-wxm -DWXM_DISABLE_WEBVIEW=on ..

進入目錄

cd ../build-wxm

開始編譯程式

cmake --build .

測試

./wxmaxima-local

若成功,可以安裝:

sudo cmake --build . -- install



2025年10月21日 星期二

如何在 Netlify 架設 Quarto 網站

參考:
 https://chatgpt.com/share/68f70a75-b748-800e-96a2-39b957d0fe9b


備註:
1. 在 Netlify 上 Build command 留空白就好,不要打 quarto render
2. 在 ubuntu 下用 ssh,可先用此指令設定
git remote set-url origin git@github.com:usrname/reponame.git

3. 快速 push
git add . && git commit -m "init quarto site" && git push -u origin main