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
220
時間配分を常に意識するために、通知する仕組みを作った話 / 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
64
コンテナクエリはコンテナ技術の話ではなく CSS の話です / 20240920-niigata-5min-tech
girigiribauer
1
55
公共交通のオープンデータ事始め / 20240823-niigata-5min-tech
girigiribauer
0
63
私と Vim / 20240426-niigata-5min-tech
girigiribauer
2
150
がんばらない勉強会の続け方 / 20240426-niigata-5min-tech-omake
girigiribauer
1
520
初めての chrome extension で Plasmo 使ってみた / 20240329-niigata-5min-tech
girigiribauer
0
83
モーダルウィンドウを作るときは createPortal を選択肢に加えよう、という話 / 20200201-react-nagoya-learning
girigiribauer
0
100
コードフォーマッタを導入して プロジェクト内に平穏をもたらす話 / 20191025-v-okinawa
girigiribauer
0
160
TypeScript を活用してサービス構築頑張ってみた話 / 20190906_v-sendai_girigiribauer
girigiribauer
1
280
Other Decks in Technology
See All in Technology
大幅アップデートされたRagas v0.2をキャッチアップ
os1ma
2
530
20241214_WACATE2024冬_テスト設計技法をチョット俯瞰してみよう
kzsuzuki
3
450
多領域インシデントマネジメントへの挑戦:ハードウェアとソフトウェアの融合が生む課題/Challenge to multidisciplinary incident management: Issues created by the fusion of hardware and software
bitkey
PRO
2
100
DUSt3R, MASt3R, MASt3R-SfM にみる3D基盤モデル
spatial_ai_network
2
110
第3回Snowflake女子会_LT登壇資料(合成データ)_Taro_CCCMK
tarotaro0129
0
190
How to be an AWS Community Builder | 君もAWS Community Builderになろう!〜2024 冬 CB募集直前対策編?!〜
coosuke
PRO
2
2.8k
NW-JAWS #14 re:Invent 2024(予選落ち含)で 発表された推しアップデートについて
nagisa53
0
260
継続的にアウトカムを生み出し ビジネスにつなげる、 戦略と運営に対するタイミーのQUEST(探求)
zigorou
0
540
生成AIをより賢く エンジニアのための RAG入門 - Oracle AI Jam Session #20
kutsushitaneko
4
220
サイボウズフロントエンドエキスパートチームについて / FrontendExpert Team
cybozuinsideout
PRO
5
38k
watsonx.ai Dojo #5 ファインチューニングとInstructLAB
oniak3ibm
PRO
0
160
10分で学ぶKubernetesコンテナセキュリティ/10min-k8s-container-sec
mochizuki875
3
330
Featured
See All Featured
The Invisible Side of Design
smashingmag
298
50k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
It's Worth the Effort
3n
183
28k
What's in a price? How to price your products and services
michaelherold
243
12k
Scaling GitHub
holman
458
140k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Statistics for Hackers
jakevdp
796
220k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Gamification - CAS2011
davidbonilla
80
5.1k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
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