Never double down.
Never post.
Luck is unequally distributed.
The first one just shows cloning, adding a file and then pushing the commits:
unicode: https://ptpb.pw/t/1kkA
no-unicode: https://ptpb.pw/t/gkoq
The next video is how to use rebase when the code on the server is ahead of the local and you have commits you want to push. Unlike merge it helps to preserve commit history.
unicode: https://ptpb.pw/t/pKxl
| " status bar colors | |
| au InsertEnter * hi statusline guifg=black guibg=#d7afff ctermfg=black ctermbg=magenta | |
| au InsertLeave * hi statusline guifg=black guibg=#8fbfdc ctermfg=black ctermbg=cyan | |
| hi statusline guifg=black guibg=#8fbfdc ctermfg=black ctermbg=cyan | |
| " Status line | |
| " default: set statusline=%f\ %h%w%m%r\ %=%(%l,%c%V\ %=\ %P%) | |
| " Status Line Custom | |
| let g:currentmode={ |
| set -g pane-active-border-bg default | |
| set -g pane-active-border-fg "colour14" | |
| set -g pane-border-fg "colour239" | |
| set -g message-fg black | |
| set -g message-bg "colour14" | |
| set -g status-justify left | |
| set -g status-bg "colour236" | |
| set -g status-fg "colour14" |
| mkdir ~/.weechat/ssl-cert | |
| cd ~/.weechat/ssl-cert | |
| openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -out relay.pem | |
| In weechat: | |
| /set relay.network.ssl_cert_key "/home/username/.weechat/ssl-cert/relay.pem" | |
| /relay add ssl.weechat 9001 |
| #!/usr/bin/env bash | |
| # Upload text/images to clbin.com from the command line | |
| # License: ISC http://www.isc.org/downloads/software-support-policy/isc-license/ | |
| clip() { | |
| if command -v xclip &> /dev/null; then | |
| xclip -selection clip <<< "$@" | |
| elif command -v xsel &> /dev/null; then | |
| xsel -b -i <<< "$@" | |
| fi |
| main = lambda port: (lambda dt: (lambda mm: (lambda n: (map(lambda r: (lambda | |
| rr: setattr(n, *rr) if (type(rr) is tuple and len(rr) == 2) else None)(r()), | |
| [lambda: map(setattr, *zip(*[(n, m, __import__(m)) for m in mm.m.decode('ba' | |
| 'se64').split()])), lambda: map(n.s['signal.signal'], (n.s['signal.SIGINT'], | |
| n.s['signal.SIGTERM']), [lambda s, f: (n.s['sys.exit']() if n.f else [n.sa( | |
| mm.l[0], n.o)] and n.u('f', True) or n.fc(n.l))] * 2), lambda: setattr(mm, | |
| 'l', mm.l.decode('base64').split('~~~')), lambda: ('sw', n.s['types.Functio' | |
| 'nType'] (compile("try:\n\tv = n.select.select(n.so, n.w(), [])\nexcept n.s" | |
| "elect.error, e:\n\tif e[0] != n.errno.EINTR: raise\nelse:\n\tn.u('sr', v)", | |
| '', 'exec'), dict(n=n, OSError=OSError))),lambda: ('l', n.s['socket.socket'] |