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
#!/bin/bash | |
# Bash function to deactivate the current virtual environment and activate the one in the present directory | |
venv () { | |
if [ -f "venv/bin/activate" ]; then | |
if [ "`type -t deactivate`" = "function" ]; then | |
echo "Deactivating venv in anticipation of a new one" | |
deactivate | |
fi |
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
license: gpl-3.0 |
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 asyncio | |
from growler import App | |
from growler.middleware import (Logger, Static, StringRenderer) | |
loop = asyncio.get_event_loop() | |
# Construct our application with name GrowlerServer | |
app = App('GrowlerServer', loop=loop) |
I might be a little too excited for the next season.