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.3k
Ruby の開発を支えるエコシステム
hsbt
4
2.1k
Why is building the Ruby environment hard?
hsbt
6
6.9k
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
KubeCon NA 2024 Recap / Running WebAssembly (Wasm) Workloads Side-by-Side with Container Workloads
z63d
1
250
マルチプロダクト開発の現場でAWS Security Hubを1年以上運用して得た教訓
muziyoshiz
3
2.3k
Microsoft Azure全冠になってみた ~アレを使い倒した者が試験を制す!?~/Obtained all Microsoft Azure certifications Those who use "that" to the full will win the exam! ?
yuj1osm
2
110
どちらを使う?GitHub or Azure DevOps Ver. 24H2
kkamegawa
0
810
podman_update_2024-12
orimanabu
1
270
Postman と API セキュリティ / Postman and API Security
yokawasa
0
200
10分で学ぶKubernetesコンテナセキュリティ/10min-k8s-container-sec
mochizuki875
3
350
MLOps の現場から
asei
6
650
PHPerのための計算量入門/Complexity101 for PHPer
hanhan1978
5
130
【re:Invent 2024 アプデ】 Prompt Routing の紹介
champ
0
140
GitHub Copilot のテクニック集/GitHub Copilot Techniques
rayuron
36
14k
TSKaigi 2024 の登壇から広がったコミュニティ活動について
tsukuha
0
160
Featured
See All Featured
Code Review Best Practice
trishagee
65
17k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
32
2.7k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Designing Experiences People Love
moore
138
23k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
2
290
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Docker and Python
trallard
42
3.1k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
66k
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 ͍͢͝ɺશһ͏͖ ͦͷଞ
• ಓ۩ͱਓؒΛߟ͑ͨͱ͖ʹɺਓؒͷ͍ํ͕ѱ͍ͱ͍͏ͷͰͳ͘ɺ͍ ʹ͍͘ಓ۩͕ѱ͍ͱ͍͏ࢥߟͰ͍͘ ◦ ͱݴͬͯϦςϥγʔͱ͔͑·͚͢ͲͶ... ◦ Ωʔϫʔυ: ମੑɺίϯϰΟϰΟΞϦςΟ • దʹࢥ͍ු͔ͨใͷஅย͔Β΄͍͠ͷΛશ෦ग़Δੈͷதʹͳͬͯ
΄͍͠ ◦ ೦͡Δ͚ͩͰṶ͔ΔαʔϏεͰ͖ͯ΄͍͠ ·ͱΊ