Created
August 20, 2018 12:47
-
-
Save f97one/0f018a5dff792f2d561a4ce7065875ec to your computer and use it in GitHub Desktop.
serialVersionUid の値をランダム生成する PowerShell スクリプト
This file contains hidden or 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
$max = [Convert]::ToInt64(0x7fffffffffffffff, 10) | |
$min = $max * -1 | |
$r = (Get-Random -min $min -max $max).ToString() | |
$r.Substring(0, $r.Length - 4).Replace(".", "") + "L" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment