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
var q, p = ['Username', 'Password', 'URL', 'Name'], m = LPProxy.getAllModelItems(), o = []; | |
var passes = [] | |
for(var i in m){ | |
var entry = {}; | |
for(var j in p){ | |
var varValue = m[i]['get' + p[j]](); | |
var varName = p[j].toLowerCase(); | |
if(varName == "name"){ | |
if(varValue.match(/ \(/g)){ | |
var replaced = varValue.replace(/ \(.*/g, ""); |
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 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/' | |
} |
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 | |
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 |