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
""" | |
Play around with getting stuff out of the store. | |
This is probably best described as "the new way" | |
since much of my code doesn't do it this way. | |
I'm trying to toe a line here with the correct | |
use of a control, which tries to help remove | |
some duplication and centralize the controlling of | |
bag and recipe contents and processing somewhere | |
other than bag and recipe objects (so they can be |
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
#!/usr/bin/env python | |
""" | |
SAC | |
SAC ain't Cook (and he doesn't like it either) | |
""" | |
import sys |
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
from time import time | |
starts = [ | |
1248637121, | |
1248818005, | |
1248819043, | |
1248819661, | |
1248820029, | |
1248862668, | |
1248976328, |
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
from time import time | |
starts = [ | |
1248637121, | |
1248818005, | |
1248819043, | |
1248819661, | |
1248820029, | |
1248862668, | |
1248976328, |
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
*.pyc |
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
recursive-include tiddlywebplugins/templates * | |
include README Makefile |
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
""" | |
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 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 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 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' fndo@gmx.net" | |
ssh -p 8022 heavy.peermore.com $cmd |