Skip to content

Instantly share code, notes, and snippets.

View neara's full-sized avatar
🏠
Working from home

Ana neara

🏠
Working from home
View GitHub Profile
[unix_http_server]
file=/tmp/supervisor.sock ; path to your socket file
[supervisord]
logfile=/var/log/supervisord/supervisord.log ; supervisord log file
logfile_maxbytes=50MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error ; info, debug, warn, trace
pidfile=/var/run/supervisord.pid ; pidfile location
nodaemon=false ; run supervisord as a daemon
@neara
neara / nginx.conf
Last active February 27, 2018 15:23
nginx configuration file for example, including web sockets supports
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
use epoll;
}
@neara
neara / twython.diff
Created February 7, 2013 08:14 — forked from U2Ft/twython.diff
diff --git a/twython/twython.py b/twython/twython.py
index 49c2f65..ce6931f 100644
--- a/twython/twython.py
+++ b/twython/twython.py
@@ -14,7 +14,7 @@ import re
import warnings
import requests
-from requests.auth import OAuth1
+from requests_oauthlib import OAuth1