Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 21st, 2018
74
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.12 KB
| None
|
0
0
raw
download
clone
embed
print
report
def rand_hex_3(l)
"%0#{l}x" % rand(1 << l*4)
end
def rand_uuid
[8,4,4,4,12].map {|n| rand_hex_3(n)}.join('-')
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
Slot Server
Lua | 4 min ago | 0.40 KB
slot client
Lua | 22 min ago | 11.50 KB
EasyButton Integration rev_01
Arduino | 49 min ago | 1.79 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 53 min ago | 0.39 KB
Untitled
C++ | 2 hours ago | 1.34 KB
DigitalTVCustom
JSON | 3 hours ago | 7.97 KB
DiscoveryCustom
JSON | 3 hours ago | 17.75 KB
SportCustom
JSON | 3 hours ago | 28.14 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!