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
# encoding: utf-8 | |
import datetime | |
from south.db import db | |
from south.v2 import SchemaMigration | |
from django.db import models | |
class Migration(SchemaMigration): | |
# This can get stupid. When running all migrations from scratch such as | |
# during tests then dependant apps will need to be initialised before this |
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 cProfile | |
from optparse import OptionParser | |
from z3c.rml import rml2pdf | |
parser = OptionParser() | |
parser.add_option('-c', '--cells', | |
action='store', dest='cells', default=0, | |
help='number of table cells (34 attributes)') | |
parser.add_option('-p', '--paras', |
This file has been truncated, but you can view the full file.
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
! #+""# $+$*="%/"'/$0R%.P"$*%,F$,M "'"$, %. !# ! "%6#(<!#,%.Q'1\"%9"'='-Y$*Q"'F+Dv0Y | |
! !K+hcF&db | |
! $ ' * - 0 3 6 9 < ? B E H K N Q T W Z ] ` c f i l o r u x { ~ | |
! /*$9+&@1,E73L?:QHEPKJQHEPHCRIDSGAOA8O:.T:-D30'%& | |
!! ;AE6AAGNO>87.%!92,VRLPLFA85H:6*! | |
!!!#$)A$)C!#,#*?#+G!!" | |
!!!$!'!*!-!0!3!6!9!<!?!B!E!H!K!N!Q!T!W!Z! | |
!!!$!'!*!-!0!3!6!9!<!?!B!E!H!K!N!Q!T!W!Z! | |
!!!?'''B'D'P'T'Y'n(())+ | |
!!$(&1R#0N!(28CCF`_JdiXjrMgo>_e8TW6V\9]bC\[RMEORK:hg/dg8XWMKBWC7WB7<502::*GE&EB#FB%8:%79&BE |
This file has been truncated, but you can view the full file.
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
!This program cannot be run in DOS mode. | |
Richo{+ | |
.text | |
`.rdata | |
@.data | |
.pdata | |
@_RDATA | |
@.rsrc | |
@.reloc | |
ffff |
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
var audio_context = new window.AudioContext(), | |
mic_stream; | |
var fix_webaudio = function(max_attempts, interval, a) { | |
var attempt = a || 0; | |
if (audio_context.baseLatency < 0.2) { | |
if (attempt) { | |
if (mic_stream) { | |
mic_stream.getTracks()[0].stop(); |
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
#!./uwsgi --http-socket :9090 --async 100 ... | |
# same chat example but using uwsgi async api | |
# for pypy + continulets just run: | |
# uwsgi --http-socket :9090 --pypy-home /opt/pypy --pypy-wsgi-file tests/websockets_chat_async.py --pypy-eval "uwsgi_pypy_setup_continulets()" --async 100 | |
import uwsgi | |
import time | |
import redis | |
import sys | |