Skip to content

Instantly share code, notes, and snippets.

View tav's full-sized avatar

tav

View GitHub Profile
Matthew Cooperrider
16:00
HELLO ALL - WHO IS HERE FOR THE MEETING?
Suresh Fernando
16:00
Hi Chris
Matthew Cooperrider
16:00
Roll call!
david pinto
class Y(db.Model):
"""ActivityLog."""
meta = UnicodeProperty(default=u'', name='0')
aspect = UnicodeProperty(default=u'', name='1')
player = UnicodeProperty(default=u'', name='2')
ref = UnicodeProperty(default=u'', name='3')
ref_type = db.StringProperty(default='', name='4')
ref2 = UnicodeProperty(default=u'', name='5')
INVALID_CHAR_NAMES = frozenset(
'!'
'"'
'#'
'$'
'%'
'&'
'('
')'
'*'
# -*- coding: utf-8 -*-
# Placed into the Public Domain by tav <[email protected]>
"""Validate Javascript Identifiers for use as JSON-P callback parameters."""
import re
from unicodedata import category
# Data.Structure
mm-dd p hhmm hhmm x nn n x x x x x x x x x x hhmm hhmm
01 Sleep:start
02 Sleep:end
03 Sex or Sexual Release
04 Cigarettes | No Smoking
05 Number of Meals | Eating Well
06 Exercising
# this is seriously old and should not be used for anything...
"""An implementation of the DISCO (DIStributed COncurrency) Model."""
import atexit
import pickle
import select
import signal
import socket
import sys,os
<script type="text/javascript" src="http://eu.live.app.com/info.js"></script>
<script type="text/javascript" src="http://usa.live.app.com/info.js"></script>
<script type="text/javascript">
var closest_cluster = null;
$.getJSON('http://eu.live.app.com/ping.js?__callback__=?', function (data) { if (!closest_cluster) closest_cluster = data.cluster_id });
$.getJSON('http://usa.live.app.com/ping.js?__callback__=?', function (data) { if (!closest_cluster) closest_cluster = data.cluster_id });
Ryan's reply to http://www.espians.com/why-app-engine-is-not-appropriate-for-bootstrap.html
thanks for the post! we're always interested in well-reasoned feedback like this.
it probably won't surprise you that most of the answers here boil down to priorities. we'd love to implement most of these, but we're not a big team, so we have to prioritize ruthlessly. i can address a few points specifically, though.
# -*- coding: utf-8 -*-
"""
============================
Plexnet Serialisation Format
============================
The PSF (Plexnet Serialisation Format) aims to be a safe, efficient and portable
method of exchanging structured data across the Plexnet. It also doubles up as
the persistent format for POD (Plexnet Object Datastore).
"""Distributed Hash Tables (DHT)."""
__all__ = ['chord', 'dictionary', 'kademlia', 'koorde']
__metaclass__ = type
class DHT:
pass
class Dictionary(DHT):