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
アップデート紹介:AWS Data Transfer Terminal
stknohg
PRO
0
170
CustomCopを使ってMongoidのコーディングルールを整えてみた
jinoketani
0
220
1等無人航空機操縦士一発試験 合格までの道のり ドローンミートアップ@大阪 2024/12/18
excdinc
0
150
WACATE2024冬セッション資料(ユーザビリティ)
scarletplover
0
190
なぜCodeceptJSを選んだか
goataka
0
150
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
180
どちらを使う?GitHub or Azure DevOps Ver. 24H2
kkamegawa
0
610
マルチプロダクト開発の現場でAWS Security Hubを1年以上運用して得た教訓
muziyoshiz
2
2.1k
10分で学ぶKubernetesコンテナセキュリティ/10min-k8s-container-sec
mochizuki875
3
320
祝!Iceberg祭開幕!re:Invent 2024データレイク関連アップデート10分総ざらい
kniino
2
230
re:Invent をおうちで楽しんでみた ~CloudWatch のオブザーバビリティ機能がスゴい!/ Enjoyed AWS re:Invent from Home and CloudWatch Observability Feature is Amazing!
yuj1osm
0
120
非機能品質を作り込むための実践アーキテクチャ
knih
2
630
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Side Projects
sachag
452
42k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
Building Adaptive Systems
keathley
38
2.3k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
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 ͍͢͝ɺશһ͏͖ ͦͷଞ
• ಓ۩ͱਓؒΛߟ͑ͨͱ͖ʹɺਓؒͷ͍ํ͕ѱ͍ͱ͍͏ͷͰͳ͘ɺ͍ ʹ͍͘ಓ۩͕ѱ͍ͱ͍͏ࢥߟͰ͍͘ ◦ ͱݴͬͯϦςϥγʔͱ͔͑·͚͢ͲͶ... ◦ Ωʔϫʔυ: ମੑɺίϯϰΟϰΟΞϦςΟ • దʹࢥ͍ු͔ͨใͷஅย͔Β΄͍͠ͷΛશ෦ग़Δੈͷதʹͳͬͯ
΄͍͠ ◦ ೦͡Δ͚ͩͰṶ͔ΔαʔϏεͰ͖ͯ΄͍͠ ·ͱΊ