Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<rexster>
<http>
<io-strategy>leader-follower</io-strategy>
</http>
<rexster-server-port>8182</rexster-server-port>
<rexster-server-host>0.0.0.0</rexster-server-host>
<rexster-shutdown-port>8183</rexster-shutdown-port>
<rexster-shutdown-host>127.0.0.1</rexster-shutdown-host>
<rexpro-server-port>8184</rexpro-server-port>
@tglines
tglines / test_cassandra.py
Created August 21, 2013 18:59
Simple test of cqlengine in python with graph-ish sort of data
import uuid
from datetime import datetime
from cqlengine import columns
from cqlengine.models import Model
from cqlengine import connection
from cqlengine.management import sync_table
class UserModel(Model):
id = columns.UUID(primary_key=True, default=uuid.uuid4)
TypeError: Object function (options, callback) {
options = options || {};
var collection = null,
mongoStore = Store.prototype,
url = getConnectionURL(options, callback),
details = parseConnectionURL(url), // mongodb 0.7.9 parser is broken, this fixes it
db = new mongo.Db(details.dbname, new mongo.Server(details.host, details.port, options)),