MonitokyoGas Frontend 1 - Design & CICD
Project Overview MonitokyoGas 在這個篇中,將紀錄 使用bolt.new 設計前端原型 使用Github Action 自動部署Github Page Bolt.new 因為實在不想寫前端,使用Copilot 來從零設計前端似乎容易跟我想像的不太一樣。因此使用bolt.new 來做原型。 這次使用Vue 來寫。 但也沒啥好說的:https:...
Project Overview MonitokyoGas 在這個篇中,將紀錄 使用bolt.new 設計前端原型 使用Github Action 自動部署Github Page Bolt.new 因為實在不想寫前端,使用Copilot 來從零設計前端似乎容易跟我想像的不太一樣。因此使用bolt.new 來做原型。 這次使用Vue 來寫。 但也沒啥好說的:https:...
Project Overview MonitokyoGas 在這個篇中,將紀錄 抓取東京ガス的歷史用電紀錄 使用Github action設計自動抓取資料的流程 將資料儲存到csv檔案中 抓取東京ガス的歷史用電紀錄 取得資料 為了抓取東京ガス的歷史用電紀錄,必須知道從登入到我們點擊獲取用電紀錄的過程是怎麼發生的。在我們登入並點擊「使用量」後,從開發者模式中可以看...
Prototype of MonitokyoGas Tokyo Gas(東京ガス)在主頁上可以查看自己每期、每天、每小時的耗電量,但是每天都要開APP檢查實在是有點麻煩,因此想寫一個前後端架構來實現: 後端: 在每天13:30(JST),抓取儲存前一天的耗電量 如果前一天超過4kWh,將使用discord通知用戶。 前端: ...
Service-full serverless (Compose, configure, then code) Orchestration Choreography A central coordination controlling services Services collaborati...
Powertools for AWS Lambda AWS Lambda Powertools is an open-source library that helps you build serverless applications following best practices for observability, reliability, and maintainability....
Go Concurrency Patterns Go Concurrency 源自於Hoare’s CSP in 1978的想法。 他是相互獨立執行計算的組合 他是一種structure software的方法,特別是使用clean code 去與真實世界做互動 他不是parallelism. A boring function func boring(msg str...
Update Date: 2025-04-28 TL;DR 因為Proxmox 主機不小心被我搞爛了,因此趁著這次rebuild,希望可以記錄一下所有基礎建設。 Proxmox 因為溫度很重要,所以最好即時監測溫度:link 100 - OpenVPN & Nginx OpenVPN 因為人在國外,最重要的還是VPN。沒有VPN的日子,無法看動畫瘋跟有字幕的Netflix。 我參...
Update Date: 2024-03-06 Multiple Tables Combine Tables by Inner Joins SELECT table1.c1, table2.c2 FROM table1 JOIN table2 ON table1.c3 = table2.c3; This merges two tables according to c3. If...
Update Date: 2024-03-06 Aggregation Statement COUNT select COUNT(column1) from tableName COUNT returns the number of valid rows. (not null) Also, we can use 1 or * to represent all columns to ret...
Update Date: 2024-03-05 Query Statement Select -- select all columns select * from tableName; -- select specific columns select column1, column2, ..., columnN from tableName; As -- rename column ...