Skip to content

Instantly share code, notes, and snippets.

@flazz
Created December 10, 2009 02:19
Show Gist options
  • Save flazz/253049 to your computer and use it in GitHub Desktop.
Save flazz/253049 to your computer and use it in GitHub Desktop.
require 'uuid' # gem install uuid if you havent already
# it sounds crazy but this is very sufficient for generating IDs with no central authority.
ugen = UUID.new
10.times { puts "info:fcla/#{ ugen.generate }" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment