Skip to content

Instantly share code, notes, and snippets.

View jayniz's full-sized avatar
💭
I like turtles!

Jannis Hermanns jayniz

💭
I like turtles!
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jayniz on github.
  • I am jannis (https://keybase.io/jannis) on keybase.
  • I have a public key ASD9PibKRAXJiUb5qH8tzjOEnOxmg5_ndgzfGhy-kTKkbQo

To claim this, I am signing this object:

require 'json'
require 'json-schema'
schema = JSON.parse <<JSON
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"tag": {
"oneOf": [
@jayniz
jayniz / gist:1869805
Created February 20, 2012 15:52
could not create data source [nioneodb]
org.neo4j.graphdb.TransactionFailureException: Could not create data source [nioneodb], see nested exception for cause of error
at org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:161)
at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:104)
at org.neo4j.kernel.EmbeddedGraphDbImpl.<init>(EmbeddedGraphDbImpl.java:187)
at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:80)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.jruby.javasupport.JavaConstructor.newInstanceDirect(JavaConstructor.java:291)
t.out(Movie).female_likers
module Girl
def self.route_conditions
{gender: :female}
end
end
module Movie
def self.route_conditions
{ type: 'Movie' }
end
module Movie
def self.route_conditions
{ type: 'Movie' }
end
end
my_node.out(Movie)
my_node.out.filter(type: 'Movie')
yard server & sleep 3 && open http://localhost:8808/docs/file/README.markdown
gem "pacer-jogger", :require => "jogger"