Skip to content

Instantly share code, notes, and snippets.

View mattrudder's full-sized avatar
🛠️

Matt Rudder mattrudder

🛠️
View GitHub Profile
{
"name": "Sample Sequence 3",
"description": "This is a sample sequence that can be executed by mdaas-tester. You can create your own gist and execute them in mdaas-tester by referencing the hash id of the gist!",
"jobs": [
{
"type": "Connect",
"duration": 1000,
"session_id": "JfjY90T84FbPNzQk2mVVY63kudTgmvXr",
"broadcaster_ids": ["9321049"]
"data": {

Keybase proof

I hereby claim:

  • I am mattrudder on github.
  • I am rudder (https://keybase.io/rudder) on keybase.
  • I have a public key ASA0lwlF4bt22awYzm14ZObHEKqcW-5hs3TkWnU1PCjwzQo

To claim this, I am signing this object:

@mattrudder
mattrudder / git-sync.sh
Created August 22, 2014 16:17
Update git repositories in named subdirectories, preserving working copy changes.
#!/bin/bash
# git-sync.sh: Update git repositories in named subdirectories, preserving working copy changes.
for f in $@
do
pushd $f > /dev/null
echo "Updating $f..."
git update-index -q --refresh
git diff-index --quiet HEAD --
hasChanges=$?
@mattrudder
mattrudder / static_server.js
Created April 2, 2012 00:05 — forked from ryanflorence/static_server.js
Node.JS static file web server. Put it in your path to fire up servers in any directory, takes an optional port argument.
var http = require("http"),
url = require("url"),
path = require("path"),
fs = require("fs")
port = process.argv[2] || 8888;
http.createServer(function(request, response) {
var uri = url.parse(request.url).pathname
, filename = path.join(process.cwd(), uri);