gpg --list-secret-keys --keyid-format=long
gpg --armor --export YOUR_KEY_ID
The following will show you how to create a new docker image from a running container that you have modified. The image will only exist locally, meaning you can only access and use it on the computer you create it. It will not be associated with any container registry.
We will start with the ubuntu container image as our base.
docker run -a stdin -a stdout -it ubuntu /bin/bash
git reset --hard HEAD~1 |
Some services require a combined pfx
file to provide TLS to a client
The easiest way is to utilize openssl on the command line. Assuming you already have the .crt
and
.key
files, run the following command.
openssl pkcs12 -export -out domain.name.pfx -inkey domain.name.key -in domain.name.crt
Source https://github.com/nextdns/nextdns/wiki/UnifiOS
sh -c 'sh -c "$(curl -sL https://nextdns.io/install)"'
poetry export --without-hashes --format=requirements.txt > requirements.txt |
#!/bin/bash | |
# bashGPT - richinseattle (who failed to gist it, but all credit is given) | |
[ "${OPENAI_API_KEY}" == "" ] && echo "Please set OPENAI_API_KEY env variable" && exit | |
[ "$(which jq)" == "" ] && echo "Please install the jq program" && exit | |
[ "$(which curl)" == "" ] && echo "Please install the curl program" && exit | |
PROMPT="$1" | |
while true |
The default Fail2ban installation comes with two configuration files, /etc/fail2ban/jail.conf and /etc/fail2ban/jail.d/defaults-debian.conf. It is not recommended to modify these files as they may be overwritten when the package is updated.
Fail2ban reads the configuration files in the following order. Each .local file overrides the settings from the .conf file: