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-meets-up-01
Search
girigiribauer
May 27, 2022
Technology
0
160
時間配分を常に意識するために、通知する仕組みを作った話 / 20220527-peacock-meets-up-01
途中の天恵菇があんまり響かなかったです・・・美味しいのに・・・
girigiribauer
May 27, 2022
Tweet
Share
More Decks by girigiribauer
See All by girigiribauer
初めての chrome extension で Plasmo 使ってみた / 20240329-niigata-5min-tech
girigiribauer
0
12
モーダルウィンドウを作るときは createPortal を選択肢に加えよう、という話 / 20200201-react-nagoya-learning
girigiribauer
0
98
コードフォーマッタを導入して プロジェクト内に平穏をもたらす話 / 20191025-v-okinawa
girigiribauer
0
150
TypeScript を活用してサービス構築頑張ってみた話 / 20190906_v-sendai_girigiribauer
girigiribauer
1
270
TypeScript から JavaScript への変換が見えやすくするビューワーを作った話 / 20190403-typescript-studying
girigiribauer
1
490
沖縄のバスがつらすぎて自分でバスアプリ作った話 / ngk2018b-okinawabus
girigiribauer
2
1.4k
Other Decks in Technology
See All in Technology
最近たまに見かけるTiDBってなんだ? - Findy
pingcap0315
2
620
PHPカンファレンス小田原2024
ysknsid25
3
660
クラウドサインにおけるプロダクトマネージャーの役割と開発プロセス / 20240410_cloudsign-PdM
bengo4com
1
680
Tableau事例紹介 / Tableau Case Study of Eureka
kazuya_araki_tokyo
1
170
検証を通して見えてきたTiDBの性能特性
lycorptech_jp
PRO
6
3.4k
社内勉強会運営のコツ
senoo
6
1.2k
Algyan イベント振り返り
linyixian
0
190
Hands-on / Kaname Frusawa / Cloud Compare Users Meetup 2024 at University of Tokyo on April 17
paraworld
2
470
入社後初めてのタスクでk8sアップグレードした話.pdf
kkato1
1
380
TransitGatewayの基礎
toru_kubota
0
230
プロトタイピングによる不確実性の低減 / Reducing Uncertainty through Prototyping
ohbarye
4
250
Databricks:『生成AI World Cup』のご案内
databricksjapan
2
150
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
354
18k
Raft: Consensus for Rubyists
vanstee
132
6.2k
Infographics Made Easy
chrislema
237
18k
VelocityConf: Rendering Performance Case Studies
addyosmani
320
23k
Why Our Code Smells
bkeepers
PRO
331
56k
Building Effective Engineering Teams - LeadDev
addyosmani
27
1.8k
Visualization
eitanlees
135
14k
Bootstrapping a Software Product
garrettdimon
PRO
301
110k
Design by the Numbers
sachag
274
18k
Optimizing for Happiness
mojombo
370
69k
Thoughts on Productivity
jonyablonski
57
3.8k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
1
3.4k
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