brew install tidy-html5
brew install xmlstarlet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
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.
- Umsetzung von skalierbaren Backend-Systemen (12FA), bereit für den Einsatz in der Cloud
- Du entwirfst robuste und erweiterbare Datenmodelle und Schemata für die Persistenz und Datenaustausch
- REST-APIs Designst, dokumentierst, implementierst, verwendest und testest du methodisch und wenn möglich automatisiert (u.a. PAW, Swagger, RAML o.ä.)
- Du arbeitest dich in kürzester Zeit gerne in neue Aufgabengebiete ein und teilst dein Wissen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
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:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "{}"` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |