Skip to content

Instantly share code, notes, and snippets.

@oh6hay
oh6hay / circlecidockerpin.sh
Created February 15, 2022 12:08
Pin docker base images in circleci yml files
#!/bin/bash
ymlfile=$1
if [ -z "$1" ] ; then
echo usage: $0 circleci-config-ymlfile
echo example: $0 ./.circleci/config.yml
exit 0
fi
@oh6hay
oh6hay / auth.py
Created August 11, 2020 12:23
ADFS login handler for tornadoweb
#!/usr/bin/env python3
import tornado.web, tornado.auth, sys, base64
from tornado import escape
from tornado.util import unicode_type
import urllib.parse
import asyncio
import json
import jwt
from verify import verify

Keybase proof

I hereby claim:

  • I am oh6hay on github.
  • I am osku (https://keybase.io/osku) on keybase.
  • I have a public key ASCamOVh459igzJpIAQNNysGzXeZBrq1D2oapE5TOB9UIgo

To claim this, I am signing this object: