Skip to content

Instantly share code, notes, and snippets.

require 'rubygems'
require 'bibtex'
b = BibTeX.open('./Sources_3_3_1.bib')
b.each { |citation|
if(citation.type != "comment" and ! citation.key.match(/^BR3/) )
citation.key = "BR3-#{citation.key}"
<?xml version="1.0"?>
<application-server xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/application-server-10_1.xsd" localhostIsAdmin="true"
application-directory="../applications"
check-for-updates="adminClientOnly"
deployment-directory="../application-deployments"
connector-directory="../connectors"
schema-major-version="10" schema-minor-version="0" >
<shared-library name="log4j" version="1.2.15">
actconvenios.jar
actjuzgadosws.jar
acttutelasws.jar
anulacionws.jar
audiows.jar
axis-1.4.jar
axis-jaxrpc(CONFLICTO)-1.4.jar
barbecue-1.0.6b.jar
BrokerClient.jar
BrokerCommons.jar
import java.io.IOException;
import java.net.ConnectException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.SocketTimeoutException;
import java.net.URL;
import java.net.URLConnection;
import java.net.UnknownHostException;
/**