R's Workshop

Install Draw.io Desktop Version on Linux

紀錄一下 draw.io linux desktop 版本的安裝方式. 這樣就不用每次畫圖都要開 browser 和 google drive 了. Read more

Test SSH Connection without Login

為了簡化每到新 build code server 上都要把所有的 gerrit server 都先 ssh access 過一次的繁瑣步驟, 最好的方式就是寫一個腳本去做這件事. Read more

Inspect Labels of Singularity Images

紀錄如何看 Singularity image labels. Read more

dos2unix: Change Line Ending Format

Linux 用久了, 看到純文字檔案的 line ending 是用 ‘\r\n’, 就覺得很礙眼. 如果要一次改整個資料夾的純文字檔, 用 dos2unix Read more

Install Pipewire in Ubuntu 20.04

把裝有 Ubuntu 20.04筆電的 wi-fi 網卡升級到 AX210 後, 藍芽耳機切換到 A2DP codec 後就沒有聲音了 QQ. Google 了一下可能是 Ubuntu default 使用的 Pulseaudio 已經無法支援 AX210 的 BT driver. 只好參考網路的建議, 把 {ulseaudio 改成 Pipewire 試試看. Read more