@org.springframework.kafka.annotation.KafkaListener(topics = "test", topicPartitions = {@TopicPartition(topic = "test", partitionOffsets = @PartitionOffset(initialOffset = "0", partition = "0"))})
public void listen(String message) {
System.out.println("Received message on " + System.currentTimeMillis() + " and message was :" + message);
}
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
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
start,end,topic,speaker,title,abstract | |
1000,1040,Business,Tom Goodwin,"Leadership through change, 10 themes to explore the possibilities of the future, now","Today, Tom will explore 10 themes that capture the spirit of the modern world, the threats and the opportunities. Based in years of quantitive and qualitative study, he’ll explore themes like the pervasive internet which means the digital divide disappears, to the new realities and canvases of VR and AR to a future world of personalization, voice interactions, predictive computing and advertising that builds to form stories. This is a must see talk for marketers, technologists and business leaders to understand change in context, to see the distractions from the profound, the opportunities from the threats and to provide positive leadership for all through out fast changing times." | |
1000,1040,Development,Tomas Della Vedova,What if I told you that HTTP can be fast?,"A plain HTTP server can handle about 25k request per second, while Express and Hapi, can se |
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
#!/bin/sh | |
# Usage: ./cluster.sh --cores={number|optional|default3} --replicas={number|optional|default0} --erase={boolean|optional|default false} | |
# Use at your own risk! | |
function erase() { | |
if $ERASE | |
then | |
for i in $(seq 1 $NUMBER_OF_CORES); do | |
docker rm -f core${i}; | |
done |
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 neo4j.v1 import GraphDatabase | |
from gensim import corpora, models | |
driver = GraphDatabase.driver("bolt://XXXXX:7687", auth=("neo4j", "XXXX")) | |
session = driver.session() | |
q = "MATCH (m:Memory) WHERE id(m) = 34452 \ | |
MATCH (m)-[:HAS_CONTENT]->(c)-[:HAS_ANNOTATED_TEXT]->(at)-[:CONTAINS_SENTENCE]->(s)-[:HAS_TAG]->(tag) RETURN collect(tag.value) AS tags" | |
result = list(session.run(q)) |
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 2 columns, instead of 1 in line 5.
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
tag.value,collect(other.value) | |
growth,"[""process"",""district"",""improvement"",""chess"",""music"",""processing"",""section"",""change"",""industry"",""commercial"",""Lab"",""biology"",""analyst"",""pathology"",""science"",""development"",""Development""]" | |
hard,"[""geometry"",""agency"",""consequence"",""Right"",""Banking"",""music"",""lustrous"",""index"",""item"",""heavy"",""matter"",""abstraction"",""refer"",""rush"",""assail"",""act"",""computing"",""American"",""news"",""lead"",""write"",""justice"",""News"",""sport"",""News"",""anything"",""baseball"",""leave"",""precede"",""Index"",""marsh"",""concern"",""justice"",""right"",""news"",""flow"",""fact"",""advantage"",""outburst"",""trouble"",""urge"",""run"",""right"",""originate"",""advertising"",""index"",""commercial"",""campaign""]" | |
valuable,"[""treasure"",""wealth"",""possession"",""collection""]" | |
One,"[""Whole"",""LIMIT"",""extremity"",""number"",""integer"",""size"",""unit"",""size"",""limit"",""whole"",""digit"",""item"",""amount"",""self""]" | |
S |
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
{"@context": ["http://api.conceptnet.io/ld/conceptnet5.5/context.ld.json", "http://api.conceptnet.io/ld/conceptnet5.5/pagination.ld.json"], "@id": "/c/en/example", "edges": [{"@id": "/a/[/r/IsA/,/c/en/apology/n/,/c/en/example/n/]", "dataset": "/d/wordnet/3.1", "end": {"@id": "/c/en/example/n", "label": "example", "language": "en", "sense_label": "n", "term": "/c/en/example"}, "license": "cc:by/4.0", "rel": {"@id": "/r/IsA", "label": "IsA"}, "sources": [{"@id": "/s/resource/wordnet/rdf/3.1", "contributor": "/s/resource/wordnet/rdf/3.1"}], "start": {"@id": "/c/en/apology/n", "label": "apology", "language": "en", "sense_label": "n", "term": "/c/en/apology"}, "surfaceText": "[[apology]] is a type of [[example]]", "weight": 2.0}, {"@id": "/a/[/r/IsA/,/c/en/example/n/,/c/en/admonition/n/]", "dataset": "/d/wordnet/3.1", "end": {"@id": "/c/en/admonition/n", "label": "admonition", "language": "en", "sense_label": "n", "term": "/c/en/admonition"}, "license": "cc:by/4.0", "rel": {"@id": "/r/IsA", "label": "IsA"}, "sourc |
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
$("body") | |
.append($('<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>')) | |
.append($('<link href="https://cdnjs.cloudflare.com/ajax/libs/c3/0.4.11/c3.min.css" rel="stylesheet" type="text/css">')) | |
.append($('<script src="https://cdnjs.cloudflare.com/ajax/libs/c3/0.4.11/c3.min.js"></script>')) | |
.append($('<script src="https://cdn.datatables.net/1.10.13/js/jquery.dataTables.min.js"></script>')) | |
.append($('<script src="https://cdn.rawgit.com/anvaka/panzoom/v1.2.1/dist/panzoom.min.js"></script>')) | |
.append($('<link href="https://cdn.datatables.net/1.10.13/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css">')) | |
; | |
function augmentFrame() { |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 7.
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
track,room,floor,start,end,title,speaker,abstract,tags | |
Fika,General area,3rd Floor,830,915,Registration and coffee,,, | |
Keynote,Fleming,3rd Floor,915,930,Welcome and Introduction,Rik Van Bruggen,Just an Intro,"intro, housekeeping" | |
Keynote,Fleming,3rd Floor,915,930,Welcome and Introduction,Lars Nordwall,Just an Intro,"intro, housekeeping" | |
Keynote,Fleming,3rd Floor,915,930,Welcome and Introduction,Dirk Möller,Just an Intro,"intro, housekeeping" | |
Keynote,Fleming,3rd Floor,930,1030,Opening Keynote,Emil Eifrem,"All the important stuff, brought to you by Emil.","intro, update, company, project, open source, future, strategy" | |
Business Impact Track,Fleming,3rd Floor,1100,1130,Scaling Neo4j to Millions of Homes with Kubernetes ,Rickard Damm,"Scaling Neo4j to millions of homes with Kubernetes | |
Telia Zone is a platform that allows consumers to experience superior digital solutions at home, simplifying everyday life by making time at home more enjoyable. Telia Zone gained a lot of press for launching both an open developer A |
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
id | title | desc | |
---|---|---|---|
1 | title 1 | desc1 | |
2 | desc 2 |