Skip to content

Instantly share code, notes, and snippets.

View jmfloreszazo's full-sized avatar

Jose María Flores Zazo jmfloreszazo

View GitHub Profile
#!/bin/sh
cd "././app" # change to SLN route
echo "dotnet build"
dotnet clean
dotnet build
rc=$?
if [[ $rc != 0 ]] ; then
echo -e "build failed"
exit $rc
fi
MATCH (n) -[r] -> () DELETE n, r
MATCH (n) DELETE n
CREATE(CityA:City { name: "City-A"})
CREATE(CityB:City { name: "City-B"})
CREATE(P1:Person { name: "Person-1"})
CREATE(P2:Person { name: "Person-2"})
CREATE(P3:Person { name: "Person-3"})
CREATE(P4:Person { name: "Person-4"})
CREATE(P5:Person { name: "Person-5"})
@jmfloreszazo
jmfloreszazo / dotNetMLG2022 - Sample1
Last active October 28, 2022 08:46
dotNetMLG2022
// Clear All
g.E().drop()
g.V().drop()
// Create vertices
g.addV('Employees').property('id', 'Disnesh').property('age', 28).property('occupation', 'Software designer').property('born', 'ISB').property('city', 'SJC')
g.addV('Employees').property('id', 'Gilfoyle').property('age', 30).property('occupation', 'VP of Architecture').property('born', 'YUL') .property('city', 'SJC')
g.addV('Employees').property('id', 'Richard').property('age', 29).property('occupation', 'CEO').property('born', 'OKC').property('city', 'SJC')
g.addV('Employer').property('id', 'Pied Piper').property('founded', '2014').property('city', 'SJC')