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
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
75
ABEMA 画像配信基盤における Cloudflare Workers の活用
peaceiris
9
1.3k
TypeScript Custom GitHub Action Development Tips
peaceiris
5
1.6k
Monorepo for Cloudflare Workers
peaceiris
2
1.2k
Other Decks in Programming
See All in Programming
SourceGeneratorのマーカー属性問題について
htkym
0
170
Claude Code の Skill で複雑な既存仕様をすっきり整理しよう
yuichirokato
1
320
コーディングルールの鮮度を保ちたい / keep-fresh-go-internal-conventions
handlename
0
170
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
210
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
400
Python’s True Superpower
hynek
0
200
Geminiの機能を調べ尽くしてみた
naruyoshimi
0
200
15年目のiOSアプリを1から作り直す技術
teakun
1
610
Railsの気持ちを考えながらコントローラとビューを整頓する/tidying-rails-controllers-and-views-as-rails-think
moro
4
380
開発ステップを細分化する、破綻しないAI開発体制
kspace
0
110
今更考える「単一責任原則」 / Thinking about the Single Responsibility Principle
tooppoo
3
1.6k
Rails Girls Tokyo 18th GMO Pepabo Sponsor Talk
yutokyokutyo
0
210
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
99
Done Done
chrislema
186
16k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
120
Raft: Consensus for Rubyists
vanstee
141
7.3k
RailsConf 2023
tenderlove
30
1.4k
GraphQLとの向き合い方2022年版
quramy
50
14k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
130
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
64
53k
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