Skip to content

Instantly share code, notes, and snippets.

View rissem's full-sized avatar

Michael Risse rissem

View GitHub Profile
@rissem
rissem / README.md
Last active March 1, 2017 01:11
Spinnaker + Auth Proxy
@rissem
rissem / app.js
Created January 5, 2017 21:53
html5/node.js video capture and upload
/* global require */
const multipart = require('connect-multiparty')
const multipartMiddleware = multipart()
const path = require('path')
const os = require('os')
const fs = require('fs')
var express = require('express')
var app = express()
@rissem
rissem / stalledHandlerFail.js
Created December 16, 2016 19:15
Bull #371 reproduction
var Bull = require('bull');
const spawn = require('child_process').spawn;
var queue = new Bull('contacts', 6379, 'localhost');
queue.LOCK_RENEW_TIME = 500;
let originalConsumer = !process.env.SPAWNED
if (originalConsumer){
queue.add({}, {
removeOnComplete: true,
@rissem
rissem / app.html
Created January 15, 2015 19:11
Hangout Test
<html>
<head>
<title>Hello AirPair</title>
</head>
<body>
<h1>Hello AirPair</h1>
</body>
</html>

Velocity

Testing middleware for Meteor

Velcoity allows you to easily test at the application level.

Velocity provides common interfaces for testing frameworks and test reporters.

It allows users to easily run multiple testing frameworks concurrently.

@rissem
rissem / index.haml
Created April 28, 2014 21:19
A Pen by Captain Anonymous.
.table
.center
%h1 Android's Content-scroll-shadow
.container
.scroll-content
@rissem
rissem / Vagrantfile
Last active August 29, 2015 13:57
Vagrantfile for node.js 10.26 + Mongo
script = <<SCRIPT
apt-get update
apt-get install -y curl
#install Node
cd /tmp
curl -o node-v0.10.26-linux-x64.tar.gz http://nodejs.org/dist/v0.10.26/node-v0.10.26-linux-x64.tar.gz
cd /usr/local && tar --strip-components 1 -zxf /tmp/node-v0.10.26-linux-x64.tar.gz
#install Mongo
@rissem
rissem / tools.md
Last active August 29, 2015 13:57
Tools and Resources
@rissem
rissem / Dockerfile
Created August 9, 2013 05:56
Meteor Dockerfile
FROM ubuntu:12.10
RUN apt-get update
RUN apt-get install -y curl
RUN curl http://install.meteor.com | /bin/sh
@rissem
rissem / Dockerfile
Created August 5, 2013 20:50
MadEye Dockerfile
FROM ubuntu:12.10
RUN apt-get update
RUN apt-get install -y software-properties-common python g++ make
RUN add-apt-repository -y ppa:chris-lea/node.js
RUN apt-get update
RUN apt-get install -y nodejs
RUN npm install -g madeye