Skip to content

Instantly share code, notes, and snippets.

@xetys
xetys / .tmux.conf
Last active November 26, 2018 11:41
tmux dotfile
unbind C-b
set-option -g prefix C-x
bind-key C-x send-prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
@xetys
xetys / javaswitch.sh
Created March 2, 2022 09:13
Java Version Switcher
#!/usr/bin/env bash
declare -A JDKS
JDKS[8]="/usr/lib/jvm/jdk1.8.0_251"
JDKS[11]="/usr/lib/jvm/jdk-11.0.9"
JDKS[14]="/usr/lib/jvm/jdk-14.0.1"
JDKS[16]="/usr/lib/jvm/jdk-16.0.2"
if [ "$#" -ne 1 ]; then