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
Ignore all that craziness below. These can be set from the cli with the "pritunl" command. | |
The commands below can be used to get/set the values of the cert, key, port and if the :80 -> "app.server_port" redirect is active. | |
# Get current SSL server cert: | |
pritunl get app.server_cert | |
# Get current SSL server key: | |
pritunl get app.server_key |
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
#!/usr/local/env bash | |
# Register digitalocean with free credit https://m.do.co/c/4879bb02d178 | |
# Create vps with 5usd price | |
if [ "$(whoami)" != "root" ]; then | |
SUDO=sudo | |
fi | |
# Update system | |
${SUDO} apt-get update && ${SUDO} apt-get -y upgrade |
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
/* | |
This script creates a simple UDP Server that exports all data received | |
through the 8080 socket into the console. | |
Made By: Roberto E. Zubieta | |
Panama City, Panamá | |
G+: https://plus.google.com/u/0/105524772414753584405/ | |
*/ | |
package main |