Skip to content

Instantly share code, notes, and snippets.

@scottmeyer
scottmeyer / demo.md
Last active May 30, 2018 16:17
Demo Script

Questions (could be covered in break-out sessions)

  1. Should we demo resiliency and have Ross upgrade clusters or restart services?
  2. Should we flash datadog/victorops dashboards to show monitoring capability?

Prerequisites

  1. Create twilio profile for demo
  2. Softphone config, phone numbers
  3. Setup demo vehicle (with twilio originating )

ikura create acn-demo --from-profile=acn-demo.ikura

@scottmeyer
scottmeyer / json
Created January 8, 2018 16:29
ingest grok
POST _ingest/pipeline/_simulate
{
"pipeline" : {
"on_failure": [
{
"set": {
"field": "parse.error",
"value": "{{ _ingest.on_failure_message }}"
}
}
GET http://localhost:15536/login HTTP/1.1
Host: localhost:15536
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8
// Generated on 2013-12-24 using generator-angular 0.7.1
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
@scottmeyer
scottmeyer / gist:7470642
Created November 14, 2013 17:18
We couldn't find a IConfigureTransport implementation for your selected transport: RabbitMQ
Configure.Serialization.Json();
Configure.Features
.Disable<Sagas>()
.Disable<SecondLevelRetries>()
.Disable<StorageDrivenPublisher>()
.Disable<AutoSubscribe>();
Configure.Transactions.Disable();
adapterContainer.Register(
Component.For<APIService>()
.LifeStyle.PerWebRequest
);
base.Container
.Register(x => adapterContainer.Resolve<APIService>())
.ReusedWithin(ReuseScope.None);
base.Container.Adapter= new WindsorContainerAdapter(adapterContainer);