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
// gcloud projects list | |
:param projectId => 'xxxx' | |
// gcloud auth print-access-token | |
:param apiKey => 'xxx' | |
call apoc.load.json("https://data.neo4j.com/slideshare-neo4j.json") yield value | |
unwind value.User.Slideshow as slide | |
return slide limit 5; |
Code along on motherduck.com
ATTACH 'md:_share/stackoverflow/6c318917-6888-425a-bea1-5860c29947e5'
- Blog Post Part 1: https://motherduck.com/blog/exploring-stackoverflow-with-duckdb-on-motherduck-1/
- Blog Post Part 2: https://motherduck.com/blog/exploring-stackoverflow-with-duckdb-on-motherduck-2/
- Free DDBIA Ebook: https://motherduck.com/duckdb-book
SELECT count(*)
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
# -*- coding: utf-8 -*- | |
# https://developers.google.com/explorer-help/guides/code_samples#python | |
# pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib | |
# python playlist.py | |
import os | |
import sys | |
import json |
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
# docs https://www.slideshare.net/developers/documentation | |
# pip install xmltodict requests | |
import requests | |
import time | |
from hashlib import sha1 | |
import os | |
import json | |
import xmltodict |
We want to demonstrate how easy it is to model a domain as a graph and answer questions in almost natural language.
Graph Based Search and Discovery is prominent a use-case for graph databases like Neo4j.
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
//JAVA 20 | |
//DEPS org.roaringbitmap:RoaringBitmap:0.9.45 | |
//DEPS org.openjdk.jmh:jmh-generator-annprocess:1.36 | |
package de.jexp.rbm; | |
import org.openjdk.jmh.annotations.*; | |
import org.roaringbitmap.RoaringBitmap; | |
import java.util.BitSet; |
Today I came across a really interesting StackOverflow question:
Given a forest of trees in a Neo4j REST server, I`m trying to return a single tree given the root vertex. Being each tree quite large, I need a de-duplicated list of all vertices and edges in order to be able to reconstruct the full tree on the client side.
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
adam: addy, ade, adie, ad, adi, ady, atim | |
alexander: alex, alec, xander, lex, sandy, zander, ander, al, axel | |
amanda: mandy, manda, am, amy, mandi, mands, mendi | |
andrew: andy, drew, andre, and, drea, dre, andie, andi, andrews | |
angela: angie, angel, ang, anj, ange, angely, angelica, angelina, angelique | |
anna: ann, anne, annie, an, ania, anka, anushka, anoushka, anouska | |
anthony: tony, anth, ant, ton, anthoine, anton, antwan, antonin, antonius | |
ashley: ash, lee, ashie, ashy, ashleigh, ashlee, ashl, ashli, ashlin | |
aubrey: aub, bree, brey, brie, aubs, aubry, aubrie, aubri, auberon | |
augustus: august, gus, gustus, agus, agustus, augie, auggie, augy, gusy |
NewerOlder