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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
160
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
SREの越境 / SRE Collaboration
y0hgi
2
310
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
110
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2k
カツオ、ご期待ください
suneo3476
0
190
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1.1k
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.1k
golang-bob.pdf
iwatsukayura
0
130
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.6k
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
210
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Bash Introduction
62gerente
615
220k
The Cult of Friendly URLs
andyhume
79
7k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
So, you think you're a good person
axbom
PRO
2
2.2k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
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Φϓγϣϯʹग़ྗͷߦΛͯ͠ΫΤϦҾ͖ܧ͗
͓ΘΓ ΠέͯΔ͍ํݟ͚ͭͨΒڭ͍͑ͯͩ͘͞