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
Or more like a blog? |
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
It's crazy that someone's using 8 space tabs indentation! |
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
@@ -1066,6 +1066,7 @@ class FslInstall(object): | |
shells['ksh'] = '.profile' | |
shells['csh'] = '.cshrc' | |
shells['tcsh'] = '.cshrc' | |
+ shells['zsh'] = '.zshrc' | |
shellmap = {} | |
shellmap['bash'] = 'sh' | |
@@ -1073,6 +1074,7 @@ class FslInstall(object): | |
shellmap['tcsh'] = 'csh' |
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
# Please edit /etc/default/ufw first | |
# DEFAULT_FORWARD_POLICY="ACCEPT" | |
# then at /etc/ufw/sysctl.conf | |
# net/ipv4/ip_forward=1 | |
# net/ipv6/conf/default/forwarding=1 | |
# allow mtu dectection | |
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu |
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
# GNU/Octave 3.8.0 | |
alias octave='/usr/local/octave/3.8.0/bin/octave-3.8.0' | |
# change editor to use sublime | |
export EDITOR=lime | |
export VISUAL=lime | |
# Source Prezto. |
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
auth = "plain[/etc/ocserv/ocpasswd]" | |
max-clients = 16 | |
max-same-clients = 5 | |
tcp-port = 443 | |
udp-port = 443 | |
keepalive = 32400 | |
dpd = 90 | |
mobile-dpd = 1800 | |
try-mtu-discovery = true | |
server-cert = /etc/ssl/certs/server-cert.pem |
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/bash | |
# | |
# debian deployment script base, this script does nothing itself. | |
# | |
########################################################### | |
# System | |
########################################################### | |
function updateSystem { | |
apt-get update |
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
echo "this file isn't supposed to run" | |
exit 0 | |
# <------------------------------ Enviroment Variables -------------------------------> | |
FQDN = <Server DNS Name> # can also get from PTR record | |
ORG_NAME = <Org name> | |
RELEASE_NAME = $(lsb_release -sc) | |
# <------------------------------ Network Stack Setups -------------------------------> | |
# Please edit /etc/default/ufw first |
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
# Global | |
setopt no_nomatch # if there are no matches for globs, leave them alone and execute the command | |
setopt no_cdable_vars # don't use named directories in cd autocompletion | |
setopt rmstarsilent # no more prompts in rm | |
# Intel ICC | |
PATH="/opt/intel/composerxe/bin:$PATH" | |
export PATH | |
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
auth = "certificate" | |
ca-cert = /etc/ocserv/ca.pem | |
server-cert = /etc/ocserv/sfo3.pem | |
server-key = /etc/ocserv/sfo3.key | |
dh-params = /etc/ocserv/dh.pem | |
tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%NORMAL:-VERS-SSL3.0:-EXPORT" | |
predictable-ips = true | |
compression = true | |
max-clients = 16 | |
max-same-clients = 5 |
OlderNewer