Upgrade to Pro — share decks privately, control downloads, hide ads and more …

五反田rb_35.pdf

 五反田rb_35.pdf

2019年3月20日に開催された五反田.rb #35の登壇資料です!
「ディレクトリ/ファイルをどうやって切っていますか?」

A92d05c5da067dc28a32527430f762ca?s=128

WalkerSumida

March 20, 2019
Tweet

Transcript

  1. σΟϨΫτϦϑΝΠϧΛ Ͳ͏΍ͬͯ੾͍ͬͯ·͔͢ʁ גࣜձࣾϚπϦΧ/PUJBࣄۀ੹೚ऀ "ZVNV4VNJEB

  2. גࣜձࣾ ϚπϦΧ 4FOTFT 4'"$3.  /PUJB &NBJM5SBDLJOH  3VCZΤϯδχΞ ઈࢍืूதͰ͢ʂ

  3. ͔ͬ͜Αͯ͘DPPMͳ ࿩Ҏ֎΋͍ͨ͠

  4. ओ࠵ऀ͕ஏΛ͔͔ͳ͍ ͰͲ͏͢Δ

  5. օ͞Μ͕Α͘࿩͍ͯΔ 4FSWJDFΫϥε͋Γ·͢ΑͶʁ

  6. ஏ͔͍͚ͣ͠Ͳɺ/PUJB͸ 4FSWJDFͰ͸ͳ͘-PHJDΫϥε Ͱ΍ͬͯ·ͨ͠ɻ

  7. w BQQMPHJD഑ԼʹҰൠతʹݴ ΘΕ͍ͯΔ4FSWJDF͕ೖ͍ͬͯ ·͢ɻ w TMBDL@XFCIPPLSC/PUJB͸ 4MBDL࿈ܞͰॏཁͳ௨஌Λ 4MBDLʹ௨஌͢Δػೳ͕͋Γ ·͢ɻͦͷॲཧΛ୲͍ͬͯΔ Ϋϥε

    -PHJDΫϥεͷৄࡉ
  8. w ௨஌ͷछྨ͕ଟ਺͋Δ w ϝʔϧ։෧௨஌ w ϑΝΠϧ։෧௨஌ w FUD -PHJDΫϥεͷৄࡉ

  9. w ͲΜͲΜϝιου͕૿͑ϑΝΠϧ ͷߦ਺͕૿͑ΔҰํ -PHJDΫϥεͷৄࡉ

  10. MPHJDTFSWJDF

  11. MPHJDTFSWJDF

  12. (JU-BC.BTUPEPOΛࢀߟ ʹ4FSWJDFΛॻ͍ͯΈͨ

  13. w \ಈࢺ^\໨తޠ^4FSWJDFͱ͍͏໋໊ن ଇ͕جຊ w ػೳʹΑͬͯOBNBTQBDF͕੾ΒΕ͍ͯ Δ w جຊతʹ4FSWJDFΫϥεͷQVCMJDNFUIPE ͸FYFDVUFͷΈ w

    ϨίʔυΦϒδΣΫτΛૢ࡞͢ΔλΠ ϓͷ4FSWJDF͸ϨίʔυΦϒδΣΫτΛ ͦͷ··ฦ͍ͯ͠Δ͜ͱ͕ଟ͍ w ࢀߟIUUQ FVHMFOBIBUFOBCMPHKQFOUSZ  (JU-BCͷ4FSWJDFϧʔϧ
  14. w \ಈࢺ^\໨తޠ^4FSWJDFͱ͍͏໋ ໊نଇ w جຊతʹ4FSWJDFΫϥεͷQVCMJD NFUIPE͸DBMMͷΈ w ศརπʔϧ܈͸MJCʹ͋ͬͨ w ࢀߟIUUQ

    FVHMFOBIBUFOBCMPHKQ FOUSZ .BTUPEPOͷ4FSWJDFϧʔϧ
  15. w QVCMJDNFUIPE͕DBMM͚ͩʹͳͬͨ ͷͰݟ΍͍͢ FYFDVUF͸௕͍ͷͰ DBMMΛ࠾༻  w ࠓޙ௨஌ͷछྨ͕૿͑ͯ΋ංେԽ ͠ͳ͍ ͜Μͳײ͡ʹͳͬͨ

  16. ͜ΕͰ΋௨஌ͷछྨͳͷͰɺ ͲͪΒ͔ͱݴ͏ͱϢʔεέʔ ε͡Όͳ͍ʁ

  17. w 4FSWJDF࠶ར༻ՄೳͳΫϥε ௨஌ ͷྫͰ͍͏ͱʮ௨஌͢Δʯͱ͍͏ ॲཧͷ෦෼  w 6TF$BTF࠶ར༻ෆՄೳͳΫϥε ௨ ஌ͷྫͰ͍͏ͱʮϝʔϧ͕։෧͞

    Εͨ͜ͱΛ௨஌͢Δʯͱ͍͏ॲཧ ͷ෦෼ 4FSWJDF 6TF$BTF
  18. w 4FSWJDF࠶ར༻ՄೳͳΫϥε ௨஌ ͷྫͰ͍͏ͱʮ௨஌͢Δʯͱ͍͏ ॲཧͷ෦෼  w 6TF$BTF࠶ར༻ෆՄೳͳΫϥε ௨ ஌ͷྫͰ͍͏ͱʮϝʔϧ͕։෧͞

    Εͨ͜ͱΛ௨஌͢Δʯͱ͍͏ॲཧ ͷ෦෼ ॻ͖׵͑ͯΈͨ
  19. Ͱ΋଴ͯΑʁϢʔεέʔεͬ ͯओମ͕γεςϜͰ͸ͳͯ͘ ΤϯυϢʔβ͡Όͳ͍ʁ

  20. ௨஌͢Δͷ͸γεςϜ͕ओମͷॲཧɻ ΤϯυϢʔβ͕ߦͬͨϢʔεέʔε͸ ʮϝʔϧϑΝΠϧΛ։͘ʯͱ͍͏͜ͱ

  21. w ͳͥΤϯυϢʔβࢹ఺ͷϢʔεέʔ εʹͨ͠ͷ͔ʁ w ʮϝʔϧΛ։͘ʯͱ͍͏Ϣʔε έʔεͰ࣮ߦ͢Δॲཧ͸ɺ௨஌ ͢ΔҎ֎ʹ΋৭ʑ͋ͬͨͨΊ w ʮϝʔϧΛ։͘ʯ w

    ʮϝʔϧ͕։෧͞Εͨ͜ͱΛ ௨஌͢Δʯ w ʮ։෧਺ΛΧ΢ϯτ͢Δʯ ͞Βʹॻ͖׵͑Δ
  22. w 6TF$BTF w ΤϯυϢʔβ͔ΒݟͨΦϖϨʔγϣϯ໊ʹ͢Δɻ w \ಈࢺ^\໨తޠ^ͱ͍͏໋໊نଇ w Ϣʔεέʔε͸৔໘͕શͯҧ͏͸ͣͳͷͰ࠶ར༻͞Εͳ͍ɻ w 4FSWJDF

    w γεςϜ͔Βݟͨॲཧ໊ʹ͢Δɻ w \ಈࢺ^\໨తޠ^4FSWJDFͱ͍͏໋໊نଇ w ࠶ར༻͞ΕΔॲཧΛॻ͍ͨΓɺෳࡶͳॲཧΛ੾Γग़ͨ͠ॲཧΛॻ͘ɻ w ڞ௨ w جຊతʹQVCMJDNFUIPE͸DBMMͷΈ ࠷ऴఆٛ
  23. ϥΠϒϥϦ BXTTELHFN ͷ ϥούʔ͸Ͳ͜ʹ͔͔͘ MJC

  24. ࠓճ͸൚༻ੑ͕ߴ͍ͷ Ͱ

  25. HFNʹ੾Γग़ͨ͠

  26. ͪΐͬͱDPPMͳ࿩͠͠ ͯ͝ΊΜͳ͍͞

  27. w ͳͥ࡞͔ͬͨ w BXTTELHFNͦͷ··࢖͏ͱIBTIܗ ࣜͰύϥϝʔλΛେྔʹΘͨ͢ͷͰɺ ϝιουνΣʔϯͰ౉ͤΔΑ͏ʹ͠ ͔ͨͬͨͨΊ w %ZOBNPJEHFN͕͋Δ͕ݕࡧܥ͕ऑ ͗ͯ͢ɺཉ͍͠৘ใ͕औಘͰ͖ͳ͔ͬ

    ͨ w ࡞ͬͯͲ͏ʁ w HFNΛ։ൃ͢Δͷ͸ҙ֎ͱ؆୯ w ՋͭͿ͠ʹͳΔͷͰ͍͍ EZOBNPECBQJHFN ˒͍͚ͨͩΔͱϞνϕʔγϣϯ্͕ΔͷͰ ΑΖ͓͘͠ئ͍͠·͢ʂ IUUQTHJUIVCDPNXBMLFSTVNJEBEZOBNPECBQJ
  28. HFN੾Γग़͠ͱ͍͏ खஈ΋͋Γ·͢

  29. ͝ਗ਼ௌ͋Γ͕ͱ͏͟͝ ͍·ͨ͠