Skip to content

Instantly share code, notes, and snippets.

@sousk
Created March 19, 2016 00:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sousk/d1f96d6edc49ec12e868 to your computer and use it in GitHub Desktop.
Save sousk/d1f96d6edc49ec12e868 to your computer and use it in GitHub Desktop.
Emoji Label Generator for Runscope Testing
var ust = (function(t) { return [t.getMonth() +1,"/",t.getDate(),'/',t.getHours()].join(''); })(new Date());
var syms = ['๐Ÿˆ','๐Ÿฃ','๐Ÿบ','๐Ÿˆ','๐Ÿฃ','๐Ÿบ','๐Ÿท','๐Ÿฎ','๐Ÿ„','๐Ÿถ','โšฝ๏ธ','๐Ÿ•'];
var label = ust + (_(5).times(function() { return syms[(_.random(0, syms.length))]; })).join(' ');
variables.set("label", label);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment