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
monotips #3 - fzfる
Search
Ryotaro Tamura
April 15, 2018
Programming
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
monotips #3 - fzfる
社内LTの資料 monotips #3
Ryotaro Tamura
April 15, 2018
More Decks by Ryotaro Tamura
See All by Ryotaro Tamura
BlockNoteとDuckDB-WASMでつくる、ブラウザ内データ分析環境の設計
tokibi
0
150
Prometheus setup with long term storage
tokibi
7
6.1k
nanafshiを使って簡単に作るFUSEの動的ファイル
tokibi
0
620
IAMロールはどこから来て、どこへ行くのか / Where do IAM rolls come from and where to go?
tokibi
2
2.7k
Other Decks in Programming
See All in Programming
AHC070解法紹介
eijirou
0
110
個人開発基盤をまるごとCloudflareに引っ越して爆速で総合的体験を向上させた話
tinykitten
0
170
業務時間外もAIに働いてもらう話
colorful12
3
10k
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
190
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
1
260
AIを上手に使っていこうとしたら越境せざるを得なくなった話 〜実践1年で見えた境界を越えなければならない理由と進め方〜 / Crossing borders with AI
tomoyakitaura
4
1.1k
テストを司るデーモンに会いに行く 〜隔離した仮想マシンでテストを通すまで〜
h1d3mun3
1
210
新卒PdEのリアル
ryu1013
1
490
WebMCP Challenge に星空観察アプリで参加した話
okajun35
0
150
Building an Out-of-Order CPU
latte72
1
760
XHTMLが残したもの
yosuke_furukawa
PRO
2
710
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
370
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
How to make the Groovebox
asonas
2
2.4k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Faster Mobile Websites
deanohume
310
32k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.8k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
310
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
280
Paper Plane (Part 1)
katiecoart
PRO
1
11k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
370
Transcript
G[GΔ NPOPUJQT 3ZPUBSP5BNVSB
ݩωλ IUUQTRJJUBDPNUNTBOSJOTIBJUFNTDFCBCDEF
G[G IUUQTHJUIVCDPNKVOFHVOOG[G
جຊతͳ͍ํ ‣ ඪ४ೖྗΛ͢ͱରܕͷ6*ʹදࣔͯ͘͠ΕΔ ‣ ΫΤϦΛೖྗ͢ΔͱϚον͢ΔߦͰߜΓࠐΈ ‣ VQ EPXOΩʔͰબߦΛҠಈ ‣ FOUFSͰબߦͷจࣈྻΛग़ྗ͢Δ
ඪ४ೖྗ G[G ରܕ6* ඪ४ग़ྗ
࣮ߦྫ MTMͷ݁ՌΛG[Gʹ͢ ͍͋·͍ݕࡧͰߜΓࠐΉ FOUFSͰग़ྗ
͍ํհ ‣ ެࣜͷXJLJʹେྔͷαϯϓϧ͕͋Δɻ ‣ IUUQTHJUIVCDPNKVOFHVOOG[GXJLJ ‣ ͜ΕݟΕେମͳΜͰͰ͖Δͣ ‣ XJLJͷҰ෦ͱɺࣗ࡞ͷؔΛհ ‣
σϞϝΠϯͰ͢ ‣ ͜ͷઌͷεϥΠυओʹޙ͔ΒݟΔਓ༻
લఏ ‣ NBD04ͷ߹ʹඞཁͳͷ ‣ CBTIY ‣ 3&"%-*/&@-*/& 3&"%-*/&@10*/5͕Yͩͱ͑ͳ͍ ‣ CSFXͳͲͰΠϯετʔϧ
‣ [TIͱ͔Ͱ0, ଟ#6''&3 $63403 ‣ G[Gͷجຊઃఆ ‣ IFJHIUG[Gͷը໘αΠζΛมߋ σϑΥϧτશը໘ ‣ SFWFSTFΫΤϦͷೖྗཝΛը໘্෦ʹมߋ ‣ CPSEFSG[Gͷը໘ͱλʔϛφϧͷڥքʹϘʔμʔදࣔ brew install bash echo '/usr/local/bin/bash' | sudo tee -a /etc/shells chsh -s /usr/local/bin/bash export FZF_DEFAULT_OPTS='--height 40% --reverse --border'
G[GͰ֊Λඈͯ͠DE function fd() { local dir=$(find ${1:-.} -maxdepth ${2:-10} -type
d | sed 's/^\.\///' | # 相対パスの "./" を除去 grep -v "\/\." | # 隠しディレクトリ除外 grep -v "^\." | # 隠しディレクトリ除外 fzf —no-multi) cd "$dir" }
HJUͷϒϥϯνΓସ͑ function fbr() { local branches branch branches=$(git branch -vv)
&& branch=$(echo "$branches" | fzf --no-multi) && git checkout $(echo "$branch" | awk '{print $1}' | sed "s/.* //") }
IJTUPSZΛG[GͰݕࡧ function fzf-select-history() { READLINE_LINE=$(HISTTIMEFORMAT= history | tac | gsed
-e 's/^\s*[0-9]\+\s\+//' | # 履歴番号を除去 awk '!a[$0]++' | # 重複を除外 fzf --no-sort) READLINE_POINT=${#READLINE_LINE} } bind -x '"\C-r": fzf-select-history’ # Ctrl+rでfunctionを呼び出し ‣ 3&"%-*/&@-*/& ‣ CBTIͷSFBEMJOFͷόοϑΝʹࢦఆจࣈΛೖྗ͢Δ ‣ ࣍ͷೖྗड͕࢝·ͬͨ࣌ʹطʹೖྗ͞Εͨঢ়ଶʹͳΔ ‣ 3&"%-*/&@10*/5 ‣ ΧʔιϧͷҐஔΛࢦఆ ‣ 3&"%-*/&@-*/&ͷจࣈΛࢦఆͯ͠ɺΧʔιϧΛඌʹҠಈ
BDLͱG[GͰίʔυݕࡧ function fck() { local out query file line while
out=$(ack "$@" . | fzf --no-height -e --no-sort \ --query=“$query” —print-query); do query=$(head -1 <<< "$out") file=$(sed '1d' <<< "$out" | awk -F : '{print $1}') line=$(sed '1d' <<< "$out" | awk -F : '{print $2}') [ -z "$file" ] && continue less -N -R +$line $file done } ‣ Ҿͳ͠ͰΧϨϯτσΟϨΫτϦҎԼͷશιʔείʔυΛදࣔ ‣ FOUFSΛԡ͢ͱߦҐஔΛࢦఆͯ͠MFTTͰ։͘ ‣ MFTTΛൈ͚Δͱ࠶ͼG[Gͷը໘ʹΔ ΫΤϦจࣈҾ͖ܧ͙ ‣ ةݥͳ߳Γ͕͢Δ໊͚ؔͩͲؾʹ͠ͳ͍ͰͶ
GDL࣮ߦྫ FOUFS RVJU
GDLิ ‣ XIJMFPVU DPNNBOE EPdEPOF ‣ DPNNBOEͷFYJUDPEF͕ͳΒɺEPdEPOFͷॲཧΛ࣮ߦ͠ɺ FYJUDPEF͕Ҏ֎ʹͳΔ·Ͱϧʔϓɻ ‣ G[Gͷฦ͢FYJUDPEF
‣ /PSNBMFYJU FOUFSFYQFDUͰࢦఆͨ͠Ωʔ ‣ /PNBUDI ‣ &SSPS ‣ $53-$PS&4$ ‣ G[Gͷग़ྗPVUʹೖ͍ͬͯΔͷͰɺՃͯ͠MFTT͢ ‣ G[GQSJOURVFSZ ‣ ग़ྗ͕ҎԼͷ௨ΓʹͳΔ ‣ ߦG[GͰೖྗ͍ͯͨ͠ΫΤϦ ‣ ߦબͨ͠ߦ σϑΥϧτ͜Ε͚ͩ ‣ MFTTΛൈ͚Δͱɺ࠶XIJMFͷDPNNBOE G[G ͕࣮ߦ͞ΕΔ ‣ RVFSZΦϓγϣϯʹग़ྗͷߦΛͯ͠ΫΤϦҾ͖ܧ͗
͓ΘΓ ΠέͯΔ͍ํݟ͚ͭͨΒڭ͍͑ͯͩ͘͞