This file contains hidden or 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
| from time import time | |
| starts = [ | |
| 1248637121, | |
| 1248818005, | |
| 1248819043, | |
| 1248819661, | |
| 1248820029, | |
| 1248862668, | |
| 1248976328, |
This file contains hidden or 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
| from time import time | |
| starts = [ | |
| 1248637121, | |
| 1248818005, | |
| 1248819043, | |
| 1248819661, | |
| 1248820029, | |
| 1248862668, | |
| 1248976328, |
This file contains hidden or 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
| *.pyc |
This file contains hidden or 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
| recursive-include tiddlywebplugins/templates * | |
| include README Makefile |
This file contains hidden or 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
| """ | |
| Say Hi with a template. | |
| """ | |
| from tiddlywebplugins.templates import get_template | |
| def hello(environ, start_response): | |
| username = environ['tiddlyweb.usersign']['name'] | |
| template = get_template(environ, 'hello.html') |
This file contains hidden or 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
| #!/usr/bin/env python | |
| """ | |
| simplewiki instantiation | |
| """ | |
| import sys | |
| from tiddlyweb.config import config |
This file contains hidden or 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
| *.pyc |
This file contains hidden or 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
| #!/bin/sh | |
| # replace with all the various variables and what not | |
| cmd="wget -q -O - http://tiddlyweb.com |uuencode /dev/stdout|\ | |
| /usr/bin/mailx -s 'hello' [email protected]" | |
| ssh -p 8022 heavy.peermore.com $cmd |
This file contains hidden or 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
| from pprint import pprint | |
| foo = {'name': 'foo'} | |
| bar = {'name': 'bar'} | |
| baz = {'name': 'baz'} | |
| mytopic = {'name': 'mytopic'} | |
| myothertopic = {'name': 'myothertopic'} | |
| can = {'name': 'can'} | |
| foo['parent'] = mytopic |
This file contains hidden or 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
| from random import random | |
| from math import sqrt | |
| import sys | |
| WORDS = 'web2' | |
| LETTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| INDEX = {} | |
| FOUND = [] |