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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
girigiribauer
May 27, 2022
Technology
260
0
Share
時間配分を常に意識するために、通知する仕組みを作った話 / 20220527-peacock-meets-up-01
途中の天恵菇があんまり響かなかったです・・・美味しいのに・・・
girigiribauer
May 27, 2022
More Decks by girigiribauer
See All by girigiribauer
Figma デザインを自動マークアップさせた記録と肌感 / 20260425-nagaoka-tech-junction-1
girigiribauer
0
41
2026年は Rust 置き換えが流行る! / 20260220-niigata-5min-tech
girigiribauer
0
260
移動は善 / 20260124-NGK2026S
girigiribauer
1
130
Google Antigravity を使ってみた肌感 / 20251130-ai-craft-hacks-niigata
girigiribauer
0
75
なんとなく使っていたクリップボードの不思議 / 20250926-niigata-5min-tech
girigiribauer
0
68
タスクにもストック型・フロー型があるということに Todoist を使い始めて気づいた話 / 20250725-niigata-5min-tech
girigiribauer
0
85
Bluesky のフィードを作ろう / 20250620-niigata-5min-tech
girigiribauer
0
61
『Bluesky 公式アカウント移行まとめ』のアップデートをした話 / 20241018-niigata-5min-tech
girigiribauer
0
130
コンテナクエリはコンテナ技術の話ではなく CSS の話です / 20240920-niigata-5min-tech
girigiribauer
1
110
Other Decks in Technology
See All in Technology
20260423_執筆の工夫と裏側 技術書の企画から刊行まで / From the planning to the publication of technical book
nash_efp
3
380
明日からドヤれる!超マニアックなAWSセキュリティTips10連発 / 10 Ultra-Niche AWS Security Tips
yuj1osm
0
560
AWS認定資格は本当に意味があるのか?
nrinetcom
PRO
1
270
[最強DB講義]推薦システム | 基礎編
recsyslab
PRO
1
160
Bill One 開発エンジニア 紹介資料
sansan33
PRO
6
18k
ハーネスエンジニアリングの概要と設計思想
sergicalsix
9
4.7k
JEDAI in Osaka 2026イントロ
taka_aki
0
320
AIが書いたコードを信じられない問題 〜レビュー負荷を下げるために変えたこと〜 / The AI Code Trust Gap: Reducing the Review Burden
bitkey
PRO
6
1.2k
「責任あるAIエージェント」こそ自社で開発しよう!
minorun365
9
1.9k
AI時代における技術的負債への取り組み
codenote
1
1.4k
No Types Needed, Just Callable Method Check
dak2
1
900
QGISプラグイン CMChangeDetector
naokimuroki
1
390
Featured
See All Featured
The Language of Interfaces
destraynor
162
26k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
330
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
110
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
130
Why Our Code Smells
bkeepers
PRO
340
58k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.6k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Become a Pro
speakerdeck
PRO
31
5.9k
A Tale of Four Properties
chriscoyier
163
24k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
260
The Art of Programming - Codeland 2020
erikaheidi
57
14k
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