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
The Non-Programmer's Programming Techniques
Search
Hiroaki Kadomatsu
March 03, 2018
Programming
1
2.9k
The Non-Programmer's Programming Techniques
ノンプログラマーのプログラミング活用法
Hiroaki Kadomatsu
March 03, 2018
Tweet
Share
More Decks by Hiroaki Kadomatsu
See All by Hiroaki Kadomatsu
自走するプログラミング入門者の探し方
note103
4
5.5k
はじまりのPerl
note103
0
2.2k
Other Decks in Programming
See All in Programming
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
1k
Macとオーディオ再生 2024/11/02
yusukeito
0
370
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
RubyLSPのマルチバイト文字対応
notfounds
0
120
CSC509 Lecture 11
javiergs
PRO
0
180
リアーキテクチャxDDD 1年間の取り組みと進化
hsawaji
1
220
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
350
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
120
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
240
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
480
as(型アサーション)を書く前にできること
marokanatani
10
2.7k
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
45
6.8k
GitHub's CSS Performance
jonrohan
1030
460k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
YesSQL, Process and Tooling at Scale
rocio
169
14k
Navigating Team Friction
lara
183
14k
Raft: Consensus for Rubyists
vanstee
136
6.6k
We Have a Design System, Now What?
morganepeng
50
7.2k
Side Projects
sachag
452
42k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Facilitating Awesome Meetings
lara
50
6.1k
Code Reviewing Like a Champion
maltzj
520
39k
A designer walks into a library…
pauljervisheath
204
24k
Transcript
ϊϯϓϩάϥϚʔͷ ϓϩάϥϛϯά׆༻๏ The Non-Programmer's Programming Techniques দ໌ / @note103
࣍ 1. ࣗݾհ / ൃදझࢫ 2. ׆༻ࣄྫ 1. Vim 2.
Shell 3. Perl 4. Excel 3. ;ΓฦΓ / ·ͱΊ 2
ࣗݾհ • দ໌ / @note103 • 1975ʙ • ฤूऀ •
commmons: schola ʢίϞϯζɾείϥʣ • ࡔຊཾҰमʹΑΔԻָશूʢ2008ʙʣ 3
commmons: schola • CDϒοΫͷԻָશू • ࡔຊཾҰ͕ݹࠓ౦ͷ Իָ͔Β໊ԋΛݫબ͠ CDऩ • ଐϒοΫϨοτP120
• ࠲ஊձ • ղઆจ • ද etc. 4
<PR>৽ץใ</PR> commmons: schola • 2018/03/21 ୈ17ר ൃച!! • ςʔϚϩϚϯԻָ •
γϣύϯɺγϡʔϚϯɺ ϫʔάφʔɺϒϥʔϜεɺ ϑΥʔϨɺϚʔϥʔ etc. 5
ϓϩάϥϛϯάೖ • 20138݄: Perlೖֶࣜ in౦ژ • ʮྻ/ϋογϡ/ϦϑΝϨϯεʯߨ࠲ʹࢀՃ • 20139݄: YAPC::Asia
Tokyo 2013 • Perlೖֶࣜ@YAPCʹग़੮͢ΔͨΊॳࢀՃ 6
ຊͷझࢫ
झࢫ 1. ϓϩάϥϛϯάͷٕज़ʹϊϯϓϩά ϥϚʔͷʹཱͭͷ͕ͨ͘͞Μ͋Δ 2. ᷿ͷٕज़ใͷେϓϩάϥϚʔൃ 3. ϊϯϓϩάϥϚʔʹΑΔϊϯϓϩάϥ ϚʔͷͨΊͷٕज़ใΛ۩ମతͳࣄྫ ͱͱʹ͓ಧ͚͠·͢ʂ
8
׆༻ࣄྫ 1. Vim 2. Shell 3. Perl 4. Excel 9
Vim
Vim 1. IDE෩ڥ 2. diffػೳ 11
Vim • IDE෩ڥ 1. ը໘ׂ 2. Plugins 1. vimfiler 2.
tagbar 3. easymotion • DEMO 12
Vim ࢀߟࢿྉ: • Software Design 20151݄߸ • ࣮༻Tipsˍରࡦ ʦϓϩάϥϚฤʧ by
@mattn 13
Vim • diff/ࠩػೳ 1. ը໘Λׂ 2. ରσʔλΛஔ 3. :windo diffthis
• DEMO 14
Vim • ເͷΑ͏ͳฤूˍࣥචڥ!! • ͳͥϓϩάϥϚʔ͚͕ͩͬͯΔͷ͔ʁ • Atom, ͦͷଞIDEͰ͍͍͔ 15
Shell
Shell • Perlͱ.bashrcΛΈ߹Θͤͯ 1. σΟϨΫτϦҠಈ 2. ϑΝΠϧݕࡧ 3. จࣈྻݕࡧ •
DEMO 17
Shell • .bashrc͔ΒPerlεΫϦϓτΛݺͼग़͠ • γΣϧεΫϦϓτͰॻ͘ͷ͕ͭΒ͔ͬͨ • PerlͰॻ͍ͨΒ͙͢ग़དྷͨ 18
Shell • Finder͡Όμϝͳͷʁ ➔ ർΕΔ • ੩తUIʹࣗͷࢹઢΛಈ͔͢ʢಡॻతʣ • λʔϛφϧૢ࡞ϥΫ •
ಈతUIʹࣗͷࢹઢݻఆʢTV/ωοτతʣ • ϗʔϜϙδγϣϯҡ࣋Ͱ͖Δ 19
Perl
Perl • ςΩετมثͱͯ͠ར༻ 1. __DATA__ ҎԼʹૉࡐσʔλΛೖΕΔ 2. forจͰ্͔ΒԼҰؾʹྲྀ͢ 3. ifจͱਖ਼نදݱͰཉ͍͠ใΛநग़
21
Perl • දσʔλΛҰׅม 1. มલσʔλʢอ༻ʣ 2. มޙσʔλʢຊ൪σβΠϯ༻ʣ 22
Perl • දσʔλΛҰׅม • DEMO 23
Perl • ͦͷଞͷࣗ࡞πʔϧ 1. ऍϚʔΫ(*)Λ͚ͨ୯ޠΛநग़ • Mecab, Text::ShirasuΛ༻ 2. େྔͷՕॻ͖͔ΒॏෳߦΛ(நग़|আ)
3. ϑΝΠϧ໊ͷҰ෦Λมߋͯ͠(ίϐʔ|ϦωʔϜ) 24
Excel
Excel • ࡞ۀهγʔτͷߋ৽ • DEMO 26
Excel • ࣌ࠁΛͻͱͭଧͪࠐΊ ͋ͱExcel͕શ෦ຒΊͯ͘ΕΔ 1. লྗԽɾ࣌ؒઅ 2. σʔλͷਫ਼্͕͕Δ 27
Excel • Ԡ༻ฤ 28 ೖߘ·Ͱͷ (49) ࠓճͷೖߘ49લͷ࡞ۀ࣌ؒ(8.55h) લճͷೖߘ49લͷ࡞ۀ࣌ؒ(2.40h) ࠩ=ࠓճ-લճ ඪ࡞ۀ࣌ؒ(ඪ४/࣮ࡍ)
;ΓฦΓ
;ΓฦΓ • Α͘Α͘ߟ͑Δͱ… • ϓϩάϥϛϯάΛࣄʹ׆͔ͦ͏ͱࢥͬ ͨ͜ͱͳ͍ • ͍Ζ͍Ζศརʹͳ͔ͬͯΒʮࠓ·Ͱෆ ศͩͬͨ…ʯͱؾͮ͘ 30
;ΓฦΓ • ͱͱݴ͑… • ʮϓϩάϥϛϯάͰ͖ͨΒΧοίΠΠ ͳʙʯͱࢥ͍͚ͬͯͨͩ • ৗతʹϓϩάϥϛϯά͢ΔͨΊʹ ڧҾʹࣄʹऔΓࠐΜͩ 31
·ͱΊ ϊϯϓϩάϥϚʔͷϓϩάϥϛϯά׆༻ྫ 1. ୯७࡞ۀ͕ݮͬͨ ➔ PerlͰද࡞, ExcelͰ࡞ۀϩά 2. ࣗઐ༻ͷࣄಓ۩Λ࡞Εͨ
➔ VimͰIDE, diff ➔ Shell&PerlͰσΟϨΫτϦҠಈetc. 3. ָ͠Έ͕૿͑ͨ 32