UFW
I use Ubuntu’s Uncomplicated firewall because it is available on Ubuntu and it's very simple.
Install UFW
if ufw is not installed by default be sure to install it first.
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#!/bin/bash | |
# envsubst like substitution; only replacing ${VAR} if they exists | |
# based on http://mywiki.wooledge.org/TemplateFiles | |
# source: https://gist.github.com/pebo/c30d9b4819e908a305244874c916a4dc | |
while read -r; do | |
while [[ $REPLY =~ \$(\{([a-zA-Z_][a-zA-Z_0-9]*)\})(.*) ]]; do | |
if [[ -n ${!BASH_REMATCH[2]} ]]; then | |
printf %s "${REPLY%"$BASH_REMATCH"}${!BASH_REMATCH[2]}" | |
else | |
printf %s "${REPLY%"$BASH_REMATCH"}\$${BASH_REMATCH[2]}" |
#!/bin/bash | |
# Copyright © 2015 Bjørn Johansen | |
# This work is free. You can redistribute it and/or modify it under the | |
# terms of the Do What The Fuck You Want To Public License, Version 2, | |
# as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. | |
# Source: https://bjornjohansen.no/wordpress-cron-wp-cli | |
# Github: https://gist.github.com/bjornjohansen/a00a9fee5475c4dadb56#file-run-wp-cron-sh | |
# This is modified for our container. In this container you don't need to use --path | |
# because it's automatically included |
I use Ubuntu’s Uncomplicated firewall because it is available on Ubuntu and it's very simple.
if ufw is not installed by default be sure to install it first.
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt