The Non-Programmer's Programming Techniques
by
Hiroaki Kadomatsu
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
ϊϯϓϩάϥϚʔͷ ϓϩάϥϛϯά׆༻๏ The Non-Programmer's Programming Techniques দ໌ / @note103
Slide 2
Slide 2 text
࣍ 1. ࣗݾհ / ൃදझࢫ 2. ׆༻ࣄྫ 1. Vim 2. Shell 3. Perl 4. Excel 3. ;ΓฦΓ / ·ͱΊ 2
Slide 3
Slide 3 text
ࣗݾհ • দ໌ / @note103 • 1975ʙ • ฤूऀ • commmons: schola ʢίϞϯζɾείϥʣ • ࡔຊཾҰमʹΑΔԻָશूʢ2008ʙʣ 3
Slide 4
Slide 4 text
commmons: schola • CDϒοΫͷԻָશू • ࡔຊཾҰ͕ݹࠓ౦ͷ Իָ͔Β໊ԋΛݫબ͠ CDऩ • ଐϒοΫϨοτP120 • ࠲ஊձ • ղઆจ • ද etc. 4
Slide 5
Slide 5 text
৽ץใ commmons: schola • 2018/03/21 ୈ17ר ൃച!! • ςʔϚϩϚϯԻָ • γϣύϯɺγϡʔϚϯɺ ϫʔάφʔɺϒϥʔϜεɺ ϑΥʔϨɺϚʔϥʔ etc. 5
Slide 6
Slide 6 text
ϓϩάϥϛϯάೖ • 20138݄: Perlೖֶࣜ in౦ژ • ʮྻ/ϋογϡ/ϦϑΝϨϯεʯߨ࠲ʹࢀՃ • 20139݄: YAPC::Asia Tokyo 2013 • Perlೖֶࣜ@YAPCʹग़੮͢ΔͨΊॳࢀՃ 6
Slide 7
Slide 7 text
ຊͷझࢫ
Slide 8
Slide 8 text
झࢫ 1. ϓϩάϥϛϯάͷٕज़ʹϊϯϓϩά ϥϚʔͷʹཱͭͷ͕ͨ͘͞Μ͋Δ 2. ᷿ͷٕज़ใͷେϓϩάϥϚʔൃ 3. ϊϯϓϩάϥϚʔʹΑΔϊϯϓϩάϥ ϚʔͷͨΊͷٕज़ใΛ۩ମతͳࣄྫ ͱͱʹ͓ಧ͚͠·͢ʂ 8
Slide 9
Slide 9 text
׆༻ࣄྫ 1. Vim 2. Shell 3. Perl 4. Excel 9
Slide 10
Slide 10 text
Vim
Slide 11
Slide 11 text
Vim 1. IDE෩ڥ 2. diffػೳ 11
Slide 12
Slide 12 text
Vim • IDE෩ڥ 1. ը໘ׂ 2. Plugins 1. vimfiler 2. tagbar 3. easymotion • DEMO 12
Slide 13
Slide 13 text
Vim ࢀߟࢿྉ: • Software Design 20151݄߸ • ࣮༻Tipsˍରࡦ ʦϓϩάϥϚฤʧ by @mattn 13
Slide 14
Slide 14 text
Vim • diff/ࠩػೳ 1. ը໘Λׂ 2. ରσʔλΛஔ 3. :windo diffthis • DEMO 14
Slide 15
Slide 15 text
Vim • ເͷΑ͏ͳฤूˍࣥචڥ!! • ͳͥϓϩάϥϚʔ͚͕ͩͬͯΔͷ͔ʁ • Atom, ͦͷଞIDEͰ͍͍͔ 15
Slide 16
Slide 16 text
Shell
Slide 17
Slide 17 text
Shell • Perlͱ.bashrcΛΈ߹Θͤͯ 1. σΟϨΫτϦҠಈ 2. ϑΝΠϧݕࡧ 3. จࣈྻݕࡧ • DEMO 17
Slide 18
Slide 18 text
Shell • .bashrc͔ΒPerlεΫϦϓτΛݺͼग़͠ • γΣϧεΫϦϓτͰॻ͘ͷ͕ͭΒ͔ͬͨ • PerlͰॻ͍ͨΒ͙͢ग़དྷͨ 18
Slide 19
Slide 19 text
Shell • Finder͡Όμϝͳͷʁ ➔ ർΕΔ • ੩తUIʹࣗͷࢹઢΛಈ͔͢ʢಡॻతʣ • λʔϛφϧૢ࡞ϥΫ • ಈతUIʹࣗͷࢹઢݻఆʢTV/ωοτతʣ • ϗʔϜϙδγϣϯҡ࣋Ͱ͖Δ 19
Slide 20
Slide 20 text
Perl
Slide 21
Slide 21 text
Perl • ςΩετมثͱͯ͠ར༻ 1. __DATA__ ҎԼʹૉࡐσʔλΛೖΕΔ 2. forจͰ্͔ΒԼҰؾʹྲྀ͢ 3. ifจͱਖ਼نදݱͰཉ͍͠ใΛநग़ 21
Slide 22
Slide 22 text
Perl • දσʔλΛҰׅม 1. มલσʔλʢอ༻ʣ 2. มޙσʔλʢຊ൪σβΠϯ༻ʣ 22
Slide 23
Slide 23 text
Perl • දσʔλΛҰׅม • DEMO 23
Slide 24
Slide 24 text
Perl • ͦͷଞͷࣗ࡞πʔϧ 1. ऍϚʔΫ(*)Λ͚ͨ୯ޠΛநग़ • Mecab, Text::ShirasuΛ༻ 2. େྔͷՕॻ͖͔ΒॏෳߦΛ(நग़|আ) 3. ϑΝΠϧ໊ͷҰ෦Λมߋͯ͠(ίϐʔ|ϦωʔϜ) 24
Slide 25
Slide 25 text
Excel
Slide 26
Slide 26 text
Excel • ࡞ۀهγʔτͷߋ৽ • DEMO 26
Slide 27
Slide 27 text
Excel • ࣌ࠁΛͻͱͭଧͪࠐΊ ͋ͱExcel͕શ෦ຒΊͯ͘ΕΔ 1. লྗԽɾ࣌ؒઅ 2. σʔλͷਫ਼্͕͕Δ 27
Slide 28
Slide 28 text
Excel • Ԡ༻ฤ 28 ೖߘ·Ͱͷ (49) ࠓճͷೖߘ49લͷ࡞ۀ࣌ؒ(8.55h) લճͷೖߘ49લͷ࡞ۀ࣌ؒ(2.40h) ࠩ=ࠓճ-લճ ඪ࡞ۀ࣌ؒ(ඪ४/࣮ࡍ)
Slide 29
Slide 29 text
;ΓฦΓ
Slide 30
Slide 30 text
;ΓฦΓ • Α͘Α͘ߟ͑Δͱ… • ϓϩάϥϛϯάΛࣄʹ׆͔ͦ͏ͱࢥͬ ͨ͜ͱͳ͍ • ͍Ζ͍Ζศརʹͳ͔ͬͯΒʮࠓ·Ͱෆ ศͩͬͨ…ʯͱؾͮ͘ 30
Slide 31
Slide 31 text
;ΓฦΓ • ͱͱݴ͑… • ʮϓϩάϥϛϯάͰ͖ͨΒΧοίΠΠ ͳʙʯͱࢥ͍͚ͬͯͨͩ • ৗతʹϓϩάϥϛϯά͢ΔͨΊʹ ڧҾʹࣄʹऔΓࠐΜͩ 31
Slide 32
Slide 32 text
·ͱΊ ϊϯϓϩάϥϚʔͷϓϩάϥϛϯά׆༻ྫ 1. ୯७࡞ۀ͕ݮͬͨ ➔ PerlͰද࡞, ExcelͰ࡞ۀϩά 2. ࣗઐ༻ͷࣄಓ۩Λ࡞Εͨ ➔ VimͰIDE, diff ➔ Shell&PerlͰσΟϨΫτϦҠಈetc. 3. ָ͠Έ͕૿͑ͨ 32