I hereby claim:
- I am slank on github.
- I am wedgwood (https://keybase.io/wedgwood) on keybase.
- I have a public key ASCs5dyYy2UpbM9_IS4r0fz95j6bJci_XexdTWMEmo3bTwo
To claim this, I am signing this object:
| import logging | |
| import os | |
| # DEFAULT_FMT = "(%(filename)s:%(lineno)d) %(message)s" | |
| DEFAULT_FMT = "%(message)s" | |
| class ColorMultilineLogFormatter(logging.Formatter): | |
| grey = "\x1b[37m" | |
| bold_grey = "\x1b[37;1m" | |
| blue = "\x1b[34;1m" |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # Variables | |
| FOO=here | |
| FOO="here" # equivalent, always use quotes | |
| BAR=$FOO | |
| BAR="$FOO" | |
| BAR="${FOO}" | |
| BAR='$FOO' # single quotes, does not evaluate the variable |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>org.openssh.port-forwards</string> | |
| <key>OnDemand</key> | |
| <true/> | |
| <key>ProgramArguments</key> | |
| <array> |
| """sendmail email backend class for postfix.""" | |
| import threading | |
| from django.conf import settings | |
| from django.core.mail.backends.base import BaseEmailBackend | |
| from subprocess import Popen,PIPE | |
| class EmailBackend(BaseEmailBackend): | |
| def __init__(self, fail_silently=False, **kwargs): |