Skip to content

Instantly share code, notes, and snippets.


Topper Bowers tobowers

View GitHub Profile
View gist:9916965
alerts on:
http alerts
absence of events
dimensions of an event (queue wait time over 2 seconds, storage space used over 80%)
presence of a single event (oncall support request)
possibilities (for custom code)
tobowers / select.rb
Created Sep 15, 2014
a quick select implementation
View select.rb
class Array
def select(&block)
new_array = []
self.each do |array_element|
new_array << array_element if
tobowers / client.rb
Last active Aug 29, 2015
simple set key
View client.rb
class Client < ActiveRecord::Base
after_initialize :set_key
def set_key
self.client_key ||= SecureRandom.urlsafe_base64(20, false)
View bad.rb
class ApiFrontEnd
def consume(attrs)
instance =
View gist:36250268ec0521d24bac
node_modules/.bin/intern-runner config=tests/intern functionalSuites=tests/functional/index
Listening on
Starting tunnel...
UnknownError: [POST http://localhost:4444/wd/hub/session / {"desiredCapabilities":{"browserName":"safari","version":"7","platform":"OS X 10.9","name":"tests/intern","idle-timeout":60,"selenium-version":"2.44.0"}}] No enum constant org.openqa.selenium.Platform.OS X 10.9
at Server._post <node_modules/intern/node_modules/leadfoot/Server.js:68:9>
at Server.createSession <node_modules/intern/node_modules/leadfoot/Server.js:290:15>
at Suite.setup <node_modules/intern/runner.js:222:22>
at callOnSuite <node_modules/intern/lib/Suite.js:157:42>
at call <node_modules/intern/lib/Suite.js:208:13>
at <node_modules/intern/lib/Suite.js:306:4>
View goodDsl.js
var Masthead = new CustomComponent;
typeIntoLocation: function(text) {
View insruanceplan
orientdb {db=vitals-test}> select expand(both('Specializes').both('Accepts').name) from Specialty
# |@CLASS|value
0 |null |aetna
1 |null |aetna
2 item(s) found. Query executed in 0.003 sec(s).
View gist:394370c13c0beafe2dd5
Talk #1: ETL Architecture For Experimentation at Flatiron Health
Gil will share some of the principles and techniques used by Flatiron to build the nation’s largest cancer database. Flatiron Health’s platform connects cancer centers across the country on a common technology infrastructure, supporting treatment for about 1 in 5 active cancer patients in the U.S. Their architecture is focused on enabling rapid development iterations with cancer specialists, nurses, and other stakeholders. Rapidly integrating medical data from hundreds of heterogeneous source systems required Flatiron to develop a unique data integration and processing framework. Iterating quickly while incorporating knowledge from oncologists, nurses, medical informaticists, and healthcare analysts has largely shaped this architecture as well.
The talk will focus on tooling and the architecture that we built to support rapid iteration on complex ETL processes (iteration itself is quick) and minimizes knowledge translation iterations (number
View gist:8453
Message = MBX.JsModel.create("Message", {
iAmAClassAttribute: '',
instanceMethods: {
defaults: {
content: "I'm default content"
iAmAnInstanceMethod: function () {
beforeCreate: function () {},
View gist:397354
require 'rubygems'
gem 'zookeeper'
require 'zookeeper'
class EventHandler
import org.apache.zookeeper.Watcher
You can’t perform that action at this time.