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
はてなインターン2020成果発表 peaceiris
Search
Shohei Ueda
September 11, 2020
Programming
0
1.3k
はてなインターン2020成果発表 peaceiris
peaceiris のはてなインターン2020成果発表資料
Shohei Ueda
September 11, 2020
Tweet
Share
More Decks by Shohei Ueda
See All by Shohei Ueda
PipeCD LT 会 #2 プラグインアイデア大会!!
peaceiris
0
57
ABEMA 画像配信基盤における Cloudflare Workers の活用
peaceiris
9
1.1k
TypeScript Custom GitHub Action Development Tips
peaceiris
5
1.5k
Monorepo for Cloudflare Workers
peaceiris
0
1.1k
Other Decks in Programming
See All in Programming
Understanding Kotlin Multiplatform
l2hyunwoo
0
250
SQLアンチパターン第2版 データベースプログラミングで陥りがちな失敗とその対策 / Intro to SQL Antipatterns 2nd
twada
PRO
38
11k
Vibe Codingの幻想を超えて-生成AIを現場で使えるようにするまでの泥臭い話.ai
fumiyakume
21
10k
#QiitaBash TDDで(自分の)開発がどう変わったか
ryosukedtomita
1
350
Dart 参戦!!静的型付き言語界の隠れた実力者
kno3a87
0
180
React は次の10年を生き残れるか:3つのトレンドから考える
oukayuka
41
16k
マイコンでもRustのtestがしたい その2/KernelVM Tokyo 18
tnishinaga
2
1.6k
AIに安心して任せるためにTypeScriptで一意な型を作ろう
arfes0e2b3c
0
340
Amazon Q CLI開発で学んだAIコーディングツールの使い方
licux
3
180
CLI ツールを Go ライブラリ として再実装する理由 / Why reimplement a CLI tool as a Go library
ktr_0731
3
1k
Gemini CLIの"強み"を知る! Gemini CLIとClaude Codeを比較してみた!
kotahisafuru
3
950
オホーツクでコミュニティを立ち上げた理由―地方出身プログラマの挑戦 / TechRAMEN 2025 Conference
lemonade_37
1
450
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
56
5.7k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
A better future with KSS
kneath
239
17k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Being A Developer After 40
akosma
90
590k
A designer walks into a library…
pauljervisheath
207
24k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
Practical Orchestrator
shlominoach
190
11k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Transcript
Hatena Intern 2020 成果発表 id:peaceiris pyto86 部屋 2020-09-11 id:peaceiris 1
Markdown 記法の実装 • ⾒出し • リンク • リスト goldmark の採⽤により
CommonMark に準拠した Markdown 記法を利⽤可能 2020-09-11 id:peaceiris 2
独⾃記法の実装 – 絵⽂字 2020-09-11 id:peaceiris 3 :smile: goldmark extension を採⽤
Title 取得 Fetcher サービスの実装 • URL から <title> の content
を 取得する Fetcher サービスを新規 実装 • Title が空である時、Renderer か ら Fetcher を呼び出し、取得した Title は goldmark に渡す 2020-09-11 id:peaceiris 4
発展: OGP 画像取得サービス 2020-09-11 id:peaceiris 5
発展: OGP 画像取得するサービス • Go Template 独⾃関数を定義 • Markdown に対して
template 処 理を先に実⾏する • 独⾃関数は Markdown 記法を出 ⼒する • moldmark に Markdown を渡す 2020-09-11 id:peaceiris 6
テストの話 GitHub Actions jobs.<job>.strategy.matrix Mock 外部依存をなくし、異常系も網羅す るようにテストケースを構成 相談しながらだと⼀⼈で考え続ける よりも問題解決しやすい 2020-09-11
id:peaceiris 7
Thank you! id:peaceiris 2020-09-11 id:peaceiris 8