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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Shohei Ueda
September 11, 2020
Programming
1.3k
0
Share
はてなインターン2020成果発表 peaceiris
peaceiris のはてなインターン2020成果発表資料
Shohei Ueda
September 11, 2020
More Decks by Shohei Ueda
See All by Shohei Ueda
PipeCD LT 会 #2 プラグインアイデア大会!!
peaceiris
0
78
ABEMA 画像配信基盤における Cloudflare Workers の活用
peaceiris
9
1.4k
TypeScript Custom GitHub Action Development Tips
peaceiris
5
1.6k
Monorepo for Cloudflare Workers
peaceiris
2
1.3k
Other Decks in Programming
See All in Programming
t *testing.T は どこからやってくるの?
otakakot
1
890
リセットCSSを1行消したらアクセシビリティが向上した話
pvcresin
4
450
Road to RubyKaigi: Play Hard(ware)
makicamel
1
530
クラウドネイティブなエンジニアに向ける Raycastの魅力と実際の活用事例
nealle
2
230
セグメントとターゲットを意識するプロポーザルの書き方 〜採択の鍵は、誰に刺すかを見極めるマーケティング戦略にある〜
m3m0r7
PRO
0
730
実践CRDT
tamadeveloper
0
610
Making the RBS Parser Faster
soutaro
0
650
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
1.1k
ふりがな Deep Dive try! Swift Tokyo 2026
watura
0
270
My daily life on Ruby
a_matsuda
2
170
20年以上続くプロダクトでも使い続けられる静的解析ツールを求めて
matsuo_atsushi
0
130
WebAssembly を読み込むベストプラクティス 2026年春版 / Best Practices for Loading WebAssembly (Spring 2026)
petamoriken
5
1k
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
170
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
230
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
900
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
ラッコキーワード サービス紹介資料
rakko
1
3.2M
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
180
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
190
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
190
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
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