I hereby claim:
- I am commadelimited on github.
- I am commadelimited (https://keybase.io/commadelimited) on keybase.
- I have a public key ASAQmZtWglS2Z-B6hCkNWza35Z27cYczUaVejn80xPvBqgo
To claim this, I am signing this object:
# importing the required module | |
import timeit | |
# code snippet to be executed only once | |
setup = """ | |
class FauxClass(object): | |
pass | |
page = FauxClass() | |
page.url = 'the url' |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
How many unique, simultaneous, players can my board game collection support? | |
""" | |
import sys | |
from boardgamegeek import BGGClient |
# -*- coding: utf-8 -*- | |
from boardgamegeek.api import BGGClient | |
from slugify import slugify as slug | |
print 'Generate hashtags!' | |
game_id = raw_input("BGG game id: ") | |
bgg = BGGClient() | |
bgg_game = bgg.game(game_id=game_id) |
from datetime import datetime | |
from boardgamegeek.api import BoardGameGeek | |
bgg = BoardGameGeek() | |
username = 'commadelimited' | |
start = '2013-01-01' | |
end = '2017-03-07' | |
mindate = datetime.strptime(start, '%Y-%m-%d') | |
maxdate = datetime.strptime(end, '%Y-%m-%d') |
http://www.meeplemountain.com/articles/comparing-boardgamegeek-collections-of-two-users/ | |
Agricola: All Creatures Big and Small | |
The Castles of Burgundy | |
Favor of the Pharaoh | |
For Sale | |
Jaipur | |
Lost Cities | |
No Thanks! | |
Patchwork |
@app.route('/') | |
@app.route('/page/<int:page_number>/') | |
def index(page_number=1): | |
path = '' if request.url_rule.rule == '/' else request.url.replace(request.url_root, '/') | |
context = { | |
'pagination': Pagination(page_number, settings.PER_PAGE, sorted_pages), | |
'canonical_url': '{root}{path}'.format(root=settings.ROOT_URL, path=path) | |
} | |
return render_template('index.html', context=context) |
from collections import ( | |
defaultdict, | |
OrderedDict, | |
) | |
games = [ | |
{ | |
'categories': ['Deduction', 'Party Game', 'Spies/Secret Agents', 'Word Game'], | |
'game': 'Codenames', | |
'id': 178900, |
######################################## | |
# DO NOT CHANGE ANYTHING BELOW THIS LINE | |
######################################## | |
import sys | |
from boardgamegeek.api import BoardGameGeek | |
bgg = BoardGameGeek() |