Skip to content

Instantly share code, notes, and snippets.

View raphdg's full-sized avatar

Raphael De Giusti raphdg

View GitHub Profile
@raphdg
raphdg / app.py
Created May 9, 2014 10:55
Uwsgi threads
import threading
import time
from flask import Flask, Response
my_app = Flask(__name__)
counter = None
event = threading.Event()

Keybase proof

I hereby claim:

  • I am raphdg on github.
  • I am raphdg (https://keybase.io/raphdg) on keybase.
  • I have a public key whose fingerprint is 7DCC C65B 13D9 EDB8 2F68 BF86 9334 19D8 CE24 6DB9

To claim this, I am signing this object:

@raphdg
raphdg / gist:10353566
Created April 10, 2014 07:55
keybase.md
### Keybase proof
I hereby claim:
* I am raphdg on github.
* I am raphdg (https://keybase.io/raphdg) on keybase.
* I have a public key whose fingerprint is 7DCC C65B 13D9 EDB8 2F68 BF86 9334 19D8 CE24 6DB9
To claim this, I am signing this object:
@raphdg
raphdg / pika.log
Created April 9, 2013 08:56
Pika SSLError
ERROR:pika:SSLError(8, '_ssl.c:1217: EOF occurred in violation of protocol')
ERROR:pika:SelectConnection: SSL Socket error on fd 3: SSLError(8, '_ssl.c:1217: EOF occurred in violation of protocol')