Skip to content

Instantly share code, notes, and snippets.

View kevinoconnor7's full-sized avatar

Kevin O'Connor kevinoconnor7

View GitHub Profile
@kevinoconnor7
kevinoconnor7 / gist:4177986
Created November 30, 2012 19:32
MagTek RCS reader
#!/usr/bin/env python
# MagTek MSR100 Mini Swipe Card Reader
# Written By: Jeffrey Ness
#
# Some Thanks need to go out to
# http://www.micahcarrick.com/credit-card-reader-pyusb.html
# for helping me get on the right track
import usb.core
@kevinoconnor7
kevinoconnor7 / strip_json_comments.patch
Created May 30, 2014 15:03
Arcanist - strip json comments patch
From be0511f947e256b8d6b16360369945eefdaf1073 Mon Sep 17 00:00:00 2001
From: Kevin O'Connor <koconnor@panoramaed.com>
Date: Fri, 30 May 2014 11:03:01 -0400
Subject: [PATCH] Strip json comments before json_decode
---
src/lint/engine/ArcanistConfigurationDrivenLintEngine.php | 3 ++-
src/workingcopyidentity/ArcanistWorkingCopyIdentity.php | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)