Merge branch 'master' of github.com:vishap/scripts
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
#
|
#
|
||||||
# Ctrl-a is the prefix.
|
# Ctrl-a is the prefix.
|
||||||
#
|
#
|
||||||
set -g prefix C-a
|
set -g prefix ALT-b
|
||||||
bind C-a send-prefix
|
bind ALT-b send-prefix
|
||||||
unbind C-b
|
unbind C-b
|
||||||
|
|
||||||
# Start windows from #1 (default #0)
|
# Start windows from #1 (default #0)
|
||||||
@@ -51,12 +51,7 @@ bind -r M-j resize-pane -D
|
|||||||
bind -r M-k resize-pane -U
|
bind -r M-k resize-pane -U
|
||||||
bind -r M-l resize-pane -R
|
bind -r M-l resize-pane -R
|
||||||
|
|
||||||
#No mouse
|
# Mouse on/off
|
||||||
#set -g mode-mouse off
|
|
||||||
#set -g mouse-select-pane off
|
|
||||||
#set -g mouse-resize-pane off
|
|
||||||
#set -g mouse-select-window off
|
|
||||||
|
|
||||||
# bind m \
|
# bind m \
|
||||||
# set -g mode-mouse on \;\
|
# set -g mode-mouse on \;\
|
||||||
# set -g mouse-resize=pane on \;\
|
# set -g mouse-resize=pane on \;\
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bkriuuvnbnvvdictin/sh
|
||||||
|
|
||||||
if [ ! -z "$1" ]; then
|
if [ ! -z "$1" ]; then
|
||||||
SCRIPTS=$1
|
SCRIPTS=$1
|
||||||
@@ -6,8 +6,8 @@ else
|
|||||||
SCRIPTS=${HOME}/devel/scripts
|
SCRIPTS=${HOME}/devel/scripts
|
||||||
fi
|
fi
|
||||||
|
|
||||||
find ${SCRIPTS}/config -name .\* -type f -exec ln -i \{\} . \;
|
find ${SCRIPTS}/config -maxdepth 1 -name .\* -type f -exec ln -i \{\} . \;
|
||||||
find ${SCRIPTS}/config -name .\* -type d -exec ln -i -s \{\} . \;
|
find ${SCRIPTS}/config -maxdepth 1 -name .\* -type d x ln -i -s \{\} . \;
|
||||||
|
|
||||||
#mkdir -p .vim/autoload .vim/bundle
|
#mkdir -p .vim/autoload .vim/bundle
|
||||||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
||||||
|
|||||||
20
ssh_lusntag.service
Normal file
20
ssh_lusntag.service
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
[Unit]
|
||||||
|
#SourcePath=/etc/init.d/rpcbind
|
||||||
|
Description=SSH lusntag.vostan.org
|
||||||
|
#DefaultDependencies=no
|
||||||
|
Before=shutdown.target
|
||||||
|
After=network-online.target local-fs.target
|
||||||
|
Wants=network-online.target
|
||||||
|
Conflicts=shutdown.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=vahagn
|
||||||
|
Group=vahagn
|
||||||
|
Restart=always
|
||||||
|
RestartSec=5s
|
||||||
|
WorkingDirectory=/tmp
|
||||||
|
ExecStart=/usr/bin/ssh -N -R *:8022:127.0.0.1:22 -R *:58846:127.0.0.1:58846 -R *:8112:127.0.0.1:8112 -p 8080 -i /home/vahagn/.ssh/id_rsa vahagn@lusntag.vostan.org
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
20
ssh_yerevak.service
Normal file
20
ssh_yerevak.service
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
[Unit]
|
||||||
|
#SourcePath=/etc/init.d/rpcbind
|
||||||
|
Description=SSH lusntag.vostan.org
|
||||||
|
#DefaultDependencies=no
|
||||||
|
Before=shutdown.target
|
||||||
|
After=network-online.target local-fs.target
|
||||||
|
Wants=network-online.target
|
||||||
|
Conflicts=shutdown.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=vahagn
|
||||||
|
Group=vahagn
|
||||||
|
Restart=always
|
||||||
|
RestartSec=5s
|
||||||
|
WorkingDirectory=/tmp
|
||||||
|
ExecStart=/usr/bin/ssh -N -R *:8022:127.0.0.1:22 -p 24 -i /home/vahagn/.ssh/id_rsa vahagn@yerevak.vostan.org
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Reference in New Issue
Block a user