Skip to content

Instantly share code, notes, and snippets.

@jasonrudolph
jasonrudolph / about.md
Last active May 2, 2025 12:20
Programming Achievements: How to Level Up as a Developer
@michiel
michiel / cors-nginx.conf
Created July 5, 2011 10:41
Wide-open CORS config for nginx
#
# Wide-open CORS config for nginx
#
location / {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
#
@mrluanma
mrluanma / celeryconfig.py
Created April 16, 2011 02:42
celery using beanstalkd as work queue, you may need this fix http://goo.gl/d3igM
# File: celeryconfig.py -*- Encoding: utf-8 -*-
BROKER_BACKEND = 'beanstalk'
BROKER_HOST = '127.0.0.1'
BROKER_PORT = 11300
CELERY_IGNORE_RESULT = True
CELERY_IMPORTS = ("tasks", )