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
16
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
7k
OSS ことはじめ
hsbt
5
1.3k
GMO DevNight 05 在宅勤務開始から2ヶ月でやったこと
hsbt
2
500
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
Formal Development of Operating Systems in Rust
riru
1
420
Oracle Base Database Service:サービス概要のご紹介
oracle4engineer
PRO
1
16k
今から、 今だからこそ始める Terraform で Azure 管理 / Managing Azure with Terraform: The Perfect Time to Start
nnstt1
0
240
生成AI × 旅行 LLMを活用した旅行プラン生成・チャットボット
kominet_ava
0
160
AWSサービスアップデート 2024/12 Part3
nrinetcom
PRO
0
140
Cloudflareで実現する AIエージェント ワークフロー基盤
kmd09
0
290
Evolving Architecture
rainerhahnekamp
3
250
My small contributions - Fujiwara Tech Conference 2025
ijin
0
1.4k
Reactフレームワークプロダクトを モバイルアプリにして、もっと便利に。 ユーザに価値を届けよう。/React Framework with Capacitor
rdlabo
0
130
メールヘッダーを見てみよう
hinono
0
110
完全自律型AIエージェントとAgentic Workflow〜ワークフロー構築という現実解
pharma_x_tech
0
350
Bring Your Own Container: When Containers Turn the Key to EDR Bypass/byoc-avtokyo2024
tkmru
0
860
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
3
360
A better future with KSS
kneath
238
17k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
YesSQL, Process and Tooling at Scale
rocio
170
14k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
960
A designer walks into a library…
pauljervisheath
205
24k
Mobile First: as difficult as doing things right
swwweet
222
9k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
The Invisible Side of Design
smashingmag
299
50k
What's in a price? How to price your products and services
michaelherold
244
12k
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 ͍͢͝ɺશһ͏͖ ͦͷଞ
• ಓ۩ͱਓؒΛߟ͑ͨͱ͖ʹɺਓؒͷ͍ํ͕ѱ͍ͱ͍͏ͷͰͳ͘ɺ͍ ʹ͍͘ಓ۩͕ѱ͍ͱ͍͏ࢥߟͰ͍͘ ◦ ͱݴͬͯϦςϥγʔͱ͔͑·͚͢ͲͶ... ◦ Ωʔϫʔυ: ମੑɺίϯϰΟϰΟΞϦςΟ • దʹࢥ͍ු͔ͨใͷஅย͔Β΄͍͠ͷΛશ෦ग़Δੈͷதʹͳͬͯ
΄͍͠ ◦ ೦͡Δ͚ͩͰṶ͔ΔαʔϏεͰ͖ͯ΄͍͠ ·ͱΊ