Skip to content

Instantly share code, notes, and snippets.

[core]
repositoryformatversion = 0
filemode = true
bare = true
vitor@gingacdn:/home/git/repositories/components/demux/ufpb-ozzy.git$ cat config [core]
repositoryformatversion = 0
filemode = true
bare = true
vitor@gingacdn:/home/git/repositories/components/demux/ufpb-ozzy.git$ sudo -u git git svn init --trunk https://svn.lavid.ufpb.br/svnroot/gingacdn/components/branches/demux-ozzy-ufpb --no-metadata --no-minimize-url
vitor@gingacdn:/home/git/repositories/components/demux/ufpb-ozzy.git$ cat config [core]
repositoryformatversion = 0
filemode = true
bare = true
vitor@gingacdn:/home/git/repositories/components/demux/ufpb-ozzy.git$
# Magentinizator v 0.42 - 2009
# ----------------------------------------------------------------------------
# "THE BEER-WARE LICENSE" (Revisão 42):
# <[email protected]> escreveu este arquivo. Contanto que mantenha este
# texto, você pode fazer o que quiser com esse software. Se nos conhecermos
# algum dia, e você achar que esse programa vale, você pode me pagar uma cerveja
# em troca.
# Vitor Baptista
# ----------------------------------------------------------------------------
@vitorbaptista
vitorbaptista / infinite_hangouts.sh
Created May 24, 2012 17:25
Infinite Google Hangouts
#!/bin/sh
# Change this to the button coordinates.
# To discover it, wait for it to appear, open a terminal,
# put the cursor over it and run "xdotool getmouselocation".
BUTTON_COORDINATES="300 800"
while (true)
do
xdotool mousemove $BUTTON_COORDINATES click 1 \
$ paster celeryd development.ini
[2012-07-09 13:13:38,415: WARNING/MainProcess]
-------------- celery@samba v2.4.4
---- **** -----
--- * *** * -- [Configuration]
-- * - **** --- . broker: amqp://guest@localhost:5672//
- ** ---------- . loader: openspending.command.celery.loader.PylonsLoader
- ** ---------- . logfile: [stderr]@DEBUG
- ** ---------- . concurrency: 4 - ** ---------- . events: OFF
=== REF ===
[u'6a499088428a729ca4c2e9ca1d3a8bfa5646f592']
=== SORT ===
[(<Dataset(australian_federal_government_contract_spending:[<AttributeDimension(category)>, <AttributeDimension(sourceurl)>, <CompoundDimension(from:[<Attribute(name)>, <Attribute(label)>])>, <AttributeDimension(description)>, <DateDimension(publishdate:[<Attribute(week)>, <Attribute(yearmonth)>, <Attribute(name)>, <Attribute(year)>, <Attribute(month)>, <Attribute(quarter)>, <Attribute(day)>, <Attribute(label)>])>, <CompoundDimension(to:[<Attribute(name)>, <Attribute(label)>])>, <AttributeDimension(cnid)>, <DateDimension(contractend:[<Attribute(week)>, <Attribute(yearmonth)>, <Attribute(name)>, <Attribute(year)>, <Attribute(month)>, <Attribute(quarter)>, <Attribute(day)>, <Attribute(label)>])>, <DateDimension(time:[<Attribute(week)>, <Attribute(yearmonth)>, <Attribute(name)>, <Attribute(year)>, <Attribute(month)>, <Attribute(quarter)>, <Attribute(day)>, <Attribute(label)>])>]:[<Measure(amount)>])>,
{u'amount': 20629.650000000001,
u'c
@vitorbaptista
vitorbaptista / Gemfile.lock
Created July 18, 2012 18:37
Errors running pairwise-api's tests
GEM
remote: http://rubygems.org/
remote: http://gems.github.com/
specs:
actionmailer (2.3.14)
actionpack (= 2.3.14)
actionpack (2.3.14)
activesupport (= 2.3.14)
rack (~> 1.1.0)
activerecord (2.3.14)
@vitorbaptista
vitorbaptista / #thacker.log
Created August 2, 2012 00:45
I Reunião do Hub OKFn
--- Log opened Wed Aug 01 20:00:36 2012
[20:00] < danielabsil> | pessoal, vou transcrever pra cá
[20:00] < danielabsil> | porque o hangout não tá funcionando pra gnete
[20:00] < danielabsil> | ok?
[20:00] < Nitai> | deve ser a rede de voces
[20:00] < Nitai> | pesada
[20:01] < danielabsil> | pra registrar, o Pedro Markun tá aqui contando o que é a Open Knowledge Foundation e como foi que a gente entrou em contato com eles
[20:01] < danielabsil> | participando com a THacker no Consegi, ano passado, a gente conheceu o Rufus Pollock dessa fundação e começou a pensar em trazer a OKFN pro Brasil
[20:01] < danielabsil> | uma das coisas que a gente acha que dá pra fazer com essa história da OKFn pro Brasil, era pensar num braço de ação mais business
[20:03] < danielabsil> | a gente sabe que a Transparência Hacker tem muita redundância com essa nova ação de uma Open Knowledge Foundation cuidado de dados abertos no Brasil. Mas a THacker é uma comunidade de ativismo, de certa forma, e talvez a OKFn possa se
@vitorbaptista
vitorbaptista / gist:3299632
Created August 8, 2012 23:12
Maven output for lexml-parser-pl/parser-projeto-lei
vitor@luna:/tmp/lexml-parser-pl/parser-projeto-lei/trunk$ svn log
------------------------------------------------------------------------
r6343 | fragomeni | 2012-05-14 19:37:44 -0300 (Mon, 14 May 2012) | 1 line
Importação.
------------------------------------------------------------------------
vitor@luna:/tmp/lexml-parser-pl/parser-projeto-lei/trunk$ mvn test
[INFO] Scanning for projects...
@vitorbaptista
vitorbaptista / bundle exec cucumber --no-profile
Created August 11, 2012 00:37
Errors running allourideas.org's tests
"redis/dist_redis" is deprecated. Require "redis/distributed" and replace DistRedis for Redis::Distributed. (in /home/vitor/Projetos/allourideas.org/vendor/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require')
Disabling profiles...
Cannot find or read /home/vitor/Projetos/allourideas.org/config/newrelic.yml
New Relic Agent not running.
Feature: Activating and deactivating choices
In order to prevent unwanted choices from appearing
As a question admin
I should be able to activate and deactivate a choice