Skip to content

Instantly share code, notes, and snippets.

import asyncio
import json
import re
import subprocess
import aioamqp
async def rsync(loop):
""" """
transport, protocol = await aioamqp.connect()
@billyshambrook
billyshambrook / main.py
Created March 3, 2017 23:47
Catch essential container result from sidecar container in ECS
import logging
import signal
import socket
import sys
import docker
import boto3
logging.basicConfig(level=logging.INFO)
@billyshambrook
billyshambrook / gist:c00e50e5a05bb03cbba86f9c12d4f487
Created August 22, 2017 19:51
Generate cloudfront signed url
"""
Make sure you have "cryptography" and "botocore" installed!
"""
import datetime
import functools
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives import serialization

Keybase proof

I hereby claim:

  • I am billyshambrook on github.
  • I am bshambrook (https://keybase.io/bshambrook) on keybase.
  • I have a public key whose fingerprint is 798D 93CE 8981 64CD 1D14 1608 A7A4 98D4 D12A 0D17

To claim this, I am signing this object: