I hereby claim:
- I am if6was9 on github.
- I am robschoening (https://keybase.io/robschoening) on keybase.
- I have a public key ASD6XutNzM3HQFgOn0I8q3Z0O-yD-4jEwWErKKqIBMTotgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| Edge edge = graph.traversal() | |
| .V().hasLabel("Person").has("name","Rob").as("p") | |
| .V().hasLabel("Dog").has("name","Homer").as("d") | |
| .coalesce( | |
| __.inE( "HAS" ).where(__.outV().as("p")) , | |
| __.addE("HAS").from("p")) | |
| .tryNext().get(); |
| #!/bin/bash | |
| cat <<EOF | |
| In another shell, set the following env var: | |
| export DOCKER_HOST=tcp://localhost:2376 | |
| EOF | |
| socat -v -ls TCP-LISTEN:2376,reuseaddr,fork UNIX-CLIENT:/var/run/docker.sock |
| #!/bin/bash |
| $ ./gradlew installNeo4j | |
| Starting a new Gradle Daemon for this build (subsequent builds will be faster). | |
| :installNeo4j | |
| downloading neo4j...this could take a minute or two... | |
| untarring neo4j... | |
| starting neo4j... | |
| Starting Neo4j Server...WARNING: not changing user | |
| process [94256]... waiting for server to be ready..... OK. | |
| http://localhost:7474/ is ready. |
| Find node by ID | |
| ---------------- | |
| match (n) where id(n)=1 return n; | |
| Find all nodes by label | |
| ======================= | |
| match (m:Person) return m; |
I hereby claim:
To claim this, I am signing this object:
| # To run puppet master in the foreground | |
| puppet master --no-daemonize --verbose | |
| # To run puppet agent in the foreground | |
| puppet agent --no-daemonize --verbose --debug -o test |
| dd if=/dev/urandom bs=1k count=2 | shasum | cut -c 1-6 |
| export NEW_JDK_HOME=/usr/local/jdk1.6.0_38 | |
| export NEW_JDK_PRIORITY=2 | |
| alternatives --install "/usr/bin/java" "java" "$NEW_JDK_HOME/bin/java" $NEW_JDK_PRIORITY | |
| alternatives --install "/usr/bin/javac" "javac" "$NEW_JDK_HOME/bin/javac" $NEW_JDK_PRIORITY | |
| echo $NEW_JDK_PRIORITY | alternatives --config java | |
| echo $NEW_JDK_PRIORITY | alternatives --config javac |