Skip to content

Instantly share code, notes, and snippets.

alex choi heyalexchoi

View GitHub Profile
View actionBlocker.js
var scr = document.createElement("script");
scr.src = "";
$('body').on('click', function(event){
alert("i'm sorry but you can't do that. better luck next time")
View Benchmarker.swift
/*! accepts event names and prints out time interval (seconds) since last event given */
struct Benchmarker {
struct Event {
let time: NSDate
let name: String
static var events = [Event]()
static let prefix = "--------\n--------\n--------\nBENCHMARK\n--------\n--------\n--------\n"
You can’t perform that action at this time.