Technical notes written freely. RSS Feed
Recent Posts
[Mac] 如何使用 Apple Script 快速切換 Natural Scrolling 的滾動方向
Published: at 12:04 PM (3 min read)我自己平時工作外接滑鼠時,習慣將滾動方向設定為非自然滾動,但是當我使用觸控板時,我又習慣將滾動方向設定為自然滾動,但這樣的習慣導致我時常需要進入系統偏好設定 -> 觸控板 -> 滾動與縮放 -> 自然滾動。然而 Apple Script 可以如何幫助我快速地切換滾動方向?
[leetcode] 11. Container With Most Water
Published: at 09:31 AM (2 min read)11. Container With Most Water
[CSS] 使用 aspect-ratio 讓你在嵌入 youtube, google map 等內容時做到 RWD
Published: at 08:28 AM (3 min read)不知道大家是否曾經遇過這樣的問題,當你在網頁嵌入 youtube 影片或是 google 地圖時,你會發現取到的程式碼都是固定寬高,造成在不同裝置寬度上沒辦法很好的 RWD。這時候就可以使用 CSS 的 aspect-ratio 來解決這個問題。
[leetcode] 10. Regular Expression Matching
Published: at 07:27 AM (4 min read)10. Regular Expression Matching
[Sentry] How to filter out React error #421
Published: at 03:10 AM (2 min read)Recently, we've recently encountered a React error #421 that occurs on page load with a 5-10% chance. While it doesn't directly affect functionality, it generates many issues that consume our Sentry quota.
[mac] 如何避免 macOS 桌面順序自動變更
Published: at 11:33 AM (1 min read)常常在 macOS 上開很多桌面,常常自訂好順序的桌面被 macOS 自動變更順序,導致要找哪個才是自己要的桌面...
[leetcode] 8. String to Integer (atoi)
Published: at 06:50 AM (4 min read)8. String to Integer (atoi)
[heroku] 如何檢查 Heroku App 的區域與主機供應商
Published: at 05:47 AM (1 min read)在 Heroku 建立 app 時,可以選擇 app 的區域,可以如何知道更細部的背後主機供應商呢?
[leetcode] 7. Reverse Integer
Published: at 03:25 AM (2 min read)7. Reverse Integer
[Ruby-LSP] NoMethodError: undefined method `anything' for T:Module
Published: at 12:12 PM (1 min read)在 vscode 使用 Ruby-LSP 時偶爾會遇到 NoMethodError: undefined method `anything' for T:Module 的錯誤
[leetcode] 5. Longest Palindromic Substring
Published: at 10:42 AM (2 min read)5. Longest Palindromic Substring