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
Phoenixでディレクトリリスティングを取るには
Search
Kenji Rikitake
January 11, 2017
Programming
0
610
Phoenixでディレクトリリスティングを取るには
Presentation for tokyo.ex #7 / 歌舞伎座.tech #13 11-JAN-2017
Kenji Rikitake
January 11, 2017
Tweet
Share
More Decks by Kenji Rikitake
See All by Kenji Rikitake
SDR Implementation of Analog FM Broadcast Multipath Filter
jj1bdx
0
620
インターネットとオープンな無線技術の今後 / Future of Internet and Open Radio Engineering
jj1bdx
0
1.1k
FM放送とマルチパスを適応フィルタで極めてみた / Solving multipath distortion of FM broadcast by adaptive filters
jj1bdx
1
3.2k
ソフトウェアラジオとC++ そしてFMエアチェックのための信号解析と数値計算にまつわるよもやま話 / Software radio and C++
jj1bdx
0
820
SDR時代のFM受信 マルチパスモニタとマルチパスフィルタ / FM broadcast reception with SDR - multipath monitor and multipath filter
jj1bdx
0
430
How I discover a working implementation of clock_nanosleep() for macOS in CPAN Time::Hires
jj1bdx
1
970
Sleeping pays / 1000eng-74th-jj1bdx
jj1bdx
1
34
The BEAM Programming Paradigm
jj1bdx
1
770
Safe randomness: theory and practice
jj1bdx
1
1.2k
Other Decks in Programming
See All in Programming
Ruby Pattern Matching
bkuhlmann
0
920
What We Can Learn From OSS
inouehi
0
420
Ruby Function Composition
bkuhlmann
1
330
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
170
見た目から始める生産性向上
ikumatadokoro
7
830
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
410
PostmanでAPIの動作確認が楽になった話
h455h1
0
170
Random\Randomizer クラスで日常のあれこれを解決しよう! / Random\Randomizer class solves familiar trouble
cocoeyes02
0
220
効率化に挑戦してみたらモバイル開発が少し快適になった話
ryunakayama
0
130
Azure OpenAI Serviceのプロンプトエンジニアリング入門
tomokusaba
3
670
Elm 0.19.0 Changes
bkuhlmann
0
490
Snowflakeで眠ったデータを起こそう!
estie
0
110
Featured
See All Featured
It's Worth the Effort
3n
180
27k
Building Effective Engineering Teams - LeadDev
addyosmani
28
1.8k
Happy Clients
brianwarren
92
6.4k
Making Projects Easy
brettharned
108
5.5k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
Designing the Hi-DPI Web
ddemaree
276
33k
Building Adaptive Systems
keathley
31
1.9k
Rebuilding a faster, lazier Slack
samanthasiow
73
8.2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
20
1.9k
Unsuck your backbone
ammeep
663
57k
Stop Working from a Prison Cell
hatefulcrawdad
266
19k
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