Created
January 23, 2019 02:23
-
-
Save SwingGuy1024/88ef73d0a7d87a719084e7c579bd923e to your computer and use it in GitHub Desktop.
UUID Generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tillster.tools; | |
import java.util.UUID; | |
/** | |
* Add this to your ~/.bash_profile | |
* alias uuid="java -cp ~/Tools/out/production/Tools com.tillster.tools.UuidGen" | |
*/ | |
public final class UuidGen { | |
private UuidGen() { } | |
public static void main(String[] args) { | |
UUID uuid = UUID.randomUUID(); | |
System.out.println(uuid); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment