Skip to content

Instantly share code, notes, and snippets.

@claudijd
Last active December 19, 2015 08:19
Show Gist options
  • Save claudijd/5924918 to your computer and use it in GitHub Desktop.
Save claudijd/5924918 to your computer and use it in GitHub Desktop.
Strong Swan Generic VID Generator
versions = [
"5.0.1",
"5.0.2",
"5.0.2dr4",
"5.0.2rc1",
"5.0.3",
"5.0.3dr1",
"5.0.3dr2",
"5.0.3dr3",
"5.0.3rc1",
"5.0.4",
"5.1.0",
"5.1.0dr1",
"5.1.0dr2",
"5.1.0rc1",
"5.1.1",
"5.1.1dr1",
"5.1.1dr2",
"5.1.1dr3",
"5.1.1dr4",
"5.1.1rc1"
]
versions.uniq.sort.reverse.each do |version|
puts "\"" + Digest::MD5.hexdigest("strongSwan #{version}") + "\"" + " => " + "\"strongSwan #{version}\","
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment