Skip to content

Instantly share code, notes, and snippets.

"""
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
@cdent
cdent / sac.py
Created July 21, 2009 17:26 — forked from FND/sac.py
#!/usr/bin/env python
"""
SAC
SAC ain't Cook (and he doesn't like it either)
"""
import sys
from time import time
starts = [
1248637121,
1248818005,
1248819043,
1248819661,
1248820029,
1248862668,
1248976328,
from time import time
starts = [
1248637121,
1248818005,
1248819043,
1248819661,
1248820029,
1248862668,
1248976328,
@cdent
cdent / .gitignore
Created November 11, 2009 15:07 — forked from FND/.gitignore
*.pyc
recursive-include tiddlywebplugins/templates *
include README Makefile
"""
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')
@cdent
cdent / simplewiki
Created December 3, 2009 18:00 — forked from FND/simplewiki
#!/usr/bin/env python
"""
simplewiki instantiation
"""
import sys
from tiddlyweb.config import config
@cdent
cdent / .gitignore
Created December 14, 2009 12:51 — forked from FND/.gitignore
*.pyc
@cdent
cdent / webmail.sh
Created December 17, 2009 21:05 — forked from FND/webmail.sh
#!/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