Skip to content

Instantly share code, notes, and snippets.

View akollegger's full-sized avatar

Andreas Kollegger akollegger

View GitHub Profile
// example Gruntfile for webpack
module.exports = function (grunt) {
'use strict';
require('load-grunt-tasks')(grunt);
// Project configuration
grunt.initConfig({
// Metadata
pkg: grunt.file.readJSON('package.json'),
= Neo4j Graph Days =
:neo4j-version: 2.0.1
:author: Kenny Bastani
:bastardizer: Andreas Kollegger
:twitter: @kennybastani
== Create sample dataset
// setup
// hide
[source,cypher]
### Keybase proof
I hereby claim:
* I am akollegger on github.
* I am akollegger (https://keybase.io/akollegger) on keybase.
* I have a public key whose fingerprint is 9166 8205 7ECE CF08 1133 49DF 6A8F 2731 7FF4 55BD
To claim this, I am signing this object:
#!/usr/bin/env bash
# Gather Features - checkout and build all
mkdir features
cd features
# gather-common: checkout, build and install into local maven repository
git clone git://github.com/akollegger/gather-common.git
cd gather-common
mvn clean install -DperformRelease=true
@akollegger
akollegger / gist:156760
Created July 27, 2009 21:52
bin/textmate diff
diff --git a/bin/textmate b/bin/textmate
index 56d6231..2fda421 100755
--- a/bin/textmate
+++ b/bin/textmate
@@ -130,8 +130,8 @@ class TextmateInstaller < Thor
private
def remote_bundle_locations
- { :'Macromates Trunk' => {:scm => :svn, :url => 'http://macromates.com/svn/Bundles/trunk/Bundles'},
- :'Macromates Review' => {:scm => :svn, :url => 'http://macromates.com/svn/Bundles/trunk/Review/Bundles'},
diff --git a/src/main/java/com/example/models/Predicates.java b/src/main/java/com/example/models/Predicates.java
index e9e9d35..06ad491 100644
--- a/src/main/java/com/example/models/Predicates.java
+++ b/src/main/java/com/example/models/Predicates.java
@@ -1,6 +1,6 @@
package com.example.models;
-import org.neo4j.api.core.RelationshipType;
+import org.neo4j.graphdb.RelationshipType;
diff --git a/pom.xml b/pom.xml
index d699b0a..b76e082 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
<groupId>com.osinka</groupId>
<artifactId>mongo-scala-driver</artifactId>
<version>0.7.4</version>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
// import for MongoDB Scala Driver
import com.osinka.mongodb.{MongoObject}
import com.osinka.mongodb.shape._
import com.osinka.mongodb.wrapper.DBO
import com.osinka.mongodb.Preamble._
import com.mongodb.{Mongo,DBObject}
case class User extends MongoObject {
// just kidding. I haven't submitted answers, yet. But they will look like this...
start n=node:users(login="akollegger") return n