Skip to content

Instantly share code, notes, and snippets.

View bmorton's full-sized avatar

Brian Morton bmorton

  • Microsoft
  • Oakland, CA
View GitHub Profile
originally from:
https://gist.github.com/jlecour/9dd8022c542c9d353ed7
https://github.com/braintree/curator/issues/36

Keybase proof

I hereby claim:

  • I am bmorton on github.
  • I am bmorton (https://keybase.io/bmorton) on keybase.
  • I have a public key whose fingerprint is D4CC EA29 322D 1FFB D70B 00D5 B19A 0129 8E5B EF98

To claim this, I am signing this object:

{"android_action_bar_mode":"Bottom Icons and Text","graphie_single_dispatch":"Allow Graphie and workfeed reads","android_dummy_test_feed_v2_3":"Enabled","retina_mugshots":"Enabled","android_dummy_test_compose_v2_1":"Disabled","android_dummy_test_feed_v2_4":"Enabled","acc_keyboard":"Disabled","improve_feed_research":"Enabled","fe_css_remove_unused_styles":"Enabled","subscribe_pending_user_to_group":"Disabled","subscribe_pending_user_to_group_v2":"Enabled","avalanche_button_text_copy_change":"Invite","android_dummy_test_inbox_v2_5":"Enabled","office365_files":"Office 365 Files On","meow_group_chatroom":"Disabled","android_dummy_test_thread_v2_3":"Enabled","fe_css_remove_unused_styles_part_deux":"Disabled","bbc_yamicon":"Disabled","signup_reorder_v3":"No Reorder (Control)","calculate_user_counts":"Enabled","no_signup_desktop_lightbox":"Lightbox Enabled (Control)","android_universal_search_v2":"Enabled","work_first_group_redesign_move_post_by_email_link":"Enabled","acc_chat_typing":"Disabled","office365_login_and
@bmorton
bmorton / hello-world-0fbb804@.service
Created February 25, 2015 07:55
Unit files for fleet repro for #1131
[Unit]
Description=hello-world-0fbb804
After=docker.service
[Service]
EnvironmentFile=/etc/environment
User=core
TimeoutStartSec=0
ExecStartPre=/usr/bin/docker pull mmmhm/hello-world:0fbb804
ExecStartPre=-/usr/bin/docker rm -f hello-world-0fbb804-%i
FROM yammer/ruby:2.2.0
MAINTAINER Brian Morton "brian@mmm.hm"
# Install package dependencies for pg gem
RUN locale-gen en_US.UTF-8
RUN curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" >> /etc/apt/sources.list
RUN apt-get -y update
RUN apt-get -y install postgresql-client libpq-dev
@bmorton
bmorton / tmux.sh
Last active August 29, 2015 14:17 — forked from jin3110/tmux.sh
#!/bin/bash
# Usage
# =====
# ~~~
# /opt/bin/tmux.sh [tmux args...]
# ~~~
#
# How to install tmux in CoreOS toolbox
# =====================================
{
"type": "record",
"name": "test",
"namespace": "com.martinkl.bottledwater.dbschema.public",
"fields": [
{
"name": "id",
"type": [
{
"type": "null"
require 'rubygems'
require 'sinatra'
require 'active_record'
configure do
ActiveRecord::Base.establish_connection(
:adapter => 'sqlite3',
:database => 'asides.sqlite3')
@bmorton
bmorton / gist:1055639
Created June 30, 2011 04:27
Google CDN with fallback
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="/public/scripts/libs/jquery-1.4.4.min.js"%3E%3C/script%3E'))</script>
@bmorton
bmorton / arduino.pde
Created August 3, 2011 07:10
Arduino Experiment
/*
* Set LED brightness by serial write
* An Arduino experiment
* by Brian Morton
*/
int ledPin = 9;
int brightness = 0;
void setup() {