As configured in my dotfiles.
start new:
tmux
start new with session name:
Byobu Commands | |
============== | |
byobu Screen manager | |
Level 0 Commands (Quick Start) | |
------------------------------ | |
<F2> Create a new window |
# cat << EOF > /dev/null | |
# https://github.com/gpakosz/.tmux | |
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license, | |
# without any warranty. | |
# Copyright 2012— Gregory Pakosz (@gpakosz). | |
# /!\ do not edit this file | |
# instead, override settings in ~/.tmux.conf.local, see README.md | |
# -- general ------------------------------------------------------------------- |
bind-key Up select-pane -U | |
bind-key Down select-pane -D | |
bind-key Left select-pane -L | |
bind-key Right select-pane -R | |
set -g mouse on | |
# Allow xterm titles in terminal window, terminal scrolling with scrollbar, and setting overrides of C-Up, C-Down, C-Left, C-Right | |
# (commented out because it disables cursor navigation in vim) | |
#set -g terminal-overrides "xterm*:XT:smcup@:rmcup@:kUP5=\eOA:kDN5=\eOB:kLFT5=\eOD:kRIT5=\eOC" |
shuf < acc.txt | sponge acc.txt && awk 'NF' acc.txt | sponge acc.txt |
bind-key Up select-pane -U | |
bind-key Down select-pane -D | |
bind-key Left select-pane -L | |
bind-key Right select-pane -R | |
set -g mouse on | |
# if run as "tmux attach", create a session if one does not already exist | |
new-session -n $HOST | |
# Allow xterm titles in terminal window, terminal scrolling with scrollbar, and setting overrides of C-Up, C-Down, C-Left, C-Right |
As configured in my dotfiles.
start new:
tmux
start new with session name:
----------------------------------------------------------- | |
libreoffice --headless --convert-to csv url.xlsx url.csv | |
cat url.csv | sed 's/,/ ,/g' | column -t -s, | less -S | |
----------------------------------------------------------- |
import os | |
import time | |
print('removing old url.xlsx file') | |
time.sleep(1) | |
os.system("rm /root/Desktop/Docs/linux/url.xlsx >/dev/null 2>&1") | |
print('downloading new url.txt file from github') | |
os.system("cd /root/Desktop/Docs/linux/ && wget https://raw.githubusercontent.com/elanozturk/personal-backup/master/elan.txt >/dev/null 2>&1") | |
time.sleep(1) | |
os.system("sed 's/ \+/,/g' /root/Desktop/Docs/linux/elan.txt > /root/Desktop/Docs/linux/url.csv") | |
print('current song url :') |
Cody Ross-Icons:70K | |
https://open.spotify.com/track/44dblCjX9BQVvO4qFMaFHY | |
Cody Ross-Lean:62K | |
https://open.spotify.com/track/4VTHITWyaUjHzmwfoXDaB0 | |
Cody Ross-Easy On My Love | |
https://open.spotify.com/track/2geoGit5gYOlLdmcNrNJ9j | |
Marcus Wood-Redbone:105K |
sshpass -p 'password' scp -P <port> /path/to/file/ user@255.255.255.255:/path/to/destination/ |