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 | |
import re | |
import fileinput | |
good_match = re.compile(r'sip:\+?[0-9]+@') | |
for line in fileinput.input(): | |
parts = line.split('|') |
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
# In imagekit_specs.py | |
from imagekit.specs import ImageSpec | |
from imagekit import processors | |
class EnhanceAvatar(processors.Adjustment): | |
contrast = 1.2 | |
sharpness = 1.1 | |
class ResizeAvatar(processors.Resize): | |
width = 100 |
NewerOlder