As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/bin/bash | |
| # Script for installing tmux on systems where you don't have root access. | |
| # tmux will be installed in $HOME/local/bin. | |
| # It's assumed that wget and a C/C++ compiler are installed. | |
| # exit on error | |
| set -e | |
| TMUX_VERSION=1.8 |
| apply plugin: 'cpp' | |
| model { | |
| buildTypes { | |
| debug | |
| release | |
| } | |
| platforms { |
| #!/bin/sh | |
| # Based on instructions found here: http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat#FFMpegInstallationonCentOSandRedHat-InstallX264 | |
| if [ "`/usr/bin/whoami`" != "root" ]; then | |
| echo "You need to execute this script as root." | |
| exit 1 | |
| fi | |
| cat > /etc/yum.repos.d/centos.repo<<EOF |
| from unsigned_leb128_encode_decode import decode_unsigned_leb128, encode_unsigned_leb128 | |
| # Python 3.7.4 | |
| def encode_signed_leb128(number): | |
| # Higher multiple of 7 | |
| bits_multiple_of_7 = ((number.bit_length() + 7) // 7) * 7 | |
| twos_complement = (1 << bits_multiple_of_7) - number |