Skip to content

Instantly share code, notes, and snippets.

@nbergseng
Last active August 29, 2015 14:08
Show Gist options
  • Save nbergseng/91a90e8f1e1a2890ed22 to your computer and use it in GitHub Desktop.
Save nbergseng/91a90e8f1e1a2890ed22 to your computer and use it in GitHub Desktop.

Blow up your browser based data engine with ease!

This guy generates awesome out of error points, which generate a warning from the DE. These warnings and errors are now i18n-ized thanks to Andrew D. and Henri!

function rand_time(t) { return t + ((Math.random() - 1) * :second:); }
emitter -hz 10 | put time = rand_time(time) | batch 0.5 |@logger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment