Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Gem #wedding_s
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kei Shiratsuchi
PRO
October 21, 2013
Technology
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Gem #wedding_s
Kei Shiratsuchi
PRO
October 21, 2013
More Decks by Kei Shiratsuchi
See All by Kei Shiratsuchi
モノリスとマイクロサービスの橋渡し - ベターからモアベターへ
kei_s
PRO
0
140
なぜ リアーキテクティング専任チームを作ったのか
kei_s
PRO
2
1.7k
実践 Rails アソシエーションリファクタリング / Rails association refactoring in practice
kei_s
PRO
8
10k
「Go言語でつくるインタプリタ」を Rust で移植してみた / "Write An Interpreter In Go" In Rust
kei_s
PRO
1
2.1k
Rust言語で作るインタプリタ / Write An Interpreter In Rust
kei_s
PRO
2
820
育児休業のご報告と、育児グッズとしてのスマートスピーカー / Parental Leave and SmartSpeaker
kei_s
PRO
0
910
「深層学習による自然言語処理」読書会 第6章2.7
kei_s
PRO
0
500
「深層学習による自然言語処理」読書会 第5章5.1
kei_s
PRO
0
510
最近個人的に気になるプログラミング言語おさらい Ruby, Python, Go, Rust, Julia
kei_s
PRO
0
1.1k
Other Decks in Technology
See All in Technology
手を動かして実感する、Kiro が変える開発体験
inariku
0
400
猫でもわかるKiro Web
kentapapa
1
130
3人で1000GPU超を統合運用する?マルチクラウド&オンプレを跨ぐ、構築と運用のリアル!
kazukun0716
2
530
行動するAIのためのオントロジー | DevRev — Encraft #26.pdf
dvrv_tknrszk
1
490
AI Native Platform Engineering 〜PlatformとAgileで“作る速さ”を“価値”へ〜
uya116
0
230
Hermes Agentで、AIが調べて記事を書くブログを作った話
blueb
0
110
Azure Serverless 2026:Production-ready な AI エージェント基盤 / Azure Serverless 2026: Production-Ready AI Agent Platform
miyake
2
630
Coil3を内部実装から読み解く~キャッシュ戦略とAVIF画像の描画〜/nikkei-tech-talk50
nikkei_engineer_recruiting
0
110
企業の現実世界をグラフで写し取る
sansantech
PRO
0
150
2026-09-08 そのJavaモダナイゼーション、AIに丸投げで大丈夫?IBM Bobで変わる品質と効率
yutanonaka
1
210
AI coding 整合正規方法
philipz
0
550
LT:「このままでいいのかな?」から一歩踏み出した私のデータキャリア選択〜社会人3年目に上京を決意したリアル〜Snowflake女子会 vol.8
snowwmn0824
0
110
Featured
See All Featured
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
880
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.1k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
510
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
It's Worth the Effort
3n
188
29k
Designing for Performance
lara
611
70k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
410
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
530
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
How GitHub (no longer) Works
holman
316
150k
The Limits of Empathy - UXLibs8
cassininazir
1
690
Transcript
͖ͳHFN ͘͠ ๅੴ ԿͰ͔͢ʁ നܛ
None
None
(FN
None
None
ͷ ϓϩάϥϛϯάݴޠ 3VCZ ศརΞΠςϜ
ྫ
8FC ΞϓϦ
sinatra require 'sinatra' get '/hi' do '͜ΜʹͪΘੈք' end
sinatra
ྫ
)5.- ղੳ
None
nokogiri require 'nokogiri' require 'open-uri' html = open('https://twitter.com/kei_s') doc =
Nokogiri::HTML(html) doc.css('.tweet-text').each do |e| puts e.text end
nokogiri ࣗ࡞ۀEBZ !FJLPN͋Γ͕ͱ͏͍͟͝·͢ʂ ఱؾྑ͍Ͱ͢ XJUIZVLBBUࡾܢԂ 4BOLFJFO(BSEFO <QJD>IUUQTQBUIDPNQ). ே͝Μ͔ͬ͠Γ৯ͨ ʔɺNBDͷPQFOίϚϯυͷBΦϓγϣϯศརͩͬͨ͠[TIͷิͰBQQΛީิʹͯ͠ WJNZUVUPSͳ͍ͷ
4BJOU1FQTJͷCBOEDBNQͷΞϧόϜ͕͜ͱ͝ͱ͘ങ͑ͳͯ͘ࠔΔ !TIJSBZVDB͋ʔͬɺ͍ʜʂ !GSLPVUʔ͍͋Γ͕ͱ͏ʂ·ͨͶʙ !GSLPVU͍ʔ͍ʂਲͬͯΔ͠ձ͍͍ͨͥʂ !GSLPVU࣌͠Ҏ߱ʹҿΜͰͨΒͥͻҿ͏ͥʙɻҿΊΔʁ !GSLPVU!TIJSBZVDB͍ΔΑ OHJOYXMVBͬͯΈ͚ͨͲ͍͚Δ͔ͳ !TIJSBZVDBͳΜͱ ೋਓ͚ͯͬ͜͠͏͓ञҿΜͰ͓Ոʹؼ͖ͬͯͨΒɺਲͬͯΔײ͋Δͻͱ͕ɺʮʔɺࠃഁΕͯ
(FN
ͷ ϓϩάϥϛϯάݴޠ 3VCZ ศརΞΠςϜ
None
ͷ ศརΞΠςϜ ͭΊ͋Θͤ
Gemfile # A sample Gemfile source "http://rubygems.org" gem "gems" gem
"sqlite3" gem "sequel" gem "activerecord" gem "awesome_print" gem "tapp" gem "gnuplot"
None
None
ΈΜͳͷ ͖ͳ(FN ͘͠ๅੴ Λ ͭΊ͋Θ͍ͤͨ
ͬͯΈͨ
ಈ͔ͳ͍
ͦΜͳ (FN ͳ͍
Ͱ ಈ͔͍ͨ͠
ແཧཧ Δ
w geminaboxΛͬͯϩʔΧϧϚγϯʹgemαʔόΛཱͯΔɻ w ϚϧνόΠτͷ໊લͷgemΛ࡞Δɻ۩ମతʹgemspecϑΝΠϧ ͚ͩ࡞ͬͯϏϧυ͢Δɻ w bundleίϚϯυ͕ϚϧνόΠτ໊ͷgemΛఆͯ͠ͳ͍ͷͰϞϯ ΩʔύονΛͯΔɻ w GemfileΛinstance_eval͢ΔࡍʹɺgemϝιουʹΔจ
ࣈྻΛforce_encoding(“UTF-8”) ͢Δɻ w gem αʔόʹґଘؔͷϦΫΤετΛ͛Δࡍʹ spec_file_name Λ URI.encode ͢Δɻ w gem ϥΠϒϥϦ͕ϚϧνόΠτ໊ͷ gem Λఆ͍ͯ͠ͳ͍ͷͰϞ ϯΩʔύονΛͯΔɻ w gem αʔό͔Βμϯϩʔυ͢ΔϦΫΤετΛ͛Δࡍʹ gem_file_name Λ URI.encode ͢Δɻ w geminabox ϚϧνόΠτ໊ͷ gem Λఆ͍ͯ͠ͳ͍ͷͰϞϯΩ ʔύονΛͯΔɻ w ϦΫΤετΛ URI.decode ͯ͠ਖ਼͍͠ϑΝΠϧύεʹ͢Δɻ
ͬͯΈͨ