Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 21st, 2018
107
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
SIXTYTWO = ('0'..'9').to_a + ('a'..'z').to_a + ('A'..'Z').to_a
def to_s_62(i)
return '0' if i == 0
s = ''
while i > 0
s << SIXTYTWO[i.modulo(62)]
i /= 62
end
s.reverse
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
ServerError: received 502 HTTP response
Python | 48 sec ago | 3.38 KB
RequestException: error with request
Python | 2 min ago | 2.84 KB
Solution to https://stackoverflow.com/q/78378...
C++ | 2 min ago | 0.76 KB
RequestException: error with request
Python | 3 min ago | 3.64 KB
ServerError: received 500 HTTP response
Python | 4 min ago | 2.98 KB
ServerError: received 500 HTTP response
Python | 4 min ago | 3.38 KB
Untitled
Python | 10 min ago | 4.17 KB
htnl поле JS
JavaScript | 21 min ago | 1.65 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!