apiVersion: apps/v1
kind: Deployment
metadata:
name: dummy
namespace: default
This file contains hidden or 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 | |
| for ns in $(kubectl get ns -o jsonpath="{.items[*].metadata.name}"); do | |
| echo "Namespace: $ns" | |
| kubectl get pods --namespace "$ns" -o jsonpath="{.items[*].spec.containers[*].image}" | |
| echo -e "\n" | |
| done | |
This file contains hidden or 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 | |
| USER_EMAIL=$(gcloud auth list --filter=status:ACTIVE --format="value(account)") | |
| if [ -z "$USER_EMAIL" ]; then | |
| echo "Error: No active gcloud account found. Please run 'gcloud auth login'." | |
| exit 1 | |
| fi | |
| echo "Checking IAM roles for: $USER_EMAIL" |
This file contains hidden or 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 python3 | |
| import argparse | |
| import os | |
| import sys | |
| import requests | |
| GITLAB_URL = os.getenv("GITLAB_URL") | |
| GITLAB_PRIVATE_TOKEN = os.getenv("GITLAB_PRIVATE_TOKEN") | |
| GITLAB_PROJECT_ID = os.getenv("GITLAB_PROJECT_ID") |
This file contains hidden or 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
| import os | |
| import psycopg2 | |
| import psycopg2.extras | |
| DB_CONNECTION_PARAMS = { | |
| "host": os.environ.get("PGHOST", ""), | |
| "port": os.environ.get("PGPORT", 5432), | |
| "user": os.environ.get("PGUSER", ""), | |
| "password": os.environ.get("PGPASSWORD", ""), |
This file contains hidden or 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 python3 | |
| import argparse | |
| import os | |
| import sys | |
| import requests | |
| GITLAB_URL = os.getenv("GITLAB_URL") | |
| GITLAB_PRIVATE_TOKEN = os.getenv("GITLAB_PRIVATE_TOKEN") | |
| GITLAB_PROJECT_ID = os.getenv("GITLAB_PROJECT_ID") |
This file contains hidden or 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
| import psycopg2 | |
| import psycopg2.extras | |
| import os | |
| DB_CONNECTION_PARAMS = { | |
| "host": os.environ.get("PGHOST", ""), | |
| "port": os.environ.get("PGPORT", 5432), | |
| "user": os.environ.get("PGUSER", ""), | |
| "password": os.environ.get("PGPASSWORD", ""), | |
| "dbname": os.environ.get("PGDATABASE", "postgres") |
This file contains hidden or 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
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| labels: | |
| app: unifi-pod | |
| name: unifi-pod | |
| spec: | |
| hostNetwork: true | |
| containers: | |
| - name: unifi-db |
- Install Calibre
- Install the DeASCM plugin, follow the README
- Download and EXTRACT the NoDRM plugin
- Install the DeDRM plugin from the extracted folder.
Telling people about how to remove DRM from their legally purchased content so they can read wherever, on whatever is not illegal ;)
NewerOlder