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
Offset SSTables Write Latency Read Latency Row Size Column Count | |
1 190 0 0 0 0 | |
2 12 0 0 0 0 | |
3 0 0 0 0 0 | |
4 0 0 0 0 0 | |
5 0 0 0 0 0 | |
6 0 0 0 0 0 | |
7 0 0 0 0 0 | |
8 0 0 0 0 0 | |
10 0 0 0 0 0 |
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
GLOB sdist-make: /w/python-driver/setup.py | |
py26 recreate: /w/python-driver/.tox/py26 | |
py26 installdeps: nose, mock, ccm, unittest2 | |
py26 inst: /w/python-driver/.tox/dist/cassandra-driver-1.0.0-beta2-.zip | |
py26 runtests: commands[0] | /w/python-driver/.tox/py26/bin/python setup.py build_ext --inplace | |
running build_ext | |
py26 runtests: commands[1] | nosetests tests/unit/ | |
................................................................................. | |
---------------------------------------------------------------------- | |
Ran 81 tests in 0.168s |
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
tox -e py26 | |
GLOB sdist-make: /w/python-driver/setup.py | |
py26 recreate: /w/python-driver/.tox/py26 | |
py26 installdeps: nose, mock, ccm | |
py26 inst: /w/python-driver/.tox/dist/cassandra-driver-1.0.0-beta2-.zip | |
py26 runtests: commands[0] | /w/python-driver/.tox/py26/bin/python setup.py build_ext --inplace | |
running build_ext | |
py26 runtests: commands[1] | nosetests tests/unit/ | |
.........EEEE........EE.Exception in thread Thread-1: | |
Traceback (most recent call last): |
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
#!/usr/bin/env python | |
# Licensed to Tomaz Muraus under one or more | |
# contributor license agreements. See the NOTICE file distributed with | |
# this work for additional information regarding copyright ownership. | |
# Tomaz muraus licenses this file to You under the Apache License, Version 2.0 | |
# (the "License"); you may not use this file except in compliance with | |
# the License. You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
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
[global] | |
username=foo | |
api_key=bar | |
verify_ssl=true | |
auth_url=aurl | |
[registry] | |
username=foo1 | |
api_key=bar1 |
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
/** | |
* En example which uses EventsFeedPoller abstraction to poll the events feed | |
* and print all of the events to the standard output. | |
*/ | |
var Client = require('../lib').Client; | |
var EventsFeedPoller = require('../lib').EventsFeedPoller; | |
var EVENT_KEYS = [ | |
'service.join', | |
'service.timeout', |
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
var Client = require('service-registry-client').Client; | |
var client = new Client('myuser', 'myapikey', null); | |
var heartbeatTimeout = 15, serviceMetadata = {'tags': ['api']}; | |
client.services.create('serviceId', 15, serviceMetadata, function(err, id) { | |
// Service has been created, start heartbeating. | |
hb.start(); | |
}); |
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
var Client = require('service-registry-client').Client; | |
var client = new Client('myuser', 'myapikey', null); | |
var heartbeatTimeout = 15, serviceMetadata = {'tags': ['api']}; | |
client.sessions.create(heartbeatTimeout, {}, function(err, seId, data, hb) { | |
client.services.create(seId, 'serviceId', serviceMetadata, function(err, id) { | |
// Session and service has been created, start heartbeating. | |
hb.start(); |
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
Vagrant.configure("2") do |config| | |
config.vm.box = "dummy" | |
config.ssh.private_key_path = "/home/myuser/.ssh/id_rsa_my_private_key" | |
config.vm.provider :rackspace do |rs| | |
rs.username = "YOUR USERNAME" | |
rs.api_key = "YOUR API KEY" | |
rs.flavor = /512MB/ | |
rs.image = /Ubuntu/ |
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
server { | |
listen 80; | |
server_name naturalmusclezone.com www.naturalmusclezone.com; | |
rewrite ^ https://$host$request_uri? permanent; | |
} | |
server { | |
listen 443 ssl; |