Skip to content

Instantly share code, notes, and snippets.

View jonathanhood's full-sized avatar
🚀
Building things.

Jonathan Hood jonathanhood

🚀
Building things.
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jonathanhood on github.
  • I am jhood06 (https://keybase.io/jhood06) on keybase.
  • I have a public key whose fingerprint is 7E43 53E8 981E 46F9 4F19 7EA8 4FC4 6260 7827 3D72

To claim this, I am signing this object:

@jonathanhood
jonathanhood / Dockerfile
Created April 29, 2016 12:48
Add labels to a pushed docker image. These can be viewed in a registry viewer.
FROM nginx
LABEL source="https://github.com/kwk/docker-registry-frontend"
RUN echo "<h1>What's up, Docker?</h1>" > /usr/share/nginx/html/index.html
class SubprocessPlayer(object):
def __init__(self,command):
.... launch subprocess and setup stdin/stdout
def new_game(initial_state):
...
return None
def take_turn(game_state):
...