start new:
tmux
start new with session name:
tmux new -s myname
| wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz |
This guide on how to convert an SVN repository to a git repository was mostly taken from John Albin Wilkins post on Converting a Subversion repository to Git.
If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.
Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.
If in doubt about what git is doing when you run these commands, just
| /**************************************************************************/ | |
| /*! | |
| @brief Custom lookup tables for full screen updates. Public domain (?) from Waveshare. | |
| @note Video explainer: https://www.youtube.com/watch?v=MsbiO8EAsGw and more info: | |
| https://benkrasnow.blogspot.com/2017/10/fast-partial-refresh-on-42-e-paper.html | |
| @warning YOU CAN PERMANENELY DAMAGE YOUR DISPLAY BY ABUSING THESE LOOKUP TABLES! | |
| Seriously, the controller is incredibly programmable and you can force all | |
| kinds of voltages and timings onto the screen that it wasn't meant to deal | |
| with. TWEAK AT YOUR OWN RISK! | |
| */ |
| # vim style tmux config | |
| # use C-a, since it's on the home row and easier to hit than C-b | |
| set-option -g prefix C-a | |
| unbind-key C-a | |
| bind-key C-a send-prefix | |
| set -g base-index 1 | |
| # Easy config reload | |
| bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." |
| Ctrl+o script-message-to dialog open #menu: Open > Files... | |
| Ctrl+O script-message-to dialog open-folder #menu: Open > Folder... | |
| _ script-message-to dialog open append #menu: Open > Add To Playlist... | |
| _ ignore #menu: Open > - | |
| _ script-message-to dialog open bd-iso #menu: Open > Bluray ISO... | |
| _ script-message-to dialog open dvd-iso #menu: Open > DVD ISO... | |
| _ ignore #menu: Open > - | |
| Ctrl+v script-message-to dialog open-clipboard #menu: Open > Clipboard | |
| _ ignore #menu: Open > - | |
| Ctrl+R script-binding recentmenu/open #menu: Open > Recently Played #@recent |
| import sys | |
| from struct import pack as pk, unpack as up | |
| def u32(x): | |
| return x & 0xFFFFFFFF | |
| def tea_update_custom_mac(mac, v, k): | |
| v0, v1 = v[0], v[1] | |
| cur_sum = 0xC6EF3720 | |
| k0, k1, k2, k3 = k[0], k[1], k[2], k[3] |
| # In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env | |
| # variable pointing GPG to the gpg-agent socket. This little script, which must be sourced | |
| # in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start | |
| # gpg-agent or set up the GPG_AGENT_INFO variable if it's already running. | |
| # Add the following to your shell init to set up gpg-agent automatically for every shell | |
| if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then | |
| source ~/.gnupg/.gpg-agent-info | |
| export GPG_AGENT_INFO | |
| else |