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
Phoenixでディレクトリリスティングを取るには
Search
Kenji Rikitake
January 11, 2017
Programming
730
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Phoenixでディレクトリリスティングを取るには
Presentation for tokyo.ex #7 / 歌舞伎座.tech #13 11-JAN-2017
Kenji Rikitake
January 11, 2017
More Decks by Kenji Rikitake
See All by Kenji Rikitake
SDR Implementation of Analog FM Broadcast Multipath Filter
jj1bdx
0
1k
インターネットとオープンな無線技術の今後 / Future of Internet and Open Radio Engineering
jj1bdx
0
1.3k
FM放送とマルチパスを適応フィルタで極めてみた / Solving multipath distortion of FM broadcast by adaptive filters
jj1bdx
1
3.9k
ソフトウェアラジオとC++ そしてFMエアチェックのための信号解析と数値計算にまつわるよもやま話 / Software radio and C++
jj1bdx
0
1.2k
SDR時代のFM受信 マルチパスモニタとマルチパスフィルタ / FM broadcast reception with SDR - multipath monitor and multipath filter
jj1bdx
0
780
How I discover a working implementation of clock_nanosleep() for macOS in CPAN Time::Hires
jj1bdx
1
1.4k
Sleeping pays / 1000eng-74th-jj1bdx
jj1bdx
1
83
The BEAM Programming Paradigm
jj1bdx
1
1.1k
Safe randomness: theory and practice
jj1bdx
1
1.6k
Other Decks in Programming
See All in Programming
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
290
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
180
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
320
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
140
GitHubハンズオン講座 — 実務レベルのチーム開発のフローを身につけよう
junhat6
0
110
App Intentsのビルドプロセスを支える技術
kntkymt
0
490
Androidだけじゃない、DroidKaigiで広がった私の技術スタック
akkeylab
0
110
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
380
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
190
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
520
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
140
Security issues being discussed on Web Platforms
petamoriken
0
1.4k
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
440
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
900
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
470
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
510
WENDY [Excerpt]
tessaabrams
14
40k
Design in an AI World
tapps
1
340
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
76k
Odyssey Design
rkendrick25
PRO
2
850
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
910
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Transcript
PhoenixͰσΟϨΫτϦϦεςΟϯά ΛऔΔʹ ྗ ݈࣍ ྗ݈ٕ࣍ज़࢜ࣄॴ / ϖύϘݚڀॴ 20171݄11 @jj1bdx tokyo.ex
#7 / Վب࠲.tech #13 Kenji Rikitake / tokyo.ex #7 11-JAN-2017 1
ࣗݾհ Erlang/OTPྺ9ऑ Elixirྺ2ऑͷॳ৺ऀ ϖύϘݚڀॴݟश͍ Webؔ࿈શ෦ͬͯ·͢ Kenji Rikitake / tokyo.ex #7
11-JAN-2017 2
σΟϨΫτϦϦεςΟϯά ӈYawsͷྫ ͜Μͳײ͡Ͱ੩తίϯςϯπ ͷϦετΛऔΓ͍ͨ Apache, Nginx, Yaws ͳΒ؆୯ʹऔΕ Δɺ͕… Kenji
Rikitake / tokyo.ex #7 11-JAN-2017 3
Phoenix/PlugͰ͚ͬ͜͏͍͠ Phoenixͷ੩తίϯςϯπͰPlug.StaticΛ͏ • ύεΛσΟϨΫτϦʹϚοϓʢΞΫηε੍ݶՄʣ • ϑΝΠϧͳΒ༰Λmime typeͱ͍ͬ͠ΐʹฦ͢ • ϑΝΠϧͰͳ͍߹ແࢹͯ࣍͠ͷPlugˠ͜͜ʹσΟϨΫ τϦͩͬͨ߹ͷॲཧΛPlugͱͯ͠ॻ͍ͯΔͱΑͦ͞͏
Kenji Rikitake / tokyo.ex #7 11-JAN-2017 4
ϞδϡʔϧΛ୳ͨ͠ …ͳ͔ͬͨ Kenji Rikitake / tokyo.ex #7 11-JAN-2017 5
ͳ͚Ε࡞Δ Kenji Rikitake / tokyo.ex #7 11-JAN-2017 6
θϩ͔Βॻ͘ͱ݁ߏେม σΟϨΫτϦͩͬͨΒҎԼͷॲཧΛ͢Δ • ϦετΛऔΔʢιʔτΞϧΰϦζϜม͑ΒΕΔʣ • ιʔτΞϧΰϦζϜGETͷqueryύϥϝʔλͰࢦఆ • ϑΝΠϧͷଐੑΛऔಘͯ͠දࣔ • Ұઃఆͨ͠ΞϧΰϦζϜURLͷதʹೖΕͯอ࣋
Kenji Rikitake / tokyo.ex #7 11-JAN-2017 7
Ռ: plug_static_ls Ϟδϡʔϧ໊PlugStaticLsɺendpointʹ͜Μͳײ͡Ͱઃఆ plug Plug.Static, at: "/static", from: "/files", gzip:
false, only: ~w(images public js css) plug PlugStaticLs, at: "/static", from: "/files" only: ~w(images public) # ֘͠ͳ͍ͷ௨ա/ॲཧͷࢦఆ͕ඞཁ Kenji Rikitake / tokyo.ex #7 11-JAN-2017 8
plug_static_lsͷը໘ ͚ͬ͜͏ॲཧ͕͔͔࣌ؒΔʢmsʙ ඦmsʣͷͰެ։༻్ʹ͔ͳ͍ ϑΥϧμͷը૾Base64ͷimgόΠφϦ ͰೖΕΒΕͳ͘ͳ͍͕ϖʔδαΠζ͕ େ͖͘ͳΔͷͰΊͨ ͦΕͰҰԠYawsͬΆ͘ͳ͍ͬͯΔ Kenji Rikitake /
tokyo.ex #7 11-JAN-2017 9
plug_static_ls https://hex.pm/packages/plug_static_ls https://github.com/jj1bdx/plug_static_ls Kenji Rikitake / tokyo.ex #7 11-JAN-2017 10
Thank you Kenji Rikitake / tokyo.ex #7 11-JAN-2017 11