Skip to content

Instantly share code, notes, and snippets.

View cstringham-godaddy's full-sized avatar

Chris Stringham cstringham-godaddy

View GitHub Profile

Keybase proof

I hereby claim:

  • I am helper- on github.
  • I am cstringham (https://keybase.io/cstringham) on keybase.
  • I have a public key ASDMQJgkuXGHEHo-aKvEASsEqGgjLukOEAauAvadbTYLrwo

To claim this, I am signing this object:

@cstringham-godaddy
cstringham-godaddy / tester-pa3.py
Created May 1, 2016 20:44 — forked from Antrikshy/tester-pa3.py
CSE 100 Fall '14 Network Planning (pa3) Tester
#!/usr/bin/env python
import os, sys, subprocess, time
import filecmp as fc
# --------------------------------------------------------------------------------------------------------
# Backport of Python 2.7's subprocess.check_output function from https://gist.github.com/edufelipe/1027906
def check_output(*popenargs, **kwargs):
r"""Run command with arguments and return its output as a byte string.
Backported from Python 2.7 as it's implemented as pure python on stdlib.