Skip to content

Instantly share code, notes, and snippets.

{
"type": "object",
"properties": {
"text": {
"type": "string",
"title": "Label Text"
}
}
}
BOB: 9f21985b-7717-4a8e-93c3-408dbac12d6b
ALICE: 56ba2d33-10b1-4d7d-916e-e32c3af3a109
@sqrtofsaturn
sqrtofsaturn / update.json
Created October 26, 2016 22:50
Update to add custom AD registry
{
"$set": {
"octoblu.registries.connectors.ad.uri": "https://gist.githubusercontent.com/sqrtofsaturn/ca5c6e5899a582aae00752324c7034ce/raw/"
}
}
@sqrtofsaturn
sqrtofsaturn / curl2.txt
Created October 14, 2016 18:08
meshblu-http failed curl
curl -v -H 'Host: meshblu-http.octoblu.com' http://prod-meshblu-http-914038904.us-west-2.elb.amazonaws.com/status
* Trying 52.11.55.250...
* Connected to prod-meshblu-http-914038904.us-west-2.elb.amazonaws.com (52.11.55.250) port 80 (#0)
> GET /status HTTP/1.1
> Host: meshblu-http.octoblu.com
> User-Agent: curl/7.49.1
> Accept: */*
>
< HTTP/1.1 502 Bad Gateway
< Server: awselb/2.0
@sqrtofsaturn
sqrtofsaturn / curl.txt
Last active October 14, 2016 18:08
meshblu-http 502 ALB
curl -v https://meshblu-http.octoblu.com/status
* Trying 127.0.0.1...
* Connected to meshblu-http.octoblu.com (127.0.0.1) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate: *.octoblu.com
* Server certificate: DigiCert SHA2 Secure Server CA
* Server certificate: DigiCert Global Root CA
> GET /status HTTP/1.1
> Host: meshblu-http.octoblu.com
> User-Agent: curl/7.49.1
All Flow: 26468
Online: 4875
Offline: 21594
openssl enc -aes-256-cbc -d -kfile hpe_aes.key -in encrypted -out plain
#!/bin/bash
export FLEETCTL_TUNNEL=54.87.207.233
export FLEETCTL_ENDPOINT=http://localhost:2379
echo "destroying [email protected]"
fleetctl destroy [email protected]
echo "destroying [email protected]"
fleetctl destroy [email protected]
echo "destroying [email protected]"
#!/bin/bash
export FLEETCTL_TUNNEL=54.87.207.233
export FLEETCTL_ENDPOINT=http://localhost:2379
echo "destroying nanocyte-engine-queue-length-logger.service"
fleetctl destroy nanocyte-engine-queue-length-logger.service
echo "destroying octoblu-meshblu-balancer-firehose-socket.io-register-elb.service"
fleetctl destroy octoblu-meshblu-balancer-firehose-socket.io-register-elb.service
echo "destroying octoblu-meshblu-balancer-firehose-socket.io-register-sidekick.service"
#!/bin/bash
export FLEETCTL_TUNNEL=54.87.207.233
export FLEETCTL_ENDPOINT=http://localhost:2379
echo "destroying [email protected]"
fleetctl destroy [email protected]
echo "destroying [email protected]"
fleetctl destroy [email protected]
echo "destroying [email protected]"