Skip to content

Instantly share code, notes, and snippets.



Last active Oct 11, 2020
What would you like to do?
Simple script to generate an UUID. #06714d2a-1b6f-4f8d-b8ac-b3a48db850f4/a363136d4e29fbe03893ef78208522f33055abbd
#!/usr/bin/env amm
// summary : Simple script to generate an UUID.
// keywords : scala, uuid, @testable
// publish : gist
// authors : David Crosson
// license : Apache2
// id : 06714d2a-1b6f-4f8d-b8ac-b3a48db850f4
// execution : scala ammonite script ( - run as follow 'amm'
val uuid = java.util.UUID.randomUUID()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment