curl -sSL https://get.docker.com | sh
Allow user pi
to access docker daemon:
sudo usermod -aG docker pi
#!/usr/bin/env bash | |
# provide a env file content like | |
# POSTGRES_HOST=xxxx.postgres.database.azure.com | |
# [email protected] | |
# POSTGRES_PORT=5432 | |
# POSTGRES_PASSWORD=xxxxxxx | |
# POSTGRES_DB=xxxx_production |
curl -Ss -u <username> --header "X-GitHub-OTP: <OTP from your SMS or App>" https://api.github.com/orgs/<orgname>/repos | \ | |
jq -a -r ".[].ssh_url" | \ | |
xargs -I "{}" git clone "{}"` |
Was looking to a solution to generate zonefiles from DNS,
but zone transfer (AXFR) does not work for secured dns. MX,
TXT etc. can be collected with dig
but not A-Records of
subdomains. As these are mostly secured via https for our
domains, you may get the information from certificate
transparency logs.
Here’s the cmdline to get some subdomains with IP-Adresses:
#!/bin/bash | |
if [ -z "$1" ] | |
then | |
echo "Extract certificate and private key from pfx file for configuring TLS endpoints" | |
echo "Please provide pfx file as first argument" | |
exit 1 | |
fi | |
read -p "Please enter import password: " PASS |
Das Bermuda Digital Studio (BDS) ist die Agentur des Energiekonzerns innogy für digitale Produktentwicklung. Wir sind ein junges, agiles Team aus Designern, Entwicklern und Produkt Managern im Herzen des Ruhrgebiets mit dem Ziel, die digitale Transformation bei innogy voranzutreiben und umzusetzen.
#!/usr/local/bin/bash | |
[ $TRACE ] && set -x | |
set -eu | |
if [[ -z "${BASH_VERSINFO[0]}" || ${BASH_VERSINFO[0]} < 4 ]]; then | |
error "You need at least bash version 4. Install with 'brew install bash'" | |
exit 1 | |
fi |
#!/bin/sh | |
DOMAIN=${1:-example.com} | |
echo Creating wildcard certificate for *.$DOMAIN with minikube CA. | |
echo Add minikube CA to our keychain as a trusted CA ... | |
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/.minikube/certs/ca.pem | |
echo Create a CSR for our domains *.$DOMAIN ... | |
openssl req -newkey rsa:2048 -nodes -keyout $DOMAIN.key -subj "/O=$USER/CN=*.$DOMAIN" -out $DOMAIN.csr | |
echo Create the certificate and sign it by our trusted the minikube CA | |
# note: SAN extension necessary, as we have no 1:1 CN |