Skip to content

Instantly share code, notes, and snippets.

View cucumbur's full-sized avatar

cuke cucumbur

  • Seattle, WA
View GitHub Profile
@cucumbur
cucumbur / .block
Last active April 25, 2019 19:34
bars test
license: mit
@cucumbur
cucumbur / simple-reporter.js
Last active May 14, 2019 09:41
A simple hacky reporter I wrote for mocha & Detox that excludes 'excessive' technical information. Place it in the root directory and add --reporter simple-reporter to mocha.opts
// simple-reporter.js
var mocha = require('mocha')
module.exports = SimpleReporter
const trimregex = /[\s\S]+?(?=Hierarchy)/ // or /[\s\S]+?(?=Error Trace)/ or /[\s\S]+?(?=Exception)/ etc
function SimpleReporter (runner) {
mocha.reporters.Base.call(this, runner)
var passes = 0
var failures = 0

Keybase proof

I hereby claim:

  • I am cucumbur on github.
  • I am sheahan (https://keybase.io/sheahan) on keybase.
  • I have a public key whose fingerprint is 4C38 C987 9620 F88D D1C2 4BA3 8650 7370 B188 9828

To claim this, I am signing this object:

@cucumbur
cucumbur / TurnManager.cs
Created July 24, 2016 22:22
Turn Management code from WIP game
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityStandardAssets.Utility;
public class TurnManager : Singleton<TurnManager> {
// Singleton enforcer