Skip to content

Instantly share code, notes, and snippets.

Michael Riedmann mriedmann

  • Austria/Vienna
Block or report user

Report or block mriedmann

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View MarsClock.py
import re
import sys
import os
from pprint import pprint
import logging
import unittest
from parameterized import parameterized
if 'DEBUG' in os.environ:
logging.basicConfig(stream=sys.stderr, level=logging.DEBUG, format='[%(levelname)s] %(message)s')
View openshift-splitter.py
#!/usr/bin/python3
from yaml import load, dump
import os, sys, re, glob
try:
from yaml import CLoader as Loader, CDumper as Dumper
except ImportError:
from yaml import Loader, Dumper
@mriedmann
mriedmann / check-iss.sh
Last active May 29, 2019
Test Keycloak with Linux CLI
View check-iss.sh
#!/bin/bash
PROTO=http
#PROTO=https
HOST=172.17.0.3:8080
HOST_HEADER=test.blub
PROTO_HEADER=http
#HOST=kc-test.loopback
JWT=$(curl -k \
-H "Host: $HOST_HEADER" \
-H "X-Forwarded-Proto: $PROTO_HEADER" \
View keybase.md

Keybase proof

I hereby claim:

  • I am mriedmann on github.
  • I am mriedmann (https://keybase.io/mriedmann) on keybase.
  • I have a public key ASCZvJHt4pWxxdLcNFteHHN0-z_QD_AO7NJp3waoUC5vkAo

To claim this, I am signing this object:

@mriedmann
mriedmann / gist:70e7950abbb8efa11c71
Created Jun 7, 2015
Setup TheForeman With Saltstack
View gist:70e7950abbb8efa11c71
yum install ruby193-rubygem-foreman_proxy_salt
yum install rubygem-smart_proxy_salt
curl -L https://bootstrap.saltstack.com -o /tmp/install_salt.sh
sudo sh /tmp/install_salt.sh -M git v2015.5.2
rm /tmp/install_salt.sh
You can’t perform that action at this time.