Public Gists by dirceu

Gravatar
Mon Aug 10 15:30:28 -0700 2009
1
2
# You should put this in your ~/.bashrc
export PATH=/opt/local/lib/erlang/bin:$PATH
Gravatar
Thu May 28 14:27:23 -0700 2009
1
2
3
~/code$ hg clone git://github.com/dirceu/emacs-starter-kit.git dirceu-emacs-starter-kit
fetching from : origin
importing Hg objects into Git
Gravatar
Tue Mar 24 05:34:04 -0700 2009
1
2
3
#
# This is a buildout configuration for plone 2.5 + interlegis.sqlalchemystorage
#
Gravatar
Mon Mar 16 06:22:11 -0700 2009
1
2
3
from Products.CMFCore.utils import getToolByName
from zLOG import LOG, INFO
 
Gravatar
Thu Feb 12 08:44:23 -0800 2009
1
2
3
sudo apt-get install ruby rdoc irb libyaml-ruby libzlib-ruby ri libopenssl-ruby ruby1.8-dev build-essential libmysql-ruby mysql-server libmysqlclient15-dev
cd /tmp
wget "http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz"
Gravatar
Sun Jan 04 11:57:06 -0800 2009
1
2
# Opções de boot para o CCE W93
noapic nolapic nobluetooth pci=assign-busses apicmaintimer idle=poll reboot=cold,hard
Gravatar
Sun Dec 28 23:03:23 -0800 2008
1
2
3
config.yml
twitter.xml
last_id.txt
Gravatar
Tue Nov 25 11:58:06 -0800 2008
1
2
3
# The following code can be used to delete an object that is return POSKeyErrors
# on a ZODB database. Run it using 'zopectl debug'. Tested with Zope 2.9.
 
Gravatar
Fri Nov 07 10:01:57 -0800 2008
1
2
$ tree > t
$ python repeated_files_on_tree.py
Gravatar
Wed Oct 29 11:18:37 -0700 2008
1
2
3
def ATSAObjectField_get(self, instance, **kwargs):
    __traceback_info__ = (self.getName(), instance, kwargs)
    storage = self.getStorage(instance)
Gravatar
Tue Oct 28 07:41:43 -0700 2008
1
2
3
# -*- coding: utf-8 -*-
 
from StringIO import StringIO
Gravatar
Thu Oct 16 17:08:58 -0700 2008
1
2
3
#
# Script to generate a Malvados (http://www.malvados.com.br) feed.
#
Gravatar
Tue Oct 07 16:27:07 -0700 2008
1
2
3
from django.test import TestCase
from django.core import mail
from myproject.myapp.views import send_some_emails
Gravatar
Sat Aug 30 05:19:26 -0700 2008
1
2
3
ibook:~ dirceu$ # primeiro criamos uma working copy do repositório
ibook:~ dirceu$ # isso pode demorar porque o git copia o projeto TODO,
ibook:~ dirceu$ # todas as revisões
Gravatar
Wed Jul 23 16:40:32 -0700 2008
1
2
3
# Author: Dirceu Pereira Tiegs <dirceutiegs@gmail.com>
#
# Script usado para gerar nomes de tavernas
Gravatar
Tue Jul 22 20:35:37 -0700 2008
1
2
3
# Author: Dirceu Pereira Tiegs <dirceutiegs@gmail.com>
#
# Script to roll dices (used to play D&D). Example: