I hereby claim:
- I am dalbertom on github.
- I am dalbertom (https://keybase.io/dalbertom) on keybase.
- I have a public key ASAPWrF_V0G50u9VqgZxI2o0ZaDwzlQuRFAPZKJxkGQlsAo
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| pattern=${1?pattern} | |
| grep -f <(ps -o tty= -p $(pgrep $pattern)) <(tmux list-panes -a -F "#{pane_tty} #S #W") |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # All Vagrant configuration is done below. The "2" in Vagrant.configure | |
| # configures the configuration version (we support older styles for | |
| # backwards compatibility). Please don't change it unless you know what | |
| # you're doing. | |
| Vagrant.configure("2") do |config| | |
| # The most common configuration options are documented and commented below. | |
| # For a complete reference, please see the online documentation at |
| set-hook -g session-created 'run-shell "~/.tmux/scripts/SaveTmuxSession"' | |
| set-hook -g session-renamed 'run-shell "~/.tmux/scripts/SaveTmuxSession"' | |
| set-hook -g session-closed 'run-shell "~/.tmux/scripts/SaveTmuxSession"' | |
| set-hook -g window-linked 'run-shell "~/.tmux/scripts/SaveTmuxSession"' | |
| set-hook -g window-renamed 'run-shell "~/.tmux/scripts/SaveTmuxSession"' | |
| set-hook -g window-unlinked 'run-shell "~/.tmux/scripts/SaveTmuxSession"' | |
| set-hook -g window-layout-changed 'run-shell "~/.tmux/scripts/SaveTmuxSession"' |
I hereby claim:
To claim this, I am signing this object:
| @echo off | |
| set /a TTL=8*60*60 | |
| ssh-add -l | |
| if ERRORLEVEL 2 for /f "delims=;" %%a in ('ssh-agent -t %TTL%') do set %%a 2> nul | |
| set TTL= | |
| ssh-add | |
| if ERRORLEVEL 1 ssh-add -d |
| dir /s/b/ad > dirs.txt | |
| sort /r dirs.txt > sorteddirs.txt | |
| for /f %a in (sorteddirs.txt) do ( | |
| subst x: /d | |
| subst x: "%a" && rd /s/q x: | |
| ) |