Skip to content

Instantly share code, notes, and snippets.

View normanrz's full-sized avatar

Norman Rzepka normanrz

View GitHub Profile
echo " "
echo " _____ _____ _____ "
echo "| __| | |"
echo "|__ | --| | | |"
echo "|_____|_____|_|_|_|"
echo " webKnossos installer "
command -v brew >/dev/null 2>&1 || {
echo ""
echo "~~~~ Installing homebrew ~~~~"
@normanrz
normanrz / dispatched_worker.coffee
Created November 23, 2012 17:36
DispatchedWorker + RequireJS plugin
### define
jquery : $
underscore : _
###
# `DispatchedWorker` is a wrapper around the WebWorker API. First you
# initialize it providing url of the javascript worker code. Afterwards
# you can request work using `send` and wait for the result using the
# returned deferred.
class DispatchedWorker