Technical notes written freely. RSS Feed
Recent Posts
[GCP] 將 Google Cloud Storage 改為公開存取的 bucket
Published: at 12:28 PM (2 min read)預設在建立 bucket 時,預設權限為僅限自己存取,因此你分享的連結只有自己能存取,因此你可能會遇到分享連結給其他人,卻無法存取的情況,若想要讓所有人都能公開存取,則要調整對應的權限設定
[GCP] 如何設定 Google Cloud Storage 的自訂網域
Published: at 09:28 AM (2 min read)最近在使用 Google Cloud Storage 時,想要將靜態網站的網域指向 bucket,過程中查了 GCP 的文件後,整理一下最後實作的步驟...
[LeetCode] 20. Valid Parentheses
Published: at 09:07 AM (2 min read)20. Valid Parentheses
[GCP] 如何刪除與 Dialogflow 相關的專案 (Unable to delete project)
Published: at 02:47 AM (2 min read)之前開了一個 GCP 的 project 使用 Dialogflow 實作聊天機器人,而現在沒在使用後想刪除專案卻發生了以下錯誤,紀錄最後如何順利刪除專案的過程
[LeetCode] 19. Remove Nth Node From End of List
Published: at 06:46 AM (2 min read)19. Remove Nth Node From End of List
[Tool] yt-dlp 常用的影片類型與下載工具指令應用指南
Published: at 03:24 AM (4 min read)yt-dlp 是一個非常熱門的影片下載開源工具,如果你也有一點前端工程的基礎,有能力從頁面找出影片的網址,那麼 yt-dlp 絕對是幫你實現 「看得到就抓得到」 的好幫手。
[LeetCode] 17. Letter Combinations of a Phone Number
Published: at 03:00 AM (2 min read)17. Letter Combinations of a Phone Number
[Firefox] drag 事件 client/page 與 offset 等座標位置不正常運作
Published: at 11:12 AM (6 min read)前陣子在回答 StackOverflow 上的問題時,發現在 Firefox 瀏覽器上,存在了一個長年的 bug,當使用 drag 事件時,clientX、clientY 與 offsetX、offsetY 等座標位置總是顯示 0,導致無法正確取得拖曳元素的座標位置。
[LeetCode] 15. 3Sum
Published: at 10:07 AM (4 min read)15.3Sum
[GitHub] 如何將 public repo 調整成 private repo
Published: at 02:43 AM (1 min read)前陣子在改非常舊的沒有 LICENSE 的故障 public repo 時,想說要先改成 private repo 後,要發佈時再調整為 public repo,才發現在 Github 沒辦法直接一鍵調整成 private repo。
[Leetcode] 14. Longest Common Prefix
Published: at 02:17 AM (2 min read)14. Longest Common Prefix