Skip to content

Instantly share code, notes, and snippets.

View mhodgson's full-sized avatar

Matt Hodgson mhodgson

  • Vendr
  • Boston, MA
View GitHub Profile
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
#!/bin/bash
# Setup and start TEstingBot for your TravisCI build
# This script requires your .travis.yml to include the following two private env variables:
# TESTINGBOT_KEY
# TESTINGBOT_SECRET
# Follow the steps at http://blog.testingbot.com/2012/12/31/travis-ci-selenium-testing-with-testingbot to set that up.
#
# Curl and run this script as part of your .travis.yml before_script section:
# before_script:
@mhodgson
mhodgson / sauce_connect_setup.sh
Last active February 23, 2017 20:46
Custom Sauce Labs / Travis CI Integration
#!/bin/bash
# Setup and start Sauce Connect for your TravisCI build
# This script requires your .travis.yml to include the following two private env variables:
# SAUCE_USERNAME
# SAUCE_ACCESS_KEY
# Follow the steps at https://saucelabs.com/opensource/travis to set that up.
#
# Curl and run this script as part of your .travis.yml before_script section:
# before_script:
@mhodgson
mhodgson / dabblet.css
Created July 13, 2012 13:45
Boundless Plus v2 layout - Hodgie
/* Boundless Plus v2 layout - Hodgie */
html {
height: 100%;
max-height: 100%;
}
body {
margin: 0;
background-color: #333;
height: 100%;
max-height: 100%;
@mhodgson
mhodgson / dabblet.css
Created July 13, 2012 13:45
Boundless Plus v2 layout
/* Boundless Plus v2 layout */
html {
height: 100%;
max-height: 100%;
}
body {
margin: 0;
background-color: #333;
height: 100%;
max-height: 100%;
@mhodgson
mhodgson / dabblet.css
Created July 12, 2012 19:24
Boundless Plus v2 layout
/* Boundless Plus v2 layout */
html {
height: 100%;
max-height: 100%;
}
body {
margin: 0;
background-color: #333;
height: 100%;
max-height: 100%;
@mhodgson
mhodgson / dabblet.css
Created July 12, 2012 18:42 — forked from afraser/dabblet.css
Boundless Plus v2 layout
/* Boundless Plus v2 layout */
body {
margin: 0;
background-color: #333;
height: 100%;
max-height: 100%;
}
header{
height: 100%;
max-height: 100%;
@mhodgson
mhodgson / default.rb
Created August 30, 2010 17:12 — forked from survival/default.rb
Updated for Rails 3 and Bundler
#
# Cookbook Name:: delayed_job
# Recipe:: default
#
if ['solo', 'app', 'app_master'].include?(node[:instance_role])
# be sure to replace "app_name" with the name of your application.
run_for_app("maloca") do |app_name, data|
#!/bin/bash
# Setup and start BrowserStack Tunnel for your TravisCI build
#
# This script was adopted from Santiago Suarez Ordoñez's Sauce Connect
# setup script: https://gist.github.com/santiycr/5139565/
#
# This script requires your .travis.yml to include the following private
# env variable:
#
@mhodgson
mhodgson / app.js
Last active August 29, 2015 14:21 — forked from ericdfields/app.js
import Flux from 'path/to/flux.js'
window.MyApp.flux = new Flux()