Skip to content

Instantly share code, notes, and snippets.

View brunoborges's full-sized avatar
🏠
Working from home, as always

Bruno Borges brunoborges

🏠
Working from home, as always
View GitHub Profile
<?xml version='1.0'?>
<coherence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.oracle.com/coherence/coherence-operational-config"
xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-operational-config coherence-operational-config.xsd">
<cluster-config>
<unicast-listener>
<well-known-addresses>
… wka configuration …
</well-known-addresses>
@brunoborges
brunoborges / data.csv
Last active September 19, 2017 23:00
Schooner Bay Apartments
Extraction Unit Available Price
04/15/17 552 4/25/2017 3688
04/15/17 562 5/4/2017 3693
04/15/17 304 5/5/2017 3693
04/15/17 592 4/27/2017 3716
04/15/17 360 5/19/2017 3737
04/15/17 476 4/15/2017 3796
04/15/17 544 5/18/2017 3856
04/15/17 304 5/5/2017 3713
04/15/17 552 4/25/2017 3718
redbook:dockerfiles ravi$ ./buildDockerImage.sh -v 12.1.0.2 -e -p welcome1
Checking if required packages are present and valid...
linuxamd64_12102_database_1of2.zip: OK
linuxamd64_12102_database_2of2.zip: OK
=====================
Building image 'oracle/database:12.1.0.2-ee' ...
Sending build context to Docker daemon 2.688 GB
Step 1 : FROM oraclelinux:latest
---> 5f5dae795065
Step 2 : MAINTAINER Gerald Venzl <gerald.venzl@oracle.com>
####<Jun 28, 2016 6:14:44 PM UTC> <Info> <Deployer> <2c008eb269a6> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <01af20d9-e47d-4f
3c-9ba4-d3abd6f7a259-0000012a> <1467137684463> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-149059> <Module actionbazaar-websocket-test.war of application actionb
azaar-websocket-test is transitioning from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
####<Jun 28, 2016 6:14:44 PM UTC> <Info> <EJB> <2c008eb269a6> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <01af20d9-e47d-4f3c-9b
a4-d3abd6f7a259-0000012a> <1467137684472> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-014021> <The EJB ChatServer(Application: actionbazaar-websocket-test, EJBCo
mponent: actionbazaar-websocket-test.war) has been successfully deployed. The following remote interfaces have been bound into JNDI
# Build with:
# docker build -t entrypoint .
FROM alpine
COPY verify.sh ./
RUN chmod +x verify.sh
ENTRYPOINT ["./verify.sh"]
CMD ["sh"]
# Campinas
Comfort Suites - Rua Embiruçu, 300 - Alphaville Empresarial, Campinas - SP, 13098-320, Brazil
# Uberlândia
var name = MVC.queryParams().get("name");
var message = "Hello World from Javascript for user '"+name+"'";
MVC.bind("message", message);
MVC.next("helloworld.jsp");
@brunoborges
brunoborges / url-sanity.js
Created May 30, 2015 10:36
java.net.URL shouldn't be used to represent URLs
#!/usr/bin/env jjs
function runTest() {
var URL = Packages.java.net.URL;
var LinkedHashSet = Packages.java.util.LinkedHashSet;
set = new LinkedHashSet();
set.add(new URL("http://Square.GitHub.io/"));
set.add(new URL("http://square.github.io:80/"));
set.add(new URL("http://google.github.io/"));
size = set.size();
if (size === 2) {
import java.util.HashSet;
import java.util.Set;
import java.util.stream.IntStream;
public class HappyNumber {
public static void main(String[] args) {
IntStream.range(0, args.length == 0 ? 1001 : Integer.parseInt(args[0]))
.parallel()
.filter((number) -> {