my dotz
0

Configure Feed

Select the types of activity you want to include in your feed.

POSIXify, correct tmux conf

+24 -7
+3 -4
.tmux.conf
··· 1 1 # Global opts 2 - set-option -g default-shell fish 3 2 setw -g mode-keys vi 4 3 set-option -sg escape-time 0 5 4 set -s escape-time 0 6 - 7 - bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." 8 5 9 6 # use vim-like keys for splits and windows 10 7 bind-key \ split-window -h -c "#{pane_current_path}" ··· 14 11 bind-key k select-pane -U 15 12 bind-key l select-pane -R 16 13 14 + # shortcuts 15 + bind-key r source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." 16 + 17 17 # colors hurt my eyes 18 18 set -g status-bg black 19 19 set -g status-fg white 20 - set -g status-interval k
+2 -2
bin/MACC02VK5ECHTD7/j
··· 1 1 #!/bin/sh 2 2 3 - local query="$1" 3 + query="$1" 4 4 shift 2> /dev/null 5 - local ip=$(awless list instances --filter state=running,name="$query" "$@" --format json | jq -r '.[] | [.PrivateIP] | .[]' | head -n1) 5 + ip=$(awless list instances --filter state=running,name="$query" "$@" --format json | jq -r '.[] | [.PrivateIP] | .[]' | head -n1) 6 6 /usr/local/bin/ssh "$ip"
+19 -1
bin/MACC02VK5ECHTD7/jmass
··· 1 1 #!/bin/bash 2 2 query="$1" 3 3 shift 2> /dev/null 4 - ips=$(awless list instances --filter state=running,name="$query" "$@" --format json | jq -r '.[] | [.PrivateIP] | .[]') 4 + 5 + text=$( 6 + printf "$*" | \ 7 + sed -e 's/bpe/-p browse_prod -r us-east-1/g' | \ 8 + sed -e 's/bpw/-p browse_prod -r us-west-2/g' | \ 9 + sed -e 's/bse/-p browse_stage -r us-east-1/g' | \ 10 + sed -e 's/bsw/-p browse_stage -r us-west-2/g' | \ 11 + sed -e 's/bte/-p browse_test -r us-east-1/g' | \ 12 + sed -e 's/btw/-p browse_test -r us-west-2/g' | \ 13 + sed -e 's/cpe/-p cgraph_prod -r us-east-1/g' | \ 14 + sed -e 's/cpw/-p cgraph_prod -r us-west-2/g' | \ 15 + sed -e 's/cse/-p cgraph_stage -r us-east-1/g' | \ 16 + sed -e 's/csw/-p cgraph_stage -r us-west-2/g' | \ 17 + sed -e 's/cte/-p cgraph_test -r us-east-1/g' | \ 18 + sed -e 's/ctw/-p cgraph_test -r us-west-2/g' 19 + ) 20 + 21 + ips=$(awless list instances --filter state=running,name="$query" $text --format json | jq -r '.[] | [.PrivateIP] | .[]') 22 + 5 23 tmux new-window 'ssh-trash-test' 6 24 7 25 while IFS= read -r i