This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tool.poetry] | |
name = "test" | |
version = "0.1.0" | |
description = "" | |
authors = ["Your Name <[email protected]>"] | |
[tool.poetry.dependencies] | |
python = "^3.6" | |
[tool.poetry.dev-dependencies] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> /usr/srv/app/src/wagtail-cache/wagtailcache/cache.py(49)_wrapped_view_func() | |
48 import ipdb; ipdb.set_trace() | |
---> 49 response = djcache.process_request(request) | |
50 if response: | |
ipdb> n | |
> /usr/srv/app/src/wagtail-cache/wagtailcache/cache.py(50)_wrapped_view_func() | |
49 response = djcache.process_request(request) | |
---> 50 if response: | |
51 # add a response header to indicate this was a cache hit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying I am +drcongo on my passcard. https://onename.com/drcongo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am drcongo on github. | |
* I am drcongo (https://keybase.io/drcongo) on keybase. | |
* I have a public key whose fingerprint is B9E4 A61A 68C7 3B52 BC9A 5F95 568D C964 C8C8 B3AD | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
# You need PIL <http://www.pythonware.com/products/pil/> to run this script | |
# Download unifont.ttf from <http://unifoundry.com/unifont.html> (or use | |
# any TTF you have) | |
# Copyright 2011 Álvaro Justen [alvarojusten at gmail dot com] | |
# License: GPL <http://www.gnu.org/copyleft/gpl.html> | |
from image_utils import ImageText |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
import arrow | |
from fabric.api import * | |
import boto | |
from boto.cloudfront import CloudFrontConnection | |
import os | |
from datetime import date, timedelta | |
import gzip | |
import shutil |