Slack now has deprecated legacy tokens, instead, Slack encourages us to create Slack Apps
to do our job, so I created a note to record how I set up Slack app and use it on drone-slack-blame
plugin.
If you are using zap
as your logging tool, then when you write the tests, you might want to assert the function via the logs. You can use zap/observer
package to make it possible.
Below is a code piece to demonstrate how it works:
參加了 Google Cloud 的 Basic ML Study Jam,紀錄一下
簡單筆記一下會用到的 pprof 相關指令
嗯,我又把 theme 換掉了。還有個原因是裝了最新版的 hugo 後,就 build 不出來了,只好順便換個新的 theme。