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 bash | |
| set -euo pipefail | |
| # ββ Output file βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| LOGFILE="specs_$(hostname -s)_$(date -u +%Y%m%dT%H%M%SZ).txt" | |
| # ββ Formatting primitives βββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| COL=80 | |
| _rule() { printf '%*s\n' "$COL" '' | tr ' ' "${1:-=}"; } | |
| _ts() { date -u +"%Y-%m-%dT%H:%M:%SZ"; } |
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
| name: Python CI for Multiple OS | |
| on: | |
| push: | |
| tags: | |
| - 'v[0-9]+.[0-9]+.[0-9]+' | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} |
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
| #!python3 | |
| import tkinter as tk | |
| from tkinter import messagebox | |
| import requests | |
| # Keycloak-Konfiguration | |
| keycloak_url = "https://your-keycloak-server/auth/realms/your-realm/protocol/openid-connect/token" | |
| client_id = "your-client-id" | |
| client_secret = "your-client-secret" |