Skip to content

Instantly share code, notes, and snippets.

View ArcticLight's full-sized avatar
🍎

Matthew Clive ArcticLight

🍎
View GitHub Profile
#!/usr/bin/env bash
if tmux list-sessions ; then
tmux new-window "bash -c \"export STARTUP_DIRT=$(pwd); zsh\""
tmux a
else
tmux new-session "bash -c \"export STARTUP_DIRT=$(pwd); zsh\""
fi
@ArcticLight
ArcticLight / Event.scala
Last active August 29, 2015 14:24 — forked from hawkw/Event.scala
///////////////////////////////////////////////////////////////////////
// TOP SECRET METEORCODE ENGINEERING BULLSHIT -- DO NOT STEAL //
// (c) Hawk Weisman, all rights reserved 'n' stuff //
///////////////////////////////////////////////////////////////////////
type Payload: Map[String,Object]
abstract class Event (
protected val payload: Payload,
protected var valid: Boolean = true
) extends (Payload)(prefunc: (Payload) => Boolean = {