Posts
All the articles I've posted.
[HTML] Referrer-Policy 是什麼?
Published: at 09:01 AM (4 min read)你知道當你瀏覽網頁時,瀏覽器會將你的前一個網址傳送給下一個網站嗎?你聽過 referer 嗎?
[sidekiq] How to list Sidekiq jobs in the Rails console
Published: at 09:03 AM (1 min read)How to list all Sidekiq jobs in the Rails console without Sidekiq Web UI
[rails] 在 Rails console 顯示 debug 訊息(如 SQL)
Published: at 03:38 AM (2 min read)有時候在 Rails console 想要看到 debug 訊息,例如這段程式碼實際執行的 SQL...
[rails] 在 Rails 更新了 asset stylesheet 或 javascript 但卻沒有更新
Published: at 03:08 AM (1 min read)前陣子遇到在 Rails 6 的專案中更新了既有 asset stylesheet 或 javascript 的內容,但卻沒有更新...
[leetcode] 1. Two Sum
Published: at 02:39 AM (2 min read)1. Two Sum
[rails] Error: incompatible function pointer types passing 'VALUE (VALUE *)'
Published: at 02:12 AM (1 min read)How to fix the error: incompatible function pointer types passing 'VALUE (VALUE *)'
[mac] 外接耳機或喇叭突然沒聲音
Published: at 01:14 AM (1 min read)如何解決 mac 外接耳機或喇叭突然沒聲音
[leetcode] 992. Subarrays with K Different Integers
Published: at 12:26 AM (3 min read)992. Subarrays with K Different Integers
[css] 如何使用 CSS 判斷 Dark/Light 模式
Published: at 10:45 AM (4 min read)透過 CSS 的 `prefers-color-scheme` 來判斷使用者的 Dark/Light 模式
[postgresql] How to query Array in PostgreSQL
Published: at 12:00 PM (1 min read)Recently, I needed to query column of Array type at work, so I noted the common use cases of querying array...