Skip to content

Instantly share code, notes, and snippets.

Eli Flesher eflee

Block or report user

Report or block eflee

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
@eflee
eflee / seaborn_dark_background.ipynb
Created Jun 27, 2019 — forked from mwaskom/seaborn_dark_background.ipynb
Use seaborn with a dark background, if you like that sort of thing.
View seaborn_dark_background.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@eflee
eflee / models.py
Last active Aug 4, 2017
Quick hack for json serialize/deserialize on a model with unsupported types, with pluggable interface
View models.py
"""
This could probably be made a lot cleaner and add some more syntactic sugar that modifying the (de)serializers dicts on each object. First attempt
"""
class UtilModel(BaseModel):
class Meta:
abstract = True
class_serializers = {
UUID: lambda x: str(x),
You can’t perform that action at this time.