Posts
All the articles I've posted.
[MacOS] How to Resolve 'Can't find the libpq-fe.h header' Error
Published: at 12:55 PM (1 min read)An error occurred while installing pg (1.2.3), and Bundler cannot continue.
[MacOS] How to Resolve 'ERROR: CMake is required to build Rugged.'
Published: at 12:44 PM (1 min read)An error occurred while installing rugged (1.9.0), and Bundler cannot continue.
[MacOS] Fix the ModuleNotFoundError: No module named 'distutils'.
Published: at 07:01 AM (1 min read)How to resolve the distutils module error when installing Node.js packages with native dependencies on macOS
TypeError: [BABEL] /src/test/jest.setup.js: Cannot use 'in' operator to search for 'CallExpression' in undefined
Published: at 03:08 AM (2 min read)如何解決 TypeError: [BABEL] /src/test/jest.setup.js: Cannot use 'in' operator to search for 'CallExpression' in undefined
[LeetCode] 41. First Missing Positive
Published: at 02:28 AM (2 min read)41. First Missing Positive
[N8N] 如何讓 n8n 內建 ffmpeg 工具支援各種影片轉檔
Published: at 10:21 AM (1 min read)最近在使用 n8n 處理一些影片內容時,發現 n8n 內建的 docker image 並沒有 ffmpeg 工具,因此執行 Execute Command 節點時無法直接使用 ffmpeg 進行影片轉檔。
[LeetCode] 355. Design Twitter (Max Priority Queue Algorithm)
Published: at 12:32 PM (6 min read)355. Design Twitter with Max Priority Queue (Heap) Algorithm.
[MacOS] 如何知道分享器預設閘道(default gateway)的位址?
Published: at 06:51 AM (2 min read)每次在換分享器時,時常需要知道分享器的 ip 位址,常見的預設會是 192.168.0.1,但也可能已經被佔用或是不同廠牌的分享器會有不同的預設 ip 位址,這時候可以如何快速找到預設閘道(default gateway)的位址?
[Leetcode] 5. Longest Palindromic Substring (Manacher's Algorithm)
Published: at 03:27 AM (4 min read)5. Palindromic Substring solution using Manacher's Algorithm.
[GCP] 如何使用 Cloud Build 自動部署 Cloud Run Service
Published: at 06:09 AM (2 min read)最近嘗試將一些 serverless 應用程式搬移到 Google Cloud Run,研究了一下如何使用 Cloud Build 來實現 CI/CD 自動化部署...