[ create a new paste ] login | about

felipecruz

Name: Felipe
Email:
Site/Blog: http://loogica.net/blog
Location: Brazil
Default language: Python
Favorite languages: Java,Python,Groovy,Perl
About:

Saved pastes by felipecruz:

Python, pasted on May 30:
1
2
3
4
5
from copycat import init_system

class WikiPage():
        def __init__(self, id, content):
            self.id = id
...
view (27 lines)
Python, pasted on Apr 22:
1
2
3
4
5
from test.test_support import TESTFN, run_unittest
import unittest
import os, re, itertools

import mmap
...
view (113 lines)
Python, pasted on Aug 13:
1
2
3
4
5
from fabric.api import local, run, put, env

def staging():
    env.hosts = ['twittalks.loogica.net']
    env.user = 'user'
...
view (18 lines)
Python, pasted on May 29:
1
2
3
4
5
import copycat
from copycat import unlocked, readonly, abort_exception

class WikiPage():
    def __init__(self, id, content, parent=None):
...
view (43 lines)
Python, pasted on May 29:
1
2
3
4
5
#!/usr/bin/python

import sys, os, time, re, cgi
abspath = os.path.dirname(__file__)
sys.path.append(abspath)
...
view (70 lines)
Python, pasted on May 21:
1
2
3
4
5
def volatile(func):
    func.volatile = True
    return func

def func_1(a):
...
view (22 lines, 4 lines of output)
Python, pasted on Apr 30:
1
2
3
4
import zlib

def data(): 
    return ''.join(['a' for i in xrange(10000)])
...
view (25 lines)
Python, pasted on Apr 20:
1
2
3
4
from difflib import SequenceMatcher

class TextDiff:
     """Create diffs of text snippets."""
...
view (63 lines, 4 lines of output)
Python, pasted on Apr 18:
1
2
3
4
5
import sys

class Account():
    def __init__(self, id, initial_amount):
        self.id = id
...
view (57 lines, 5 lines of output)