Skip to content

Instantly share code, notes, and snippets.

import jwt
import yaml
from uuid import uuid4
import datetime
import sys
import json
import tempfile
from os import system
# Generate a kubernetes configuration from a private key
import requests
import logging
from urllib.parse import urlparse
from urllib.parse import parse_qs
import json
from os import system
from kubernetes import client, config
mlbiam / orchestra-login-central-cluster.yaml
Last active Aug 23, 2020
Add Cluster to Centralized OpenUnison
View orchestra-login-central-cluster.yaml
kind: Org
name: cluster2
namespace: openunison
description: "My second cluster"
uuid: 04901973-5f4c-46d9-9e22-55e88e168776
parent: B158BD40-0C1B-11E3-8FFD-0800200C9A66
showInPortal: true
View HeaderAuthenticate.php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
class HeaderAuthenticate extends SugarAuthenticate
mlbiam /
Last active Oct 19, 2020
BSidesDC Training
mlbiam /
Last active Jul 29, 2019
View gist:858a32d0ecc4bc2c520f695d41989440
import boto3
import sys
out_to = open(sys.argv[2],"w")
client = boto3.client('ssm')
response = client.get_parameters_by_path(Path=sys.argv[1],Recursive=True,WithDecryption=True)

Keybase proof

I hereby claim:

  • I am mlbiam on github.
  • I am mlbiam ( on keybase.
  • I have a public key ASDXoMp87KwJItI-xBDR-U4pYBhvjWYF6Qz9teWx_3A3GQo

To claim this, I am signing this object: