Skip to content

Instantly share code, notes, and snippets.

@technion
Last active June 14, 2017 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save technion/ebb43a2586fcafe995c4afb8a3061621 to your computer and use it in GitHub Desktop.
Save technion/ebb43a2586fcafe995c4afb8a3061621 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
("1000000000".to_i(16)).upto("FFFFFFFFFF".to_i(16)) do |n|
puts n.to_s(16).upcase
puts n.to_s(16)
end
@pbstewart75
Copy link

Thanks champ :-) Having a friend that can code is like having a friend with a ute, you always need one for the odd jobs ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment