Skip to content

Instantly share code, notes, and snippets.

Avatar

Bernardo Torres bernardotorres

  • NewStore Inc.
  • Berlin
View GitHub Profile
View gist:42bc29ff27f386bd0ff2d4be3bf056b7
### Keybase proof
I hereby claim:
* I am bernardotorres on github.
* I am torresb (https://keybase.io/torresb) on keybase.
* I have a public key whose fingerprint is F1DE D17B E913 41DE 2749 BBF7 1EB8 E455 22BE 5999
To claim this, I am signing this object:
View teste.py
from xml.etree import cElementTree
with open('teste.xml') as arquivo:
xml_content = arquivo.read()
content = cElementTree.fromstring(xml_content)
namespaces = {
'wiki':'http://www.mediawiki.org/xml/export-0.10/'
}
@bernardotorres
bernardotorres / build_openssl_dylib.sh
Last active Aug 29, 2015 — forked from tmiz/build_openssl_dylib.sh
Build latest OpenSSL Universal Binary on OSX.
View build_openssl_dylib.sh
#!/bin/bash
OPENSSL_VERSION="1.0.1g"
curl -O http://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz
tar -xvzf openssl-$OPENSSL_VERSION.tar.gz
mv openssl-$OPENSSL_VERSION openssl_i386
tar -xvzf openssl-$OPENSSL_VERSION.tar.gz
mv openssl-$OPENSSL_VERSION openssl_x86_64
cd openssl_i386