This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Baixa resultados do TSE desde 1989 e cria um CSV com os parlamentares eleitos com colunas: | |
# ano, uf, nome, cargo, situação, partido | |
ANOS_UF := 1989 1990 | |
ANOS_MUNZONA := 1994 1996 1998 2000 2002 2004 2006 2008 2010 2012 2014 | |
ARQUIVOS_UF := $(patsubst %, VOTACAO_CANDIDATO_UF_%.ZIP, $(ANOS_UF)) | |
ARQUIVOS_MUNZONA := $(patsubst %, votacao_candidato_munzona_%.zip, $(ANOS_MUNZONA)) | |
ARQUIVOS_MUNZONA_DEPENDENCIES := $(patsubst %, votacao_candidato_munzona_%_SP.txt, $(ANOS_MUNZONA)) | |
ARQUIVOS_UF_DEPENDENCIES := $(patsubst %, VOTACAO_CANDIDATO_UF_%, $(ANOS_UF)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
# udp ping tool | |
# http://www.voip-info.org/wiki/index.php?page_id=2654&comments_page=1 | |
use IO::Socket; | |
$target = shift; #"192.168.0.255"; | |
$target_port = shift; # 4569 | |
socket(PING, PF_INET, SOCK_DGRAM, getprotobyname("udp")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
processing file: teste.Rnw | |
| | |
| | 0% | |
| | |
|...................... | 33% | |
ordinary text without R code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "name,id,email,image" | |
for file in `find . -name ep-popolo-v1.0.json` | |
do | |
cat $file | jq -r ".persons[] | [\"$file\", .id, .email, .image] | @csv" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Magentinizator v 0.42 - 2009 | |
# ---------------------------------------------------------------------------- | |
# "THE BEER-WARE LICENSE" (Revisão 42): | |
# <vitor@vitorbaptista.com> 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 | |
# ---------------------------------------------------------------------------- | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
url | country | |
---|---|---|
https://www.newschallenge.org/challenge/data/entries/improve-openrefine-s-extensibility-with-data-repository-and-processing-services | Canada | |
https://www.newschallenge.org/challenge/data/entries/microfilm-digitization | USA | |
https://www.newschallenge.org/challenge/data/entries/crime-needs-a-new-box-score | USA | |
https://www.newschallenge.org/challenge/data/entries/beautiful-map | UK | |
https://www.newschallenge.org/challenge/data/entries/open-referral | USA | |
https://www.newschallenge.org/challenge/data/entries/checking-up-on-the-fiscal-health-of-california-cities-counties-and-special-districts-a-tool-for-concerned-residents | USA | |
https://www.newschallenge.org/challenge/data/entries/open-source-election-results-public-vote-counting | USA | |
https://www.newschallenge.org/challenge/data/entries/designing-data-inclusion-mapping-detroit-s-data-ecosystem-to-catalyze-connectivity-engagement-and-impact-for-all | USA | |
https://www.newschallenge.org/challenge/data/entries/tracking-gender-based-violence-while-protecting-privacy | Congo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
OlderNewer