Posts
All the articles I've posted.
[css] collapsing margin 是什麼?
Published: at 08:40 AM (3 min read)Collapsing margin 是什麼?
[css] position: sticky
Published: at 02:26 AM (3 min read)介紹 CSS 的 position: sticky
[css] isolation
Published: at 01:34 PM (1 min read)介紹一個不常見的 css 屬性 `isolation`,可以簡單地幫你建立新的 stacking context
[mac] Macbook 開機桌布更換
Published: at 10:32 AM (2 min read)一直以來我都有更換自訂桌布的習慣,今天頻繁重開機發現在開機畫面時自訂桌布都沒有正確顯示
[css] 你從未瞭解的 z-index / stacking context
Published: at 01:06 PM (6 min read)你從未瞭解的 z-index / stacking context
[ubuntu] certbot cannot import name _remove_dead_weakref
Published: at 08:29 AM (2 min read)在 ubuntu 22.04 更新 certbot 後,執行 certbot-auto renew 時出現 ImportError: cannot import name _remove_dead_weakref
[nginx] 阻擋/僅允許特定 IP / 網段
Published: at 04:17 PM (1 min read)如何設定 nginx 阻擋特定 ip / 網段存取
An error occurred while installing, and Bundler cannot continue
Published: at 02:26 AM (1 min read)An error occurred while installing, and Bundler cannot continue
[nginx] 如何讓 $remote_addr 辨認出正確的 client 端 ip 而不是 cdn(cloudflare) ip
Published: at 04:47 PM (2 min read)$remote_addr 是 nginx 的變數,用來取得 client 端的 ip,但當網站前面架設了 cdn(cloudflare)時,$remote_addr 取得的是 cdn 的 ip,而不是 client 端的 ip。
[ruby] irb 執行錯誤
Published: at 09:06 AM (1 min read)最近使用 rbenv 切換環境後,遇到執行 `irb` 發生以下錯誤的狀況 `initialize': undefined method `autocompletion=' for Reline:Module (NoMethodError)