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
# Activate virtualenv or show current virtualenv | |
ve() { | |
if [ -n "$VIRTUAL_ENV" ]; then | |
local venv="$(basename $VIRTUAL_ENV)" | |
if [ -n "$venv" ]; then | |
echo "($venv) $VIRTUAL_ENV" | |
fi | |
else | |
source env/bin/activate | |
echo "::: current virtualenv: $VIRTUAL_ENV" |
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 urllib | |
import urlparse | |
from flask import request | |
from your_app import app | |
# set it to True in production mode | |
app.config['PAYPAL_LIVE'] = False |
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 czekan on github. | |
* I am czekan (https://keybase.io/czekan) on keybase. | |
* I have a public key ASBQzlQhS10zqxfw-ZBRfNDo7WvFhVU4KnTaTshhh9ps1wo | |
To claim this, I am signing this object: |