Skip to content

Instantly share code, notes, and snippets.

@rbramley
rbramley / AndroidEmailAccounts.groovy
Created September 22, 2015 17:48
Companion gist for email extraction to list accounts & mailboxes
/**
* Copying and distribution of this file, with or without modification,
* are permitted in any medium without royalty provided the copyright
* notice and this notice are preserved. This file is offered as-is,
* without any warranty.
*
* Script to list accounts/mailboxes from an Android ADB email dump.
*
* @author Robin Bramley (c) 2015
*/
@rbramley
rbramley / CloudEvents-0.1.avsc
Created April 6, 2018 17:07
CloudEvents 0.1 Avro schema (draft)
{
"namespace": "CloudEvents",
"type": "record",
"name": "Event",
"fields": [
{"name": "cloudEventsVersion", "type": "string", "doc": "The version of the CloudEvents specification which the event uses. This enables the interpretation of the context."},
{"name": "eventType", "type": "string", "doc": "Type of the event data. Producers can specify the format of this, depending on their service. This enables the interpretation of data, and can be used for routing, policy and more."},
{"name": "eventTypeVersion", "type": ["null", "string"], "doc": "The version of the event-type. This enables the interpretation of data by eventual consumers, requires the consumer to be knowledgeable about the producer."},
{"name": "source", "type": "string", "doc": "This describes the event producer. Often this will include information such as the type of the event source, the organization publishing the event, and some unique idenfitiers. The exact syntax and semantics behind the data encoded in the URI is e
@rbramley
rbramley / keybase.md
Created January 25, 2019 10:48
Keybase

Keybase proof

I hereby claim:

  • I am rbramley on github.
  • I am rbramley (https://keybase.io/rbramley) on keybase.
  • I have a public key ASC71to_cVAewQ77VuUV4CpZEqsRJahjOmNulEO_B1CJ4Qo

To claim this, I am signing this object: