Skip to content

Instantly share code, notes, and snippets.

View SensibleWood's full-sized avatar
💭
Mystified

Chris Wood SensibleWood

💭
Mystified
View GitHub Profile
@SensibleWood
SensibleWood / cleardown_images.sh
Created September 15, 2017 12:30
Delete all Docker images from local repository
#!/usr/bin/env bash
docker images | awk '$1 != "REPOSITORY" { print $1 }' | xargs docker rmi -f
@SensibleWood
SensibleWood / cleardown_containers.sh
Created September 15, 2017 12:28
Cheap way of cleaning out all containers
#!/usr/bin/env bash
docker ps -a | awk '$1 != "CONTAINER" { print $1 }' | xargs docker rm -f
{
"variables": [],
"info": {
"name": "JWKS microservice",
"_postman_id": "11a334eb-9a22-9ae1-c693-5f7e52478524",
"description": "This collection is used to test the obdjwks and obdjwksworker microservices. \n\nobdjwks - https://github.com/OpenBankingUK/obdjwks\nobdjwksworker - https://github.com/OpenBankingUK/obdjwksworker",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
@SensibleWood
SensibleWood / get_github_issues.py
Created March 27, 2016 10:07
A simple script to dump issues with a given label from Github repo to markdown
#!/usr/bin/env python
"""A simple script to pull issues from Github and format them as Markdown - writes to stdout"""
from urllib3 import PoolManager, disable_warnings
from base64 import b64encode
from argparse import ArgumentParser
from jq import jq
disable_warnings()

Keybase proof

I hereby claim:

  • I am sensiblewood on github.
  • I am sensiblewood (https://keybase.io/sensiblewood) on keybase.
  • I have a public key whose fingerprint is FDF8 23D6 D869 58E4 8A21 9F6B 9993 ADE1 56EB 0120

To claim this, I am signing this object: