This file contains hidden or 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
apply plugin: 'java' | |
apply plugin: 'war' | |
apply plugin: 'eclipse' | |
apply plugin: 'idea' | |
apply from: 'cobertura.gradle' | |
defaultTasks 'clean', 'build' | |
description = """Example Messaging Gateway""" | |
group = 'com.example' |
This file contains hidden or 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
xray-test-runner]# docker run -d -it --name msptest --mount type=bind,source="$(pwd)",target=/xray python:3.7-stretch /bin/bash |
This file contains hidden or 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
$ sudo DOCKER_BUILDKIT=1 docker build --build-arg https_proxy=http://10.7.0.140:8081 . |
This file contains hidden or 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
docker run -it --mount type=bind,source=/home/thad/xray-test-runner,target=/xray 0e23a5cc9342 |
This file contains hidden or 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
# | |
# Dockerfile for OpenRefine with RDF Extension | |
# | |
FROM openjdk:8-jre-alpine | |
MAINTAINER [email protected] | |
ENV OPENREFINE_MEMORY 2G | |
ENV OPENREFINE_VERSION 3.4.1 | |
ENV OPENREFINE_FILE openrefine-linux-${OPENREFINE_VERSION}.tar.gz |
This file contains hidden or 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 maven:3.6.0-jdk-8-alpine | |
MAINTAINER [email protected] | |
RUN apk add --no-cache git | |
RUN git clone https://github.com/OpenRefine/OpenRefine.git | |
RUN OpenRefine/refine build | |
RUN mkdir /mnt/refine | |
VOLUME /mnt/refine | |
EXPOSE 3333 | |
CMD ["OpenRefine/refine", "-i", "0.0.0.0", "-d", "/mnt/refine"] |
This file contains hidden or 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
# Default system properties included when running spark-submit. | |
# This is useful for setting default environmental settings. | |
# Example: | |
# spark.master spark://master:7077 | |
spark.eventLog.enabled true | |
spark.eventLog.dir file:///home/ozawa/sparkeventlogs | |
# spark.serializer org.apache.spark.serializer.KryoSerializer | |
# spark.driver.memory 5g | |
# spark.executor.extraJavaOptions -XX:+PrintGCDetails -Dkey=value -Dnumbers="one two three" |
This file contains hidden or 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
# drug search | |
SELECT ?item ?itemLabel WHERE { | |
?item wdt:P31/wdt:P279* wd:Q8386 . | |
SERVICE wikibase:mwapi { | |
bd:serviceParam wikibase:endpoint "www.wikidata.org"; | |
wikibase:api "EntitySearch"; | |
mwapi:search "Tylenol"; # Search for things named "Tylenol" |
This file contains hidden or 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
#Drugs (and all subclasses of Drugs) with an RXNormID | |
SELECT ?item ?itemLabel ?rxNormID | |
WHERE | |
{ | |
?item wdt:P31/wdt:P279* wd:Q8386 . | |
?item wdt:P3345 ?rxNormID . | |
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | |
} |
This file contains hidden or 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
11:37:14.361 [ refine] GET /command/core/get-clustering-functions-and-distances (78250ms) | |
11:37:14.363 [ refine] POST /command/core/compute-clusters (2ms) | |
381012 1207 com.fasterxml.jackson.core.util.BufferRecyclers::getBufferRecycler (73 bytes) made not entrant | |
381013 1227 com.fasterxml.jackson.core.JsonFactory::createParser (72 bytes) made not entrant | |
381026 1337 com.fasterxml.jackson.core.JsonFactory::_createGenerator (77 bytes) made not entrant | |
381026 1350 com.fasterxml.jackson.databind.SerializerProvider::findTypedValueSerializer (108 bytes) made not entrant | |
381027 1144 com.fasterxml.jackson.databind.deser.BeanDeserializer::deserialize (62 bytes) made not entrant | |
381027 1138 com.fasterxml.jackson.core.base.ParserMinimalBase::hasToken (14 bytes) made not entrant | |
381028 1129 com.fasterxml.jackson.core.json.ReaderBasedJsonParser::nextToken (512 bytes) made not entran |