Change <vpn-name> with your VPN's name.
# IPv4
curl --silent https://ip-ranges.amazonaws.com/ip-ranges.json \
  | jq -r '.prefixes | .[].ip_prefix' \
 | tr '\n' ',' \| for i in $( ls *.JPG ); do exiv2 -v -r '%Y-%m-%d_%Hh%M%m%S' rename "$i"; done | |
| for i in $( ls *.JPG ); do mv $i ${i%%.JPG}.jpg; done | 
| job "docs" { | |
| datacenters = ["racobro"] | |
| group "example" { | |
| network { | |
| port "http" { | |
| static = "5678" | |
| } | |
| } | |
| task "server" { | 
Pass is a great command line tool to handle your password, as well in a team.
Add the key into your local GPG base:
$ gpg --keyserver <a specific key server if needed> --search-keys <email address>
| import asyncio | |
| import hashlib | |
| import io | |
| import os | |
| import time | |
| import asyncssh | |
| import pytest | 
| #!/bin/bash | |
| # To be used in certbot command as --manual-cleanup-hook parameter | |
| #APIKEY="" | |
| if [ -f /tmp/CERTBOT_$CERTBOT_DOMAIN/ZONE_RECORD_HREF ]; then | |
| ZONE_RECORD_HREF=$(cat /tmp/CERTBOT_$CERTBOT_DOMAIN/ZONE_RECORD_HREF) | |
| rm -f /tmp/CERTBOT_$CERTBOT_DOMAIN/ZONE_RECORD_HREF | |
| fi | 
| #!/bin/bash | |
| # To be used in certbot command as --manual-auth-hook parameter | |
| #APIKEY="<your API key>" | |
| # Strip only the top domain | |
| ROOT_DOMAIN=$(python -c "import sys;u=sys.argv[1].split('.');print(u[-2]+'.'+u[-1])" "$CERTBOT_DOMAIN") | |
| HOST_DOMAIN=$(python -c "import sys;print('.'.join(('_acme-challenge.'+sys.argv[1]).split('.')[:-2]))" "$CERTBOT_DOMAIN") | |
| # Get Gandi zone UUID | 
| #!/usr/bin/env bash | |
| set -e | |
| # Debian installer to be executed after a fresh installation | |
| # curl -H 'Cache-Control: no-cache' -L http://bit.ly/liskam-installer | bash | |
| # curl -H 'Cache-Control: no-cache' -L https://gist.githubusercontent.com/marcaurele/598f4b810c3c1a9debcd8e23169a264a/raw/debian-installer | /bin/bash | |
| echo "Debian Installer 🤖" | |
| export DEBIAN_FRONTEND=noninteractive |