Admittedly, this is not likely to be something you do a lot in production … but while playing around in a sandbox, I have found it useful to have a quick command to “empty” my database
MATCH (n)
DETACH DELETE n
Admittedly, this is not likely to be something you do a lot in production … but while playing around in a sandbox, I have found it useful to have a quick command to “empty” my database
MATCH (n)
DETACH DELETE n
I harvested two large shopping bags stuffed with garlic scapes today. I’ll blanch and freeze a bunch; but, this year, I am going to try pickling some garlic scapes too.
It is somewhat ironic that I continue to use print statements as my debugging tool of choice when programming but spent a decent bit of time trying to find a cypher query debugger. Just use a print statement — or, in this case, return.
When my query returned an error indicating that the variable isn’t defined even though I copy/pasted the variable name from whence I defined it:
I could just omit the component of the query with the error and try returning this variable
And performing operations on null values may not get me anywhere. Adding a replacement command to drop the commas produces integer values:
Today was the first day our two older kittens got to play outside. They were cautious at first; but, by the evening, they were running across the back patio chasing each other and playing in the grass. When Anya went to bed, they ran up to the patio outside of her room, and they came right inside when she opened the door.
I had been thinking it seemed like the fireflies were missing this summer — even searched the news and read an article about all of the things negatively impacting firefly populations (development, climate change, and light pollution). But I saw one on the greenhouse when I checked on the baby turkeys this morning. And, this evening, even though there’s a thunderstorm … we’re seeing little lights floating around the back yard.
We started our three sisters planting today — about 660 sq ft of tilled soil. I found an open pollinated SH2 corn developed by Kultursaatin in Germany, which we planted today. Anya interspersed the field with Rouge Vif D’Etampes pumpkins. In about two weeks, we’ll add scarlet runner beans. Even if we don’t produce enough to sell this year, we’ll grow enough seeds to expand the garden area this year.
Since I have the /plugins directory persisted, I can use wget <URL> to grab a JAR file and place it into the plugins folder. Restart the container and the plugin is active.
Example installing APOC extended plugin:
cd /docker/neo4j/plugins;wget https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/5.11.0/apoc-5.11.0-extended.jar;docker stop neo4j;docker start neo4j
I wanted to test some of the Awesome Procedures on Cypher (APOC) functions, but first I needed to install the plugins. I needed to modify my docker run statement slightly to persist the /plugins directory and install APOC core:
docker run -dit -p 7474:7474 -p 7687:7687 --volume=/docker/neo4j/data:/data --volume=/docker/neo4j/conf:/var/lib/neo4j/conf --volume=/docker/neo4j/plugins:/plugins -e NEO4J_AUTH=none -e NEO4J_apoc_export_file_enabled=true -e NEO4J_apoc_import_file_enabled=true -e NEO4J_apoc_import_file_use__neo4j__config=true -e NEO4J_PLUGINS=\[\"apoc\"\] --name neo4j neo4j