Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
時間配分を常に意識するために、通知する仕組みを作った話 / 20220527-peacock-...
Search
girigiribauer
May 27, 2022
Technology
0
240
時間配分を常に意識するために、通知する仕組みを作った話 / 20220527-peacock-meets-up-01
途中の天恵菇があんまり響かなかったです・・・美味しいのに・・・
girigiribauer
May 27, 2022
Tweet
Share
More Decks by girigiribauer
See All by girigiribauer
『Bluesky 公式アカウント移行まとめ』のアップデートをした話 / 20241018-niigata-5min-tech
girigiribauer
0
87
コンテナクエリはコンテナ技術の話ではなく CSS の話です / 20240920-niigata-5min-tech
girigiribauer
1
71
公共交通のオープンデータ事始め / 20240823-niigata-5min-tech
girigiribauer
0
87
私と Vim / 20240426-niigata-5min-tech
girigiribauer
2
180
がんばらない勉強会の続け方 / 20240426-niigata-5min-tech-omake
girigiribauer
1
550
初めての chrome extension で Plasmo 使ってみた / 20240329-niigata-5min-tech
girigiribauer
0
110
モーダルウィンドウを作るときは createPortal を選択肢に加えよう、という話 / 20200201-react-nagoya-learning
girigiribauer
0
110
コードフォーマッタを導入して プロジェクト内に平穏をもたらす話 / 20191025-v-okinawa
girigiribauer
0
170
TypeScript を活用してサービス構築頑張ってみた話 / 20190906_v-sendai_girigiribauer
girigiribauer
1
290
Other Decks in Technology
See All in Technology
KMP導⼊において、マネジャーとして考えた事
sansantech
PRO
1
210
Data Hubグループ 紹介資料
sansan33
PRO
0
1.7k
OpenJDKエコシステムと開発中の機能を紹介 2025夏版
chiroito
0
100
Redmineの意外と知らない便利機能 (Redmine 6.0対応版)
vividtone
0
1.3k
令和最新版TypeScriptでのnpmパッケージ開発
lycorptech_jp
PRO
0
110
toittaにOpenTelemetryを導入した話 / Mackerel APM リリースパーティ
cohalz
1
490
大規模PaaSにおける監視基盤の構築と効率化の道のり
lycorptech_jp
PRO
0
180
2025advance01
minamizaki
0
130
MCP Clientを活用するための設計と実装上の工夫
yudai00
1
810
テストを実施する前に考えるべきテストの話 / Thinking About Testing Before You Test
nihonbuson
PRO
15
2.1k
SmartHRの複数のチームにおけるMCPサーバーの活用事例と課題
yukisnow1823
2
1.2k
CSS polyfill とその未来
ken7253
0
140
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
329
39k
We Have a Design System, Now What?
morganepeng
52
7.6k
RailsConf 2023
tenderlove
30
1.1k
Six Lessons from altMBA
skipperchong
28
3.8k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.4k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
42
2.3k
Bash Introduction
62gerente
614
210k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
123
52k
Site-Speed That Sticks
csswizardry
7
590
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Transcript
࣌ؒΛৗʹҙࣝ͢ΔͨΊʹɺ ௨͢ΔΈΛ࡞ͬͨ 2022/05/27 PEACOCK MEETS UP #01 @girigiribauer
5
None
None
None
1 24 :
(1) ⾒ =>
=> (2)
(3) =>
(4)
None
(1)
(2)
30 => 24 30
(1) =>
(2) 7:3 ⾒ 70%
None
None
None
None
di ff
Toggl (Toggl Track) https://toggl.com/track/ API OK https://toggl.com/track/integrations/ https://toggl.com/track/mobile-time-tracking-app/
None
None
⾒ Slack 7 `/report`
None
Go Netlify Functions GitLab CI 7 curl Simple!
Go bot (1) OK Go Toggl API https://github.com/toggl/toggl_api_docs/blob/ master/reports.md
Go bot (1)
Go bot (2) Slack Slack webhook 2 https://slack.com/intl/ja-jp/help/articles/ 11 5
0052 65 063 - Slack-%E 3 % 8 1 %A 7 %E 3 % 8 1 %AE-Incoming-Webhook- %E 3 % 81 %AE%E 5 % 8 8 %A 9 %E 7 % 9 4 %A 8 https://api.slack.com/legacy/custom-integrations
Go bot (2)
Netlify Functions (1) Netlify Web Serverless Function
AWS Lambda AWS AWS Lambda AWS 1 2 Netlify Functions
Netlify Functions (1)
Netlify Functions (2) Go AWS Lambda https://github.com/aws/aws-lambda-go/ Go AWS
Lambda Netlify https://docs.netlify.com/functions/build-with-go/ URL Slack
Netlify Functions (2)
(netlify.toml) [build] command = "make build" functions = "functions" publish
= "site" Netlify Functions (3) (Makefile) .PHONY: build build: mkdir -p functions cd cmd/lambda; go build -o ../../ functions/report ./... `make build` URL Endpoint
Netlify Functions (3)
GitLab CI (1) GitLab GitHub cURL URL Windows 1
0 `curlimages/curl` Docker CI Docker Linux CI
GitLab CI (2) Netlify Functions URL Git `.gitlab-ci.yml` `$NETLIFY_FUNCTION_URL`
GitLab Settings > CI/CD > Variables image: curlimages/curl job: script: - curl $NETLIFY_FUNCTION_URL only: - schedules
GitLab CI (3) GitLab CI/CD > Schedules `New Pipeline`
7 API
🎉 ⾒
S i m p l e !
Go, GitLab, Netlify Functions
To be continued …
References https://toggl.com/track/ https://github.com/toggl/toggl_api_docs/blob/master/reports.md https://slack.com/intl/ja-jp/help/articles/ 1 150 05 2 6 50
6 3 -Slack- %E 3 % 8 1 %A 7 %E 3 % 8 1 %AE-Incoming-Webhook-%E 3 % 8 1 %AE%E 5 % 88 %A 9 %E 7 % 94 %A 8 https://api.slack.com/legacy/custom-integrations https://www.netlify.com/products/functions/ https://github.com/aws/aws-lambda-go/ https://docs.netlify.com/functions/build-with-go/ https://docs.gitlab.com/ee/ci/pipelines/schedules.html