Skip to content

Instantly share code, notes, and snippets.

View PhilippTheServer's full-sized avatar
πŸͺ

PhilippTheServer PhilippTheServer

πŸͺ
  • AI-Gruppe
  • Germany - Bochum
  • 11:31 (UTC +02:00)
View GitHub Profile
@PhilippTheServer
PhilippTheServer / collect_specs_benchmarks.sh
Created February 27, 2026 09:41
ceph_specs_benchmark script
#!/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"; }
@PhilippTheServer
PhilippTheServer / Action_CI_multiple_OS.yml
Last active January 26, 2024 18:30
Build CI for Multiple OS for Python stuff
name: Python CI for Multiple OS
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
build:
runs-on: ${{ matrix.os }}
#!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"