You create a GraphGist by creating a GitHub Gist in AsciiDoc and enter the URL to it in the form on this page.
Click on the Page Source button in the menu to see the source for this GraphGist!
data Position = Position Int Int Direction | |
deriving (Show, Eq, Read) | |
data Direction = N | E | W | S | |
deriving (Show, Eq, Enum, Bounded, Read) | |
data Command = L | R | M | |
deriving (Show, Eq, Enum, Bounded, Read) | |
data DeltaPosition = DeltaPosition Int Int deriving (Show) | |
data State = State { |
You create a GraphGist by creating a GitHub Gist in AsciiDoc and enter the URL to it in the form on this page.
Click on the Page Source button in the menu to see the source for this GraphGist!
You create a GraphGist by creating a GitHub Gist in AsciiDoc and enter the URL to it in the form on this page.
Click on the Page Source button in the menu to see the source for this GraphGist!
You create a GraphGist by creating a GitHub Gist in AsciiDoc and enter the URL to it in the form on this page.
Click on the Page Source button in the menu to see the source for this GraphGist!
library('RCurl') | |
library('RJSONIO') | |
query <- function(querystring) { | |
h = basicTextGatherer() | |
curlPerform(url="http://localhost:7474/db/data/cypher", | |
postfields=paste('query',curlEscape(querystring), sep='='), | |
writefunction = h$update, | |
verbose = FALSE | |
) |
#!/bin/bash | |
# tiny script to extract the logs of the latest startup sequence in a Neo4j instance | |
# | |
if (( $# == 0 )); then | |
echo "call me: $0 <path_to_messages.log>" | |
exit 1 | |
fi |
This GraphGist answers a Stackoverflow question.
Answer to this Stackoverflow Question