Run this command to remember your password:
git config --global credential.helper 'cache --timeout 28800'Above command will tell git to cache your password for 8 hours.
| # Source: https://gist.github.com/vfarcic/78c1d2a87baf31512b87a2254194b11c | |
| ############################################################### | |
| # How To Create A Complete Internal Developer Platform (IDP)? # | |
| # https://youtu.be/Rg98GoEHBd4 # | |
| ############################################################### | |
| # Additional Info: | |
| # - DevOps MUST Build Internal Developer Platform (IDP): https://youtu.be/j5i00z3QXyU | |
| # - How To Create A "Proper" CLI With Shell And Charm Gum: https://youtu.be/U8zCHA-9VLA |
| #!/usr/bin/env python3 | |
| import requests | |
| def main(): | |
| base = "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide" | |
| resp = requests.get(f"{base}/toc-contents.json") | |
| body = resp.json() |
| ########################################## | |
| # Gatekeeper # | |
| # Open Policy Agent (OPA) For Kubernetes # | |
| # https://youtu.be/14lGc7xMAe4 # | |
| ########################################## | |
| # Referenced videos: | |
| # - How to run local multi-node Kubernetes clusters using kind: https://youtu.be/C0v5gJSWuSo | |
| # - Kustomize - How to Simplify Kubernetes Configuration Management: https://youtu.be/Twtbg6LFnAg |
| package main | |
| import ( | |
| "fmt" | |
| "go/ast" | |
| "go/parser" | |
| "go/printer" | |
| "go/token" | |
| "log" | |
| "os" |