This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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 | |
[ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create index on :City(name); | |
start n=node:City(name="Atlanta") | |
return n; | |
> MissingIndexException: Index `City` does not exist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated by CoffeeScript 1.6.3 | |
(function() { | |
method({ | |
key1: val1, | |
key2: val2 | |
}, arg2); | |
}).call(this); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
method | |
key1: val1 | |
key2: val2 | |
, arg2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] |