A blog about software engineering, DevOps, and 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 ⟶Debian 初始設定
記錄 Debian 伺服器的初始設定流程,包含建立使用者、SSH 安全設定、安裝 zsh 與 oh-my-zsh,以及 Docker 安裝與設定。
Read more ⟶