Skip to content

Instantly share code, notes, and snippets.

On vacation

Ivan Petukhov satels

On vacation
View GitHub Profile
Last active May 4, 2021
Falcon WSGI application with asyncio

Getting Started

$ pip install falcon
$ python3

alternatively with Gunicorn (for HTTP/1.1):

$ pip install gunicorn

$ gunicorn app:app

sebasmagri /
Created Nov 10, 2014
Concurrently streaming response using Falcon and Gevent
# Fire this using gunicorn falcon_gevent_streaming
# and head to in a browser.
# Requirements:
# pip install falcon gevent
import falcon
import gevent
from gevent.queue import Queue
celldee / gist:4241084
Created Dec 8, 2012
Example RabbitMQ configuration file - rabbitmq.config
View gist:4241084
# /etc/rabbitmq/rabbitmq.config
# Follow the instructions on RabbitMQ website to create certificate authority and certificates -
{rabbit, [
NetAngels /
Created Jun 24, 2011
Extremely fast Django test runner
# -*- coding: utf-8 -*-
Extremely fast Django test runner, based on the idea that your database schema
and fixtures are changed much more seldom that your code and tests. All you
need is to make sure that your "quickstart.sqlite" database file is always up
to date.
BEWARE: Don't run this test runner on production server. It assumes that you
use only one database configured as "default", and its db engine is SQLite.
Otherwise your tests can eat your data!