A blog about software engineering, DevOps, and more.

ln -sf 的陷阱:為什麼你的 symlink 會跑進目標目錄裡


寫過安裝腳本 symlink 目錄的人,大概都用過 ln -sf。第一次跑完全正常,但再跑一次,就會有莫名其妙的 symlink 出現在你的原始碼目錄裡。這篇文章解釋為什麼。
Read more ⟶

修復 React 聊天輸入框與注音輸入法的 Enter 鍵衝突


使用注音、拼音等 IME 輸入法時,按 Enter 選字卻意外送出訊息?本文介紹如何透過 Composition Events 與 isComposing 屬性,正確處理 React 中的鍵盤事件。
Read more ⟶

調整linux virtual memory


我們都知道memory是快速且有限的資源,雖然我們會使用swap作為一種妥協memory不足的方案,但我們都想最大利用memory而非經常性使用swap。那在linux中,系統該怎麼知道什麼時候需要開始使用swap呢?
Read more ⟶

How to add text to a file with command


How to add text to a file with command
Read more ⟶

如何產生ssh key


如何產生ssh key。ssh-keygen是一個OpenSSH內建的ssh key產生工具,在各使用系統上都能夠使用。
Read more ⟶

利用linux find指令刪除目錄下特定檔案(含子目錄)


使用 Linux find 指令搭配 -exec 選項,刪除當前目錄及子目錄下的特定檔案。
Read more ⟶

Vue 筆記 - 如何使用 props 傳入 multipule value


在 Vue 中透過 v-bind 將多個 props 打包成物件一次傳入 Child component,簡化繁瑣的逐一傳遞寫法。
Read more ⟶

CSS筆記-在hover及transition中更改文字透明度


Change text opacity on hover and during transition in css
Read more ⟶

Linux ln 指令使用方法


介紹 Linux ln 指令的使用方式,包含 Symbolic Link 與 Hard Link 的差異及操作範例。
Read more ⟶

Raspberry Pi 筆記 : 使用CLI連接wifi


在 Raspberry Pi 上透過 CLI 連接 WiFi 的兩種方法:使用 nmtui 互動介面,或直接以 nmcli 指令連線。
Read more ⟶