Skip to content

Instantly share code, notes, and snippets.

MATCH c1, c2
WHERE c1.name = "Albuquerque" AND c2.name = "Austin"
RETURN c1.name, c2.name
MATCH (c1 {name: "Albuquerque"}), (c2 {name: "Austin"})
RETURN c1.name, c2.name
SELECT city.name
FROM cities
WHERE city.name IN ('Albuquerque', 'Austin')
(ns ttr.board
(:require [clojurewerkz.neocons.rest :as nr]
[clojurewerkz.neocons.rest.nodes :as nn]
[clojurewerkz.neocons.rest.labels :as nl]
[clojurewerkz.neocons.rest.relationships :as nrl]
[clojurewerkz.neocons.rest.cypher :as cy]))
(def neo4j-url "http://localhost:7474/db/data")
(def vertices
[
create index on :City(name);
start n=node:City(name="Atlanta")
return n;
> MissingIndexException: Index `City` does not exist
cfg.vm.provision "puppet_server" do |p|
p.puppet_server = 'puppet.local'
p.facter = {
:pluginsync => true,
:ssldir => "/etc/puppet/ssl",
}
p.puppet_node = "dev.local"
p.client_cert_path = "files/puppet_keys/dev.local/certs/dev.local.pem"
p.client_private_key_path = "files/puppet_keys/dev.local/private_keys/dev.local.pem"
p.options = "-t --environment vagrant"
There are errors in the configuration of this machine. Please fix
the following errors and try again:
VagrantPlugins::Puppet::Config::PuppetServer:
* The following settings shouldn't exist: client_cert_path, client_private_key_path
// Generated by CoffeeScript 1.6.3
(function() {
method({
key1: val1,
key2: val2
}, arg2);
}).call(this);
method
key1: val1
key2: val2
, arg2
--with-cc-opt='-g
-O2
-fstack-protector
--param=ssp-buffer-size=4
-Wformat
-Wformat-security
-Werror=format-security
-D_FORTIFY_SOURCE=2'
--with-ld-opt='-Wl,-Bsymbolic-functions
-Wl,-z,relro'
--
-- xmonad example config file for xmonad-0.9
--
-- A template showing all available configuration hooks,
-- and how to override the defaults in your own xmonad.hs conf file.
--
-- Normally, you'd only override those defaults you care about.
--
-- NOTE: Those updating from earlier xmonad versions, who use
-- EwmhDesktops, safeSpawn, WindowGo, or the simple-status-bar
iex(1)> x = [1,2,3]
[1, 2, 3]
iex(2)> x = [4,5,6]
[4, 5, 6]
iex(3)> ^x = [1,2,3]
** (MatchError) no match of right hand side value: [1, 2, 3]