I hereby claim:
- I am bestrocker221 on github.
- I am bestrocker (https://keybase.io/bestrocker) on keybase.
- I have a public key whose fingerprint is B2D8 B595 F51F 7327 85F3 0826 DDB2 37B4 93D1 533B
To claim this, I am signing this object:
api: | |
insecure: true # Enable the Traefik dashboard (for development) | |
providers: | |
docker: | |
exposedByDefault: false # Only expose containers with labels | |
entryPoints: | |
web: | |
address: ":80" |
version: '3.8' | |
services: | |
traefik: | |
image: traefik | |
container_name: traefik | |
security_opt: | |
- no-new-privileges:true | |
ports: | |
- "80:80" # Expose port 80 for incoming HTTP traffic | |
- "8080:8080" # Expose 8080 for dashboard (dev only) |
#!/bin/bash | |
ZONE_ID=<YOUR_ZONE_ID> | |
A_record=<domain/subdomain> | |
A_record_id=<RECORD ID> | |
CF_BEARER=<YOUR_CF_DNS_TOKEN> | |
LOG_FILE="./ip_log.txt" | |
DNS_UPDATE_LOG_FILE="./update_dns_history.log" |
#!/bin/bash | |
sudo apt -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common | |
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/docker-archive-keyring.gpg | |
sudo add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/debian \ | |
$(lsb_release -cs) \ | |
stable" | |
sudo apt update | |
sudo apt install docker-ce docker-ce-cli containerd.io -y | |
sudo systemctl enable --now docker |
I hereby claim:
To claim this, I am signing this object:
from hashlib import sha256 | |
from base64 import b64encode, b64decode | |
# salt size = 12 | |
SALT_SIZE = 12 | |
def hashPassword(password, salt): | |
ctx = sha256(password) | |
ctx.update(salt) |
############################################## | |
# Sample client-side OpenVPN 2.0 config file # | |
# for connecting to multi-client server. # | |
# # | |
# This configuration can be used by multiple # | |
# clients, however each client should have # | |
# its own cert and key files. # | |
# # | |
# On Windows, you might want to rename this # | |
# file so it has a .ovpn extension # |
#!/bin/bash | |
#$1 is the URL | |
curl -s $1 | grep -Po 'mailto:[[:print:]]*@[a-zA-Z0-9]*\.[a-z]{2,3}' | sed -e 's/mailto://g' | cut -f1 -d"\"" |
#!/bin/bash | |
# This script generates a self-signed certificate for use by the ESP8266 | |
# Replace your-name-here with somethine appropriate before running and use | |
# the generated .H files in your code as follows: | |
# | |
# static const uint8_t rsakey[] ICACHE_RODATA_ATTR = { | |
# #include "key.h" | |
# }; | |
# |
#!/bin/bash | |
if [ $# -ne 1 ]; then | |
echo "usage: <hostname>" | |
exit 1 | |
fi | |
CN=$1 | |
openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -out ${CN}.key | |
openssl req -new -sha256 -key ${CN}.key -out ${CN}.csr \ |