Systems & Programming
在 Mac 上使用 BlackHole 錄製系統音訊
理解 macOS 的輸入與輸出,使用 BlackHole 與多重輸出裝置錄製系統音訊,並在需要時加入麥克風。
Systems & Programming
Compile a Shell Script to a Binary with SHC
shc wraps a shell script in a compiled C binary that decrypts and re-runs it at runtime. It never becomes real machine code, and the decryption key ships inside the binary, so it obfuscates a script rather than securing it.
Systems & Programming
Python 併發程式設計:執行緒、行程與 asyncio
比較 Python 的 threading、multiprocessing、asyncio 與 concurrent.futures,並說明各自適合的併發場景。
Systems & Programming
CSS 選擇器:從基本比對到特異度與層疊
拆解 CSS 選擇器如何比對元素——基本選擇器、屬性選擇器、組合器、偽類與偽元素、 :is()/:where()/:has() 等現代選擇器,並用具體算式說明特異度與層疊順序如何決定最終生效的規則。
Systems & Programming
從原始碼編譯 TensorFlow:CUDA、Bazel 與依賴下載排錯
從原始碼編譯安裝tensorflow,安裝cuda/cudnn/tensorrt相關包,解決bazel build過程中聯網下載的問題。
Systems & Programming
Linux 安裝 NVIDIA 驅動、CUDA、cuDNN 與 TensorRT
在linux上安裝nvidia相關工具,包括驅動,cuda,cudnn,tenssort;有包管理器和本地安裝兩種方式。
Systems & Programming
Linux 檔案時間詳解:atime、mtime、ctime 與修改方法
通過一些問題,來了解linux中檔案的三種時間:修改時間、改變時間、訪問時間,並且給出一些對檔案時間的操作方式。
Systems & Programming
Shell 條件判斷與迴圈:test、if、case、for 與 while
Switch and loop in Shell, with `test` and `if else`.
Systems & Programming
Shell 變數教程:字串、陣列與 echo
Variables in Shell, string and array, echo command, variable reference.
Systems & Programming
Shell 入門:Terminal、Console、TTY 與 Bash/Zsh
介紹計算機中Shell的發展歷史,介紹terminal、console、tty。介紹linux上常見的shell如bash/zsh,介紹shell的集中登陸方式。