Skip to content

Instantly share code, notes, and snippets.

View bradrobertson's full-sized avatar

Brad Robertson bradrobertson

  • Toronto, ON, Canada
View GitHub Profile
@bradrobertson
bradrobertson / nginx.json
Created October 14, 2016 13:32
DCOS Nginx Service config
{
"id": "/nginx",
"container": {
"type": "DOCKER",
"docker": {
"image": "nginx",
"network": "BRIDGE",
"portMappings": [
{
"hostPort": 0,
@bradrobertson
bradrobertson / identified.rb
Created January 3, 2019 19:22
An ID Reservation component
module IdentificationComponent
module Messages
module Events
class Identified
include Messaging::Message
attribute :source_id, String
attribute :common_id, String
end
end