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.6k
はじまりのPerl
note103
0
2.2k
Other Decks in Programming
See All in Programming
なまけものオバケたち -PHP 8.4 に入った新機能の紹介-
tanakahisateru
1
120
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
DevFest Tokyo 2025 - Flutter のアプリアーキテクチャ現在地点
wasabeef
5
900
開発者とQAの越境で自動テストが増える開発プロセスを実現する
92thunder
1
180
これが俺の”自分戦略” プロセスを楽しんでいこう! - Developers CAREER Boost 2024
niftycorp
PRO
0
190
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
180
rails statsで大解剖 🔍 “B/43流” のRailsの育て方を歴史とともに振り返ります
shoheimitani
2
930
たのしいparse.y
ydah
3
120
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
260
nekko cloudにおけるProxmox VE利用事例
irumaru
3
420
Keeping it Ruby: Why Your Product Needs a Ruby SDK - RubyWorld 2024
envek
0
180
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
250
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
510
Agile that works and the tools we love
rasmusluckow
328
21k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
5
440
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Optimizing for Happiness
mojombo
376
70k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
The World Runs on Bad Software
bkeepers
PRO
65
11k
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