Skip to content

Instantly share code, notes, and snippets.

@breun
Created February 10, 2016 23:18
Show Gist options
  • Save breun/04512e78f5e82818940e to your computer and use it in GitHub Desktop.
Save breun/04512e78f5e82818940e to your computer and use it in GitHub Desktop.
def randomEmoji() {
def values = 0x1F601..0x1F64F
def randomValue = values[new Random().nextInt(values.size())]
Character.toChars(randomValue)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment