Note that I use Ctrl-a for my prefix k
C-a C-oRotate panesC-a qShow pane numbersswap-pane -s source -t targetRearrange panes
Default Bindings
| #!/bin/sh -e | |
| ### BEGIN INIT INFO | |
| # hyperboria.sh - An init script (/etc/init.d/) for cjdns | |
| # Provides: cjdroute | |
| # Required-Start: $remote_fs $network | |
| # Required-Stop: $remote_fs $network | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Cjdns router | |
| # Description: A routing engine designed for security, scalability, speed and ease of use. |
| reload|restart|force-reload) | |
| stop | |
| until check; do :; done | |
| start | |
| exit 0 | |
| ;; |
| #!/bin/sh -e | |
| ### BEGIN INIT INFO | |
| # hyperboria.sh - An init script (/etc/init.d/) for cjdns | |
| # Provides: cjdroute | |
| # Required-Start: $remote_fs $network | |
| # Required-Stop: $remote_fs $network | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Cjdns router | |
| # Description: A routing engine designed for security, scalability, speed and ease of use. |
| #!/bin/bash | |
| # | |
| # Version 1.4 | |
| # | |
| # twrp.sh -- a TWRP compatible backup script for your computer | |
| # Brought to you by inhies | |
| # | |
| # This script creates TWRP compatible backups over usb using adb and magikz | |
| # By default it makes a folder in the standard TWRP date--time format (I think) | |
| # To restore these backups, place the folder in /sdcard/TWRP/BACKUPS/<serialnumber>/ |
| #!/bin/bash | |
| ### BEGIN INIT INFO | |
| # cjdns.sh - An init script (/etc/init.d/) for cjdns | |
| # Provides: cjdns | |
| # Required-Start: $remote_fs $network | |
| # Required-Stop: $remote_fs $network | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Cjdns router | |
| # Description: A routing engine designed for security, scalability, speed and ease of use. |
| c := make(chan os.Signal, 1) | |
| signal.Notify(c) | |
| go func() { | |
| for sig := range c { | |
| switch sig { | |
| case syscall.SIGHUP: | |
| fmt.Println("Reloading config") | |
| if err := parseConfig(); err != nil { | |
| fmt.Println("Error parsing config") | |
| fmt.Println(err) |
| package main | |
| import ( | |
| "code.google.com/p/go.crypto/curve25519" | |
| "crypto/rand" | |
| "crypto/sha512" | |
| "database/sql" | |
| "fmt" | |
| _ "github.com/Go-SQL-Driver/MySQL" | |
| "os" |
| # C-b is not acceptable -- Vim uses it | |
| set -g prefix C-a | |
| unbind C-b | |
| bind-key C-a last-window | |
| # Start numbering at 1 | |
| set -g base-index 1 | |
| # Allows for faster key repetition | |
| set -s escape-time 0 |