This file contains 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
REGISTER_USER | |
request: {"certificate": "-----BEGIN CERTIFICATE-----\nMIIEUzCCAzugAwIBAgICBgIwDQYJKoZIhvcNAQELBQAwazETMBEGCgmSJomT8ixkARkWA29yZzEX\nMBUGCgmSJomT8ixkARkWB2NpbG9nb24xCzAJBgNVBAYTAlVTMRAwDgYDVQQKEwdDSUxvZ29uMRww\nGgYDVQQDExNDSUxvZ29uIE9wZW5JRCBDQSAxMB4XDTExMDQyMTE5MzMyMVoXDTExMDQyMjA3Mzgy\nMVowZTETMBEGCgmSJomT8ixkARkTA29yZzEXMBUGCgmSJomT8ixkARkTB2NpbG9nb24xCzAJBgNV\nBAYTAlVTMQ8wDQYDVQQKEwZHb29nbGUxFzAVBgNVBAMTDnRlc3QgdXNlciBBNTAxMIIBIjANBgkq\nhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu+SQwAWMAY/+6eZjcirp0YfhKdgM06uZmTU9DPJqcNXF\nROFCeGEkg2jzgfcK5NiT662YbQkxETWDl4XZazmbPv787XJjYnbF8XErztauE3+caWNOpob2yPDt\nmk3F0I0ullSbqsxPvsYAZNEveDBFzxCeeO+GKFQnw12ZYo968RcyZW2Fep9OQ4VfpWQExSA37FA+\n4KL0RfZnd8Vc1ru9tFPw86hEstzC0Lt5HuXUHhuR9xsW3E5xY7mggHOrZWMQFiUN8WPnrHSCarwI\nPQDKv8pMQ2LIacU8QYzVow74WUjs7hMd3naQ2+QgRd7eRc3fRYXPPNCYlomtnt4OcXcQSwIDAQAB\no4IBBTCCAQEwDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCBLAwEwYDVR0lBAwwCgYIKwYBBQUH\nAwIwGAYDVR0gBBEwDzANBgsrBgEEAYKRNgEDAzBsBgNVHR8EZTBjMC+gLaArhilodHRwOi8vY3Js\nLmNpbG9nb24ub3JnL |
This file contains 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
RabittMQ / Erlang remote connection configuration issues/notes/solutions | |
========================================================================= | |
Testing with "rabbitmq-server_1.7.2" on Ubuntu 10.04, "ami-2d4aa444" | |
"name" vs "sname" | |
------------------ | |
http://www.oceanobservatories.org/spaces/display/CIDev/Distributed+Erlang+and+OTP | |
This file contains 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
#!/bin/bash | |
#kill all capability containers | |
ps -ef | grep ^cc | awk '{print $2}' | xargs sudo kill | |
sudo rm /home/cc/lcaarch/epu_controller-service.log | |
sudo rm /home/cc/lcaarch/provisioner-service.log | |
sudo rm /home/cc/lcaarch/sensor_aggregator-service.log |
This file contains 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
def binary_search(e, l): | |
"""Binary search for e in l. Assume l is sorted. | |
Return 'True' if e exists, 'False' if not. | |
""" | |
llen = len(l) | |
if not llen: | |
return False | |
mid = llen/2 | |
if e == l[mid]: | |
return True |
This file contains 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
from twisted.web.server import Site | |
from twisted.web.resource import Resource | |
from twisted.internet import reactor | |
class Home(Resource): | |
def render(self, request): | |
return "homepage" | |
This file contains 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
# Ran on EC2, using AMI "ami-ccf615a5" (Ubuntu 9.04) | |
# "Thrift" was installed as root. "Cassandra" and "Twissandra" were installed and run using a non-root user ("cassandra") I created. | |
apt-get update | |
#deps for Thrift and Cassandra. | |
apt-get -y install openjdk-6-jdk ant subversion g++ make flex bison python-dev ruby1.8-dev libboost-dev libevent-dev automake pkg-confi | |
g libtool make | |
# Thrift install: | |
svn co http://svn.apache.org/repos/asf/incubator/thrift/trunk thrift |
This file contains 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
ommit 44477cdf358e448335f37159679fd2b8d243f0a6 | |
Author: Alex Clemesha <[email protected]> | |
Date: Thu Feb 11 13:12:28 2010 -0800 | |
Starting to test nimbustest test client... | |
diff --git a/web/src/python/nimbusrest/admin/connection.py b/web/src/python/nimbusrest/admin/connection.py | |
index c1ebdf7..c2b5dfa 100644 | |
--- a/web/src/python/nimbusrest/admin/connection.py | |
+++ b/web/src/python/nimbusrest/admin/connection.py |
This file contains 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
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"><soapenv:Header><wsa:MessageID soapenv:mustUnderstand="0">uuid:eaa07640-0627-11df-acb3-da622fb163ae</wsa:MessageID><wsa:Action soapenv:mustUnderstand="0">http://schemas.xmlsoap.org/ws/2004/03/addressing/fault</wsa:Action><wsa:From soapenv:mustUnderstand="0" xmlns:ns2="http://www.globus.org/2008/12/nimbus/contextualization"><wsa:Address>https://tp-vm1.ci.uchicago.edu:8445/wsrf/services/NimbusContextBroker</wsa:Address><wsa:ReferenceProperties><ns2:NimbusContextBrokerKey soapenv:mustUnderstand="0" xmlns:ns2="http://www.globus.org/2008/12/nimbus/contextualization" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">e20e6690-0627-11df-acb2-da622fb163ae</ns2:NimbusContextBrokerKey></wsa:ReferenceProperties></wsa:From><wsa:RelatesTo RelationshipType="wsa:Reply" soapenv:mustUnde |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"> | |
<soapenv:Header> | |
<wsa:MessageID soapenv:mustUnderstand="0">uuid:F5290FB0-E7E2-4821-A030-35B96C84D58C</wsa:MessageID> | |
<wsa:To soapenv:mustUnderstand="0">https://tp-vm1.ci.uchicago.edu:8445/wsrf/services/NimbusContextBroker</wsa:To> | |
<wsa:Action soapenv:mustUnderstand="0"> | |
http://www.globus.org/2008/12/nimbus/contextualization/NimbusContextBrokerPortType/retrieveRequest</wsa:Action> |
This file contains 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
<cluster xmlns="http://www.globus.org/2008/06/workspace/metadata/logistics"> | |
<workspace> | |
<name>head-node</name> | |
<image>ami-xxxxxxxx</image> | |
<quantity>1</quantity> | |
<nic wantlogin="true">public</nic> | |
<ctx> | |
<provides> |
NewerOlder