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
62
ABEMA 画像配信基盤における Cloudflare Workers の活用
peaceiris
9
1.1k
TypeScript Custom GitHub Action Development Tips
peaceiris
5
1.5k
Monorepo for Cloudflare Workers
peaceiris
1
1.1k
Other Decks in Programming
See All in Programming
はじめてのDSPy - 言語モデルを『プロンプト』ではなく『プログラミング』するための仕組み
masahiro_nishimi
3
3.8k
スマホから Youtube Shortsを見られないようにする
lemolatoon
27
33k
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
2
650
Leading Effective Engineering Teams in the AI Era
addyosmani
7
550
理論と実務のギャップを超える
eycjur
0
170
Go言語の特性を活かした公式MCP SDKの設計
hond0413
1
400
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
3
940
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
190
CSC509 Lecture 08
javiergs
PRO
0
230
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
190
EMこそClaude Codeでコード調査しよう
shibayu36
0
290
ALL CODE BASE ARE BELONG TO STUDY
uzulla
26
6.6k
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
The Cult of Friendly URLs
andyhume
79
6.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Building Adaptive Systems
keathley
44
2.8k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Build your cross-platform service in a week with App Engine
jlugia
232
18k
Music & Morning Musume
bryan
46
6.9k
How STYLIGHT went responsive
nonsquared
100
5.8k
Automating Front-end Workflow
addyosmani
1371
200k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
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