DEV Community

Gerardo Herrera
Gerardo Herrera

Posted on

2

My Gist

I'm Learning ROR, so I've make a Gist specially for it.

I'm also learning how to make post here so I will be editing this post for more completion.

# generate alfanumeric hash randomly
def genHash
a=('a'..'z').to_a.shuffle[0..9].each {|i| i.concat((0..9).to_a.shuffle[0].to_s)}
a.join
end
# example generated "e5o2x4v8r6u0j8q4t6y1"
view raw genhash.rb hosted with ❤ by GitHub

Top comments (0)

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay