Skip to content

Instantly share code, notes, and snippets.

View akollegger's full-sized avatar

Andreas Kollegger akollegger

View GitHub Profile
#!/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
○ sudo ./bin/dance
[sudo] password for akollegger:
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://us.archive.ubuntu.com precise-updates InRelease
Ign http://us.archive.ubuntu.com precise-backports InRelease
Hit http://us.archive.ubuntu.com precise Release.gpg
Ign http://security.ubuntu.com precise-security InRelease
Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:2 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]
Get:3 http://security.ubuntu.com precise-security Release.gpg [198 B]
// 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]