A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
| """Download and combine Azure Active Directory B2C JWKs. | |
| Download and combine the Json Web Keys (JWKs) into a single JWK for all of the specified Azure Active Directory B2C (AAD B2C) policies on a tenant. | |
| Example: | |
| $python build-aad-b2c-combined-policy-jwk.py --tenant_url https://login.microsoftonline.com/fabrikamb2c.onmicrosoft.com --policies b2c_1_sign_in,b2c_1a_another_policy | |
| """ | |
| import sys | |
| import argparse |
| ################################################### | |
| ## | |
| ## Alertmanager YAML configuration for routing. | |
| ## | |
| ## Will route alerts with a code_owner label to the slack-code-owners receiver | |
| ## configured above, but will continue processing them to send to both a | |
| ## central Slack channel (slack-monitoring) and PagerDuty receivers | |
| ## (pd-warning and pd-critical) | |
| ## |
| #!/usr/bin/env bash | |
| set -e | |
| remove_flag="" | |
| if [ "$1" = "true" ]; then | |
| remove_flag="--remove-existing-container" | |
| fi | |
| # Generate certificate |
The maintained version now lives at Thunderbolt Networking, part of scyto/homelab-docs.
Questions or troubleshooting? Continue the conversation here — a Q&A discussion where replies thread properly, answers can be marked, and everything is searchable. The 388 comments below stay exactly where they are as an archive.
The maintained version now lives at Enable Dual Stack (IPv4 and IPv6) OpenFabric Routing, part of scyto/homelab-docs.
Questions or troubleshooting? Continue the conversation here — a Q&A discussion where replies thread properly, answers can be marked, and everything is searchable. The 70 comments below stay exactly where they are as an archive.