Skip to content

CHRIS3000

Portfolio site for Chris Kairalla

  • Portfolio
  • Classes
  • Archive
  • About
Twitter Linkedin Email

Category: Ruby

Ruby – how to turn integers into base36 for urls

December 20, 2012February 5, 2017 Chris

Here’s a nice trick for turning long integers into much shorter “tinyurl” style strings. 12345.to_s(36) => “9ix” “9ix”.to_i(36) => 12345…

Read More
Proudly powered by WordPress | Theme: Annina Free by CrestaProject WordPress Themes.