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
650
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
770
インターネットとオープンな無線技術の今後 / Future of Internet and Open Radio Engineering
jj1bdx
0
1.2k
FM放送とマルチパスを適応フィルタで極めてみた / Solving multipath distortion of FM broadcast by adaptive filters
jj1bdx
1
3.4k
ソフトウェアラジオとC++ そしてFMエアチェックのための信号解析と数値計算にまつわるよもやま話 / Software radio and C++
jj1bdx
0
980
SDR時代のFM受信 マルチパスモニタとマルチパスフィルタ / FM broadcast reception with SDR - multipath monitor and multipath filter
jj1bdx
0
590
How I discover a working implementation of clock_nanosleep() for macOS in CPAN Time::Hires
jj1bdx
1
1.2k
Sleeping pays / 1000eng-74th-jj1bdx
jj1bdx
1
43
The BEAM Programming Paradigm
jj1bdx
1
920
Safe randomness: theory and practice
jj1bdx
1
1.4k
Other Decks in Programming
See All in Programming
iOSでQRコード生成奮闘記
ktcryomm
2
120
未経験でSRE、はじめました! 組織を支える役割と軌跡
curekoshimizu
1
200
コミュニティ駆動 AWS CDK ライブラリ「Open Constructs Library」 / community-cdk-library
gotok365
2
250
Rails 1.0 のコードで学ぶ find_by* と method_missing の仕組み / Learn how find_by_* and method_missing work in Rails 1.0 code
maimux2x
1
260
もう少しテストを書きたいんじゃ〜 #phpstudy
o0h
PRO
19
4.2k
15分で学ぶDuckDBの可愛い使い方 DuckDBの最近の更新
notrogue
3
810
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
1.2k
Drawing Heighway’s Dragon- Recursive Function Rewrite- From Imperative Style in Pascal 64 To Functional Style in Scala 3
philipschwarz
PRO
0
140
Djangoにおける複数ユーザー種別認証の設計アプローチ@DjangoCongress JP 2025
delhi09
PRO
4
500
責務と認知負荷を整える! 抽象レベルを意識した関心の分離
yahiru
8
1.5k
From the Wild into the Clouds - Laravel Meetup Talk
neverything
0
180
JAWS Days 2025のインフラ
komakichi
1
130
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
580
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Testing 201, or: Great Expectations
jmmastey
42
7.2k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Building Applications with DynamoDB
mza
93
6.2k
Documentation Writing (for coders)
carmenintech
68
4.6k
Building an army of robots
kneath
303
45k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7.1k
Mobile First: as difficult as doing things right
swwweet
223
9.5k
GraphQLの誤解/rethinking-graphql
sonatard
69
10k
Music & Morning Musume
bryan
46
6.4k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
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