Skip to content

Instantly share code, notes, and snippets.

📘
writing

Dane Hillard daneah

📘
writing
Block or report user

Report or block daneah

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@daneah
daneah / after.py
Last active Apr 16, 2019
Saving space with apiron syntax
View after.py
from apiron import Service, JsonEndpoint
class HttpBin(Service):
domain = 'https://httpbin.org'
set_cookie = JsonEndpoint(path='/cookies/set/{name}/{value}')
if __name__ == '__main__':
View hangman.py
#!/usr/bin/env python
import os
import pathlib
import random
DICTIONARY = 'popular-words.txt'
DIFFICULTY_LEVEL = 3
NUM_TRIES_OFFSET = 2
You can’t perform that action at this time.