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
250
時間配分を常に意識するために、通知する仕組みを作った話 / 20220527-peacock-meets-up-01
途中の天恵菇があんまり響かなかったです・・・美味しいのに・・・
girigiribauer
May 27, 2022
Tweet
Share
More Decks by girigiribauer
See All by girigiribauer
なんとなく使っていたクリップボードの不思議 / 20250926-niigata-5min-tech
girigiribauer
0
32
タスクにもストック型・フロー型があるということに Todoist を使い始めて気づいた話 / 20250725-niigata-5min-tech
girigiribauer
0
63
Bluesky のフィードを作ろう / 20250620-niigata-5min-tech
girigiribauer
0
44
『Bluesky 公式アカウント移行まとめ』のアップデートをした話 / 20241018-niigata-5min-tech
girigiribauer
0
100
コンテナクエリはコンテナ技術の話ではなく CSS の話です / 20240920-niigata-5min-tech
girigiribauer
1
87
公共交通のオープンデータ事始め / 20240823-niigata-5min-tech
girigiribauer
0
100
私と Vim / 20240426-niigata-5min-tech
girigiribauer
2
190
がんばらない勉強会の続け方 / 20240426-niigata-5min-tech-omake
girigiribauer
1
570
初めての chrome extension で Plasmo 使ってみた / 20240329-niigata-5min-tech
girigiribauer
0
130
Other Decks in Technology
See All in Technology
AIの個性を理解し、指揮する
shoota
3
550
AIとの協業で実現!レガシーコードをKotlinらしく生まれ変わらせる実践ガイド
zozotech
PRO
2
190
20251102 WordCamp Kansai 2025
chiilog
0
220
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
2
180
serverless team topology
_kensh
3
250
可観測性は開発環境から、開発環境にもオブザーバビリティ導入のススメ
layerx
PRO
4
2.3k
Zero Trust DNS でより安全なインターネット アクセス
murachiakira
0
130
AIでデータ活用を加速させる取り組み / Leveraging AI to accelerate data utilization
okiyuki99
6
1.5k
入院医療費算定業務をAIで支援する:包括医療費支払い制度とDPCコーディング (公開版)
hagino3000
0
130
猫でもわかるAmazon Q Developer CLI 解体新書
kentapapa
1
180
abema-trace-sampling-observability-cost-optimization
tetsuya28
0
390
20251029_Cursor Meetup Tokyo #02_MK_「あなたのAI、私のシェル」 - プロンプトインジェクションによるエージェントのハイジャック
mk0721
PRO
6
2.1k
Featured
See All Featured
Writing Fast Ruby
sferik
630
62k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
Rails Girls Zürich Keynote
gr2m
95
14k
Site-Speed That Sticks
csswizardry
13
930
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.3k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
640
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
RailsConf 2023
tenderlove
30
1.3k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
A better future with KSS
kneath
239
18k
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