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
Gem #wedding_s
Search
Kei Shiratsuchi
PRO
October 21, 2013
Technology
0
150
Gem #wedding_s
Kei Shiratsuchi
PRO
October 21, 2013
Tweet
Share
More Decks by Kei Shiratsuchi
See All by Kei Shiratsuchi
モノリスとマイクロサービスの橋渡し - ベターからモアベターへ
kei_s
PRO
0
110
なぜ リアーキテクティング専任チームを作ったのか
kei_s
PRO
2
1.5k
実践 Rails アソシエーションリファクタリング / Rails association refactoring in practice
kei_s
PRO
8
9k
「Go言語でつくるインタプリタ」を Rust で移植してみた / "Write An Interpreter In Go" In Rust
kei_s
PRO
1
1.9k
Rust言語で作るインタプリタ / Write An Interpreter In Rust
kei_s
PRO
2
690
育児休業のご報告と、育児グッズとしてのスマートスピーカー / Parental Leave and SmartSpeaker
kei_s
PRO
0
860
「深層学習による自然言語処理」読書会 第6章2.7
kei_s
PRO
0
460
「深層学習による自然言語処理」読書会 第5章5.1
kei_s
PRO
0
460
最近個人的に気になるプログラミング言語おさらい Ruby, Python, Go, Rust, Julia
kei_s
PRO
0
1k
Other Decks in Technology
See All in Technology
株式会社島津製作所_研究開発(集団協業と知的生産)の現場を支える、OSS知識基盤システムの導入
akahane92
1
1.3k
TypeScript 上達の道
ysknsid25
23
5k
激動の時代、新卒エンジニアはAIツールにどう向き合うか。 [LayerX Bet AI Day Countdown LT Day1 ツールの選択]
tak848
0
620
20250728 MCP, A2A and Multi-Agents in the future
yoshidashingo
1
160
猫でもわかるQ_CLI(CDK開発編)+ちょっとだけKiro
kentapapa
0
130
メモ整理が苦手な者による頑張らないObsidian活用術
optim
1
160
FAST導入1年間のふりかえり〜現実を直視し、さらなる進化を求めて〜 / Review of the first year of FAST implementation
wooootack
1
210
隙間時間で爆速開発! Claude Code × Vibe Coding で作るマニュアル自動生成サービス
akitomonam
2
240
AI時代の経営、Bet AI Vision #BetAIDay
layerx
PRO
0
180
마라톤 끝의 단거리 스퍼트: 2025년의 AI
inureyes
PRO
1
170
会社もクラウドも違うけど 通じたコスト削減テクニック/Cost optimization strategies effective regardless of company or cloud provider
aeonpeople
2
410
Wasmで社内ツールを作って配布しよう
askua
0
160
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
400
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.8k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
A better future with KSS
kneath
238
17k
GraphQLとの向き合い方2022年版
quramy
49
14k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
Designing for humans not robots
tammielis
253
25k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
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 ͯ͠ਖ਼͍͠ϑΝΠϧύεʹ͢Δɻ
ͬͯΈͨ