Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
体に馴染む開発環境 ~ghqはいいぞ~
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yudai Shinnoki
January 14, 2022
Programming
1.9k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
体に馴染む開発環境 ~ghqはいいぞ~
Yudai Shinnoki
January 14, 2022
More Decks by Yudai Shinnoki
See All by Yudai Shinnoki
AWS “““触って””” みた
shinnoki
0
150
組織戦略と GraphQL、Hasura
shinnoki
2
4.9k
Hasura とは何者か メリット・デメリット
shinnoki
10
3k
TypeScript と React Hooks と GraphQL のステキな関係性
shinnoki
2
520
リリース前に知りたいネイティブのあれこれ
shinnoki
0
1.6k
外部委託の立場から半ば強引にLaravelを導入した話
shinnoki
0
740
Other Decks in Programming
See All in Programming
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
2.3k
AI活用は、個人から組織へ|マルチプレイヤーエージェントハーネス「QM」の社内活用事例 / AI use is moving from individuals to orgs
rkaga
1
120
ゲームコントローラやキーボードのファームウェアをSwiftで書く
kishikawakatsumi
1
250
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
210
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
500
Intent as Code
shoppingjaws
6
1.1k
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
3
550
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
120
XHTMLが残したもの
yosuke_furukawa
PRO
2
830
新卒PdEのリアル
ryu1013
1
510
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
1
360
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
310
Featured
See All Featured
Navigating Weather and Climate Data
rabernat
0
520
Technical Leadership for Architectural Decision Making
baasie
3
570
Writing Fast Ruby
sferik
630
63k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
230
Building AI with AI
inesmontani
PRO
1
1.2k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Odyssey Design
rkendrick25
PRO
2
810
Into the Great Unknown - MozCon
thekraken
41
2.7k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
280
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
The Cult of Friendly URLs
andyhume
79
7k
Transcript
体に馴染む開発環境 ~ghqはいいぞ~ LT会 2022/01/13 shinnoki
よくありがちな悩み 2 ※ 適当に引用しただけで他意はないです
よくありがちな悩み 3 ※ 適当に引用しただけで他意はないです 適当なところ? どうしよう...
ghqの使い方 4 $ brew install ghq ghqのインストール リポジトリのクローン $ ghq
get -p <GitHubオーナー>/<GitHubリポジトリ名> ※ -p はsshでcloneするオプション ~/ghq/github.com/<GitHubオーナー>/<GitHubリポジトリ名> にcloneされる GitLabなどにも対応 https://github.com/x-motemen/ghq
peco と ghq を組み合わせる 5 https://github.com/peco/peco zshにpeco + ghqを導入したメモ -
Qiita https://qiita.com/ysk_1031/items/8cde9ce8b4d0870a129d $ brew install peco pecoのインストール zshやbashの設定に追加 (詳しくはQiitaの記事を参照)
peco と ghq を組み合わせる 6 Control + ] で ghq
でクローン済みのリポジトリが検索できる (キーマッピングは変更可)
ターミナルからVSCodeを開く 7 code コマンドを使えるようにする Command + Shift + P でコマンドパレットを開いて
shell と入力 $ code <ディレクトリ名> 指定のディレクトリを VSCodeで開く $ code . カレントディレクトリの場合
ターミナルからVSCodeを開く 8 ターミナルを開く (自分はAlfled、iTermを使っていますが普通に ターミナルを開いても OK) Control + ] でpecoを使いプロジェクトのディレ
クトリに移動 $ code . VSCodeを開く (すでに開いてたら前面に出してくれる) どの画面からでも一瞬でVSCodeが開けるよ!
喜ぶプログラムのキャラクター https://www.irasutoya.com/2017/10/blog-post_118.html
pecoってなに? 10 cool-peco 実は peco も ghq も日本人が作った 試したいから、作る。ghq、goreの作者motemenの開発は「自分本位」で駆動する -
エンジニ アHub|Webエンジニアのキャリアを考える! スター数4200超! 人気リポジトリ『peco』 開発者(@lestrrat)が語る「使われるOSS」の作り方 - エンジニア Hub|Webエンジニアのキャリアを考える! peco 自体は標準入力をフィルタリングするツール
ターミナルから色々開く 11 $ open . Finderでディレクトリを開く $ open ios/digichime.xcworkspace Xcodeでプロジェクトを開く(
openは関連づけられたアプリで開いてくれる) $ studio android Android Studioで開く(VSCodeと同様コマンドの登録が必要)
引用:HHKBの哲学 12 アメリカ西部のカウボーイたちは、馬が死ぬと馬はそこに残していくが、 どんなに砂漠を歩こうとも、鞍は自分で担いで往く。 馬は消耗品であり、鞍は自分の体に馴染んだインタフェースだからだ。 いまやパソコンは消耗品であり、キーボードは大切な、生涯使えるインタフェースである ことを忘れてはいけない。 東京大学 和田英一 名誉教授
HHKB HISTORY ~HHKBの軌跡~ | PFU https://happyhackingkb.com/jp/history/page3.html
まとめ 13 • 考えることは少なければ少ないほどよい! • 繰り返しやる日常作業ほど効率化の効果が高い • 自分の「体に馴染む」設定を見つけよう ◦ あれもこれもカスタマイズすればいいという訳ではないので厳選しよう
◦ デフォルトの設定を使い倒せる人が一番偉い • なかなか共有の機会はないので、ペアプロとかLT会で気になった事があれば 気軽に質問できるとよさそう
14