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
### Keybase proof | |
I hereby claim: | |
* I am fernandobrito on github. | |
* I am fernandobrito (https://keybase.io/fernandobrito) on keybase. | |
* I have a public key whose fingerprint is 11C1 5167 3544 AF3E 0F32 A841 54F3 54CB FFA3 E641 | |
To claim this, I am signing this object: |
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
require "rexml/document" | |
INPUT = "/tmp/facebook.gexf" | |
OUTPUT = "/tmp/output.gexf" | |
xml = File.read(INPUT) | |
doc = REXML::Document.new(xml) | |
doc.root.elements.each_with_index("graph/edges/edge") { |e, i| e.attributes["id"] = i } | |
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
Violets are red | |
Poems should not be sad | |
Nor should they be bad | |
But this one is | |
And that is a fact | |
Written with http://tranquillpoet.com/ |
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
252 - Emulador Ginga-J - Implementação de um componente do LWUIT que não Form e Label - 04/12/09 | |
273 - Open Ginga - Renomear pastas dos componentes - 09/02/10 | |
275 - Open Ginga - Aplicar patch ao flexcm - 09/02/10 | |
276 - Open Ginga - Usar o uncrustify - 09/02/10 | |
279 - Open Ginga - Rever o make principal do middleware - 12/02/10 | |
280 - Open Ginga - Mudança no de carregamento de xlet carregados do disco - 18/02/10 | |
281 - Open Ginga - EIT-Schedule - 18/02/10 | |
282 - Open Ginga - Recuperaçao dos serviços por descritor da NIT - 18/02/10 | |
283 - Open Ginga - Implementar TOT - 18/02/10 | |
284 - Open Ginga - Especificar e implementar BIT - 18/02/10 |
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
def add_to_substrings(substrings, candidate, count) | |
substrings[candidate] += count if substrings[candidate] | |
substrings[candidate] = count | |
end | |
STRING = "aaabbbababcdd" | |
MIN_SUPORT = 2 | |
candidates = [] | |
substrings = {} |
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
"A link to a bug tracker for your open source organization is NOT an ideas list." | |
Organizations linking to bug trackers: | |
* Apache | |
* Boinc | |
Not open source? |
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
fernando@fernandobrito.com [~/apps/bestmovies]# gem install nokogiri | |
Building native extensions. This could take a while... | |
ERROR: Error installing nokogiri: | |
ERROR: Failed to build gem native extension. | |
/usr/bin/ruby extconf.rb | |
checking for libxml/parser.h... yes | |
checking for libxslt/xslt.h... yes | |
checking for libexslt/exslt.h... yes | |
checking for iconv_open() in iconv.h... yes |
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
# * Problema do Coding Dojo @ UFPB - 06/05/2011 | |
# Escreva uma função que simula um caixa eletrônico, recebendo um valor a ser sacado e retornando | |
# uma string com as cédulas que o caixa deve retornar. | |
# | |
# Exemplo: saque: 167 | |
# retorno: "100:1 50:1 10:1 5:1 2:1" | |
require "test/unit" | |
def conta_cedulas(saque) |
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
From 9b9bf8e73a2886cb36a093b336dcdf5632073cc9 Mon Sep 17 00:00:00 2001 | |
From: Fernando Brito <email@fernandobrito.com> | |
Date: Wed, 1 Dec 2010 16:11:58 -0300 | |
Subject: [PATCH] Add mimetype for cobol.lang | |
--- | |
data/language-specs/cobol.lang | 1 + | |
1 files changed, 1 insertions(+), 0 deletions(-) | |
diff --git a/data/language-specs/cobol.lang b/data/language-specs/cobol.lang |
NewerOlder