|
|
|
codepad
|
|
|
|
Saved pastes by felipecruz:
from copycat import init_system
class WikiPage():
def __init__(self, id, content):
self.id = id
|
| view (27 lines) |
from test.test_support import TESTFN, run_unittest
import unittest
import os, re, itertools
import mmap
|
| view (113 lines) |
from fabric.api import local, run, put, env
def staging():
env.hosts = ['twittalks.loogica.net']
env.user = 'user'
|
| view (18 lines) |
import copycat
from copycat import unlocked, readonly, abort_exception
class WikiPage():
def __init__(self, id, content, parent=None):
|
| view (43 lines) |
#!/usr/bin/python
import sys, os, time, re, cgi
abspath = os.path.dirname(__file__)
sys.path.append(abspath)
|
| view (70 lines) |
from difflib import SequenceMatcher
class TextDiff:
"""Create diffs of text snippets."""
|
| view (63 lines, 4 lines of output) |