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
開発環境へのこだわり
Search
SHIBATA Hiroshi
June 10, 2022
Technology
15
12k
開発環境へのこだわり
SHIBATA Hiroshi
June 10, 2022
Tweet
Share
More Decks by SHIBATA Hiroshi
See All by SHIBATA Hiroshi
How to make faster release cycle of Ruby?
hsbt
2
5.2k
Ruby の開発を支えるエコシステム
hsbt
4
2.1k
Why is building the Ruby environment hard?
hsbt
6
6.8k
OSS ことはじめ
hsbt
5
1.3k
GMO DevNight 05 在宅勤務開始から2ヶ月でやったこと
hsbt
2
480
Development Environment 2019
hsbt
1
310
How to become the Psychic
hsbt
0
1.9k
Software Development
hsbt
1
6.4k
Social Inclusion for Engineering Organization
hsbt
0
1k
Other Decks in Technology
See All in Technology
Engineer Career Talk
lycorp_recruit_jp
0
180
RubyのWebアプリケーションを50倍速くする方法 / How to Make a Ruby Web Application 50 Times Faster
hogelog
3
940
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
160
これまでの計測・開発・デプロイ方法全部見せます! / Findy ISUCON 2024-11-14
tohutohu
3
370
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
300k
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
28
13k
OCI Network Firewall 概要
oracle4engineer
PRO
0
4.2k
OCI Vault 概要
oracle4engineer
PRO
0
9.7k
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.8k
Terraform未経験の御様に対してどの ように導⼊を進めていったか
tkikuchi
2
450
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
500
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
180
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Site-Speed That Sticks
csswizardry
0
27
Git: the NoSQL Database
bkeepers
PRO
427
64k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
What's new in Ruby 2.0
geeforr
343
31k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Designing for humans not robots
tammielis
250
25k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Automating Front-end Workflow
addyosmani
1366
200k
Transcript
։ൃڥͷͩ͜ΘΓ @hsbt
ࡉ͔͗ͯ͢ΘΒͳ͍ @hsbt ͷ։ൃڥ(खݩͷϚγϯ)ͷΛ͠·͢ɻ @hsbt ͜ΕͰੜ࢈ੑ͋͛ͯΔͱ͍͏͚ͩͷͳͷͰɺͦΕͧΕʹ͋ͬͨ࠷ߴ ͷΓํ͍ͯͩ͘͠͞ɻ ࠓ͢͜ͱ
• macOS, Windows, Linux શ෦͏ͷͰ platform ʹϩοΫ͞ΕΔͷ Θͳ͍ ◦ macOS
(Windows) Ͱ͚ͩಈ͘ GUI ΞϓϦ ◦ homebrew, scoop, apt(dnf) ͰखʹೖΒͳ͍ίϚϯυ ◦ Go, Rust ͰγϡοͱϏϧυͰ͖ͳ͍ίϚϯυ جຊతͳߟ͑ํ
• هԱ(҉ه)͠ͳ͍ ◦ ਓؒͷهԱྗʹݶք͕͋ΔͷͰͦΕʹཔΒͳ͍ ◦ ಛతͳϫʔυ͚ͩͰಛఆͰ͖ΔΈΛ͏ • ੵۃతʹΞϯϥʔχϯά͢Δ ◦ https://rebuild.fm/169/
Λฉ͍ͯ΄͍͠ ◦ ίϯϐϡʔςΟϯάڥ͕·͙Δ͘͠มΘΔੈͷதͰݹ͍Γํ͕ ͍ͭ·Ͱ͍͍ͱࢥΘͳ͍ɻֵ৽ɻ جຊతͳߟ͑ํ
• ΧελϚΠζ͋·Γ͠ͳ͍ɺϓϥάΠϯ͋·ΓΘͳ͍ ◦ όουϊϋͱʮԞ͕ਂ͍ީ܈ʯ ΛಡΜͰ͍ͩ͘͞ ◦ ͦͦಓ۩ͦͷ··Ͱ͍͍͢ͷͰ͋Δ͖ ▪ Git ࠷ѱ!(͚ͩͲ͠ΐ͏͕ͳ͍ͷͰ͏)
• https://github.com/hsbt/hsbt/tree/master/toolbox/xdg/config/fish ͕શ෦ ◦ xdg ʹͱʹ͔͘دͤΔͨΊʹڥม͚ͩ͠ΐ͏͕ͳ͘ઃఆ͍ͯ͠Δ ◦ alias ͱ͔ઃఆͯ͠ fuzzy finder ͕༏लͳΒΘͳ͍... γΣϧ fish
• fzf, peco • zoxide, autojump, z ਓ͕ؒҰੜʹλΠϓͰ͖ΔΩʔͷʹݶք͕͋ΔͷͰগͳ͍Ͱ͍͍ײ͡ʹ ͢Δ fuzzy
finder Λ͍·͘Δ
• ϖύϘʹೖࣾͯ͠10ԹΊͨൿͷλϨ ◦ ೖ͔ࣾͨ͠Γͩͱཤྺ͕ͳ͍ͷͦΕͦ͏... • fish ͷཤྺ fuzzy find Ͱ͏
(fzf ֦ுͳͷ͔ built-in ͳͷ͔ௐ͍ͯͳ͍) • ϓϥοτϑΥʔϜΛލ͍Ͱ͍͍ײ͡ʹͰ͖ͳ͍ͷ͕ͩΔ͍ ◦ ಛʹ fish ಠࣗܗࣜͳͷ͕ͪΐͬͱ... ཤྺΛ͏
• find ΑΓ fd • grep ΑΓ ripgrep • sed
ΑΓ sd • cat ΑΓ bat • dig ΑΓ dog • man ΑΓ tealdeer(tldr ͷ࣮৭ʑ͋ΔͷͰ͖ͳͭ͏) ෳࡶͳΦϓγϣϯΛ֮͑Δͷ࣌ؒͷແବɺඞཁͳ࣌ʹௐΕྑ͍ Rust Ͱॻ͔Εͨ࣍ੈπʔϧ͍ɺ͍͍͢
Q. “Rust ͷπʔϧ͕αʔόʔʹΠϯετʔϧ͞Εͯͳ͍͜ͱ͋ΔΜͰ?” A. “ผʹ GNU πʔϧ࠷ϨϕϧͰ͑ΔΜͰͳ͍Ͱ͢” ͱݴ͍ΕΔ͘Β͍ʹ྆ํ͑ΔΑ͏ʹ͓ͯ͘͠ɻ Α͋͘Δ
• workspace Λ׆༻ ◦ “code -a .” Λ e ʹ
alias ◦ ؔ͋ΔϦϙδτϦશ෦ vscode ʹಥͬࠐΉ(-a Φϓγϣϯ) • vscode ͷىಈ “open ~/path/to/workspace.code-workspace” • ͋ͷϑΝΠϧͲ͚ͩͬ͜ͳʙͱ୳͕࣌ؒ͢ແବɺίϚϯυύϨοτͰ͙͢ ։͘ vscode
• ghq ͱ gem-src Λͬͯɺશ෦खݩʹ clone ◦ fzf Λͬͯଈ࠲ʹ։͘ •
google/codesearch Λͬͯେ·͔ͳݕࡧΛͰ͖ΔΑ͏ʹ͢Δ • ͋ΕͳΜ͔ݹ͘Ͷ?ͱ͍͏࣌ʹ git pull Λ͢Δͷ࣌ؒͷແବͳͷͰ ghq.root ͷԼΛҰؾʹΞοϓσʔτ͢ΔίϚϯυΛࣄલʹຖே࣮ߦ ◦ ͦͷ࣌ؒʹ feedly Ͱ֤ࣾͷςοΫϒϩάͱ͔ hackernews ͱ͔શ෦ಡΉ Git ͱ GitHub
• https://github.com/hsbt/hsbt/tree/master/toolbox/libexec ʹࡉ͔͍࣮ߦϓϩ άϥϜΛೖΕ͍ͯΔ • ͲΜͳʹখ͍͞ίʔυͰhttps://github.com/hsbt/hsbt/tree/master/ sandbox ʹ์ΓࠐΉ ◦ octokit
ͷॳظԽॲཧͳΜ͔ͩͬͨͳʔɺΛௐΔͷ࣌ؒͷແବɺ͜ ͔͜ΒऔΓग़͢ • GitHub copilot ͍͢͝ɺશһ͏͖ ͦͷଞ
• ಓ۩ͱਓؒΛߟ͑ͨͱ͖ʹɺਓؒͷ͍ํ͕ѱ͍ͱ͍͏ͷͰͳ͘ɺ͍ ʹ͍͘ಓ۩͕ѱ͍ͱ͍͏ࢥߟͰ͍͘ ◦ ͱݴͬͯϦςϥγʔͱ͔͑·͚͢ͲͶ... ◦ Ωʔϫʔυ: ମੑɺίϯϰΟϰΟΞϦςΟ • దʹࢥ͍ු͔ͨใͷஅย͔Β΄͍͠ͷΛશ෦ग़Δੈͷதʹͳͬͯ
΄͍͠ ◦ ೦͡Δ͚ͩͰṶ͔ΔαʔϏεͰ͖ͯ΄͍͠ ·ͱΊ