Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
The Non-Programmer's Programming Techniques
Search
Hiroaki Kadomatsu
March 03, 2018
Programming
3.2k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The Non-Programmer's Programming Techniques
ノンプログラマーのプログラミング活用法
Hiroaki Kadomatsu
March 03, 2018
Transcript
32 slides
ϊϯϓϩάϥϚʔͷ ϓϩάϥϛϯά׆༻๏ 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
More Decks by Hiroaki Kadomatsu
See All by Hiroaki Kadomatsu
自走するプログラミング入門者の探し方
note103
4
6.1k
はじまりのPerl
note103
0
2.6k
Other Decks in Programming
See All in Programming
ruby/uri meets WHATWG
jinroq
0
180
Crash Auto Pipelines
veronikapj
1
460
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
250
R言語プログラミング
profjoesuzuki
0
130
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
1
650
Compiling Your Language to WasmGC & Friends
tanishiking
0
780
エラーチャンネルのボールを拾い続けて鍛えるエンジニアの地力 / phpcon-niigata2026
meihei3
1
520
Beyond Chatbots: Agentic UI with Open Standards @W-JAX 2026, München
manfredsteyer
PRO
0
130
Skills Are the New npm [AAIF Bengaluru, Nov 2026]
shivamsaraswat
0
140
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
200
はじめてのPLATEAU
nokonoko1203
1
680
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
620
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
500
Automating Front-end Workflow
addyosmani
1370
210k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.9k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
700
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
How to Think Like a Performance Engineer
csswizardry
28
3k
So, you think you're a good person
axbom
PRO
2
2.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M