Skip to content

Instantly share code, notes, and snippets.

from globusonline.graph.auth.goauth.storage import CassandraKeyStorage
import time
import json
from datetime import datetime
ks = CassandraKeyStorage(request)
ks.get_current_key()
keys = [ json.loads(key) for key in ks.cf.get('keys').values() ]
[ int(time.mktime(datetime.utcnow().timetuple())) > key['expiry'] for key in keys ]
#!/usr/bin/env python
# Copyright (c) 2009 Corey Goldberg (corey@goldb.org)
#
# Multi-Process, Multi-Thread, HTTP Load Generator
#
# requires Python 2.6+
import multiprocessing
import os
2013-12-05_20:56:44.93746 2013-12-05 20:56:44,924 ERROR [root][MainThread] "60b190ac-fb11-4a5a-8ad1-232ce92ac4af" "/billing/subscriptions//" "33.33.33.1" UNCAUGHT EXCEPTION:
2013-12-05_20:56:44.93765 Traceback (most recent call last):
2013-12-05_20:56:44.93775 File "/mnt/gearbox/nexus/current/graph/lib/python2.7/site-packages/globusonline-RELEASE_2011_06_06-py2.7.egg/globusonline/graph/app.py", line 312, in __call__
2013-12-05_20:56:44.93784 return self.application(environ, start_response)
2013-12-05_20:56:44.93793 File "/mnt/gearbox/nexus/current/graph/lib/python2.7/site-packages/globusonline-RELEASE_2011_06_06-py2.7.egg/globusonline/graph/request_id_middleware.py", line 24, in __call__
2013-12-05_20:56:44.93803 return self.application(environ, custom_start_response)
2013-12-05_20:56:44.93812 File "/mnt/gearbox/nexus/current/graph/lib/python2.7/site-packages/globusonline-RELEASE_2011_06_06-py2.7.egg/globusonline/graph/app.py", line 340, in __call__
2013-12-05_20:56:44.93821 return self.appl
Error in startup script: can't find package tile 0.6
while executing
"package require tile 0.6"
invoked from within
"if {$::tk_version < 8.5 || [regexp {^8\.5a[1-5]$} $::tk_patchLevel]} {
package require tile 0.6
}"
(file "./tablelist5.9/tablelist_tile.tcl" line 9)
invoked from within
"source ./tablelist5.9/tablelist_tile.tcl"
1
2 # this file holds configs that apply to all sites and should be included in
3 # html context for nginx configs
4
5 # GeoIP database to be used ... this can't go in a server clause
6 geoip_city /usr/share/GeoIP/GeoLiteCity.dat;
7 <<<<<<< HEAD
8 =======
9
10
[{'billing_period': u'Month', 'frequency': u'Recurring', 'rate_category': u'Monthly - Non Profit', 'name': u'Globus Online Plus', 'organization_restrictions': [u'non-profit'], 'price': u'7.00', 'description': u'', 'id': u'2c92c0f83f54bda7013f59e63e581ecc', 'free': False, 'plan_type': u'personal'}, {'billing_period': u'Annual', 'frequency': u'Recurring', 'rate_category': u'Annual - Non Profit', 'name': u'Globus Online Plus', 'organization_restrictions': [u'non-profit'], 'price': u'70.00', 'description': u'', 'id': u'2c92c0f93f54c101013f59e84de33eb6', 'free': False, 'plan_type': u'personal'}, {'billing_period': u'Month', 'frequency': u'Recurring', 'rate_category': u'Monthly - Commercial', 'name': u'Globus Online Plus', 'organization_restrictions': [u'commercial'], 'price': u'9.99', 'description': u'', 'id': u'2c92c0f83f5ad12c013f5d0bb6bb201d', 'free': False, 'plan_type': u'personal'}, {'billing_period': u'Annual', 'frequency': u'Recurring', 'rate_category': u'Annual - Commercial', 'name': u'Globus Online Plus',
Installing collected packages: glopy, html2text, httplib2, agamemnon, ipdb, IPy, ipython, Jinja2, kombu, lxml, M2Crypto, m2secret, Mako, MarkupSafe, mock, nose, nosexcover, oauth, oauth2, ordereddict, Paste, PasteDeploy, PasteScript, Paver, pyasn1, pycassa, pycrypto, pyes, Pygments, pyOpenSSL, pyparsing, pyramid, pyramid-beaker, pyramid-openid, python-dateutil, python-memcached, python-openid, PyYAML, PyJWT, rdfextras, rdflib, repoze.lru, requests, rsa, scrypt, suds, Tempita, testfixtures, thrift, translationstring, unittest2, urllib3, uWSGI, venusian, virtualenv, WebError, WebOb, WebTest, zope.component, zope.configuration, zope.deprecation, zope.dottedname, zope.event, zope.i18nmessageid, zope.interface, zope.schema
Running setup.py install for glopy
building 'glopy' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DOPENSSL_NO_SSL2 -fPIC -I/usr/include/globus -I/usr/lib/globus/include -I/usr/include -I/usr/include/python2.7 -c src/glopymodule.c -o buil
115 2013-09-19_16:02:38.12856 2013-09-19 16:02:38,128 ERROR [root][MainThread] "e80b505b-eede-424c-8185-538454ad5afe" "/billing/subscriptions/2c92c0fa40e75bd10140e9e6621e0246/" "33.33.33.1" UNCAUGHT EXCEPTION:
116 2013-09-19_16:02:38.12860 Traceback (most recent call last):
117 2013-09-19_16:02:38.12861 File "/usr/share/gearbox/nexus/current/graph/lib/python2.7/site-packages/globusonline-RELEASE_2011_06_06-py2.7.egg/globusonline/graph/app.py", line 312, in __call__
118 2013-09-19_16:02:38.12862 return self.application(environ, start_response)
119 2013-09-19_16:02:38.12864 File "/usr/share/gearbox/nexus/current/graph/lib/python2.7/site-packages/globusonline-RELEASE_2011_06_06-py2.7.egg/globusonline/graph/request_id_middleware.py", line 24, in __call__
120 2013-09-19_16:02:38.12865 return self.application(environ, custom_start_response)
121 2013-09-19_16:02:38.12865 File "/usr/share/gearbox/nexus/current/graph/lib/python2.7/site-packages/globusonline-RELEASE_2011_06_06-p
diff --git a/wp-content/advanced-cache.php b/wp-content/advanced-cache.php
old mode 100755
new mode 100644
diff --git a/wp-content/blogs.dir/11/files/2012/11/GlobusWORLD2013_square.png b/wp-content/blogs.dir/11/files/2012/11/GlobusWORLD2013_square.png
deleted file mode 100644
index 487d496..0000000
Binary files a/wp-content/blogs.dir/11/files/2012/11/GlobusWORLD2013_square.png and /dev/null differ
diff --git a/wp-content/themes/thematic/index.php b/wp-content/themes/thematic/index.php
index 2d32d75..e01cfb3 100755
--- a/wp-content/themes/thematic/index.php
* 9be3974 - (HEAD, integration) Merge commit 'JIRA-GRAPH-1181-SIGNOFF-1' into integration (11 seconds ago) <Mattias Lidman>
|\
| * e5d3133 - (JIRA-GRAPH-1181-SIGNOFF-1, JIRA-GRAPH-1173-SIGNOFF-1, origin/JIRA-GRAPH-1173) Some unit tests for billing.utilities [#GRAPH-1173 transition:31] (7 days ago) <Brendan McCollam>
| * f405c9e - Move the subscription params into utilities [#GRAPH-1173 transition:31] (7 days ago) <Brendan McCollam>
| * cc7d619 - Create subscriptions works [#GRAPH-1173 transition:31] (8 days ago) <Brendan McCollam>
| * c9fb721 - Create subscriptions [#GRAPH-1173 transition:31] (12 days ago) <Brendan McCollam>
| * ecf3b01 - Merge branch 'integration' into JIRA-GRAPH-1173 (12 days ago) <Brendan McCollam>
| |\
| * | e3faabc - Included test data for products [#GRAPH-1173 transition:31] (12 days ago) <Brendan McCollam>
| * | 1bdce67 - Comment fix [#GRAPH-1173 transition:31] (12 days ago) <Brendan McCollam>