This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set shell=/bin/bash | |
set mouse= | |
set ttymouse= | |
set nocompatible | |
set cursorline | |
set cursorcolumn | |
highlight CursorColumn ctermfg=White ctermbg=blue cterm=bold guifg=white guibg=yellow gui=bold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start windows and panes at 1, not 0 | |
set -g base-index 1 | |
set -g pane-base-index 1 | |
set-option -g status-position bottom | |
set-option -g repeat-time 0 | |
set-option -g mode-keys vi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
mount_path=/media/neutron | |
mount_match="(DataBackup|DataLife)" | |
usb_drivers_path=/sys/bus/usb/drivers | |
usb_hub_list=/tmp/usb-hub.list | |
unbind_usb_hub () { | |
> $usb_hub_list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- include/net/ip_fib.h.orig 2016-04-10 11:44:40.342768815 +0700 | |
+++ include/net/ip_fib.h 2016-04-10 15:28:42.217868332 +0700 | |
@@ -331,6 +331,12 @@ | |
return jhash_2words(saddr, daddr, fib_multipath_secret) >> 1; | |
} | |
+static inline int fib_multipath_hash_ip_port(__be32 saddr, __be32 daddr, | |
+ __be32 ports) | |
+{ | |
+ return jhash_3words(saddr, daddr, ports, fib_multipath_secret) >> 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
OPTS=$(getopt -o cehw: --long config:,expire-limit:,help,webservice: -n "$0" -- "$@") | |
if [ $? != 0 ]; then | |
echo "Terminating ..." >&2 | |
exit 1 | |
fi | |
CONFIG=/etc/letsencrypt/cli.ini | |
WEBSERVICE=nginx |