This file contains hidden or 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 gist have not to be executed directly" | |
exit 0 | |
# Process of installing ocserv 0.10.10 in Ubuntu 14.04. | |
# Thanks to http://fewspider.github.io/2015/08/16/ubuntu-ocserv-deploy.html | |
# Download ocserv: | |
wget ftp://ftp.infradead.org/pub/ocserv/ocserv-0.10.10.tar.xz | |
tar -xf ocserv-0.10.10.tar.xz |
This file contains hidden or 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 | |
echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope #If you don't do this game crashes after login. | |
function msg { | |
# Description: | |
# This function echoes-with-colors the arguments passed in | |
# Usage: | |
# msg 'whatever you want to print :)' | |
echo -e '\033[33m\033[44m'$@'\033[0m' | |
} |