skip to main | skip to sidebar

The Electrofriend

You'll see how very reasonable the price is, when you consider that you can put an electrofriend in your ear, where it will whisper good advice and supply you with all kinds of information.

Use Array#pack and String#unpack instead of Base64

Array#pack("m*") is your friend. So is String#unpack("m*"). You can use them instead of the Base64 methods encode64 and decode64. Hat tip to Rack's authentication example.

at Tuesday, October 07, 2008

Labels: ruby

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)
My Photo
Matthew King
Texas
View my complete profile

Labels

  • ruby (15)
  • mdb (9)
  • os x (5)
  • ldap (4)
  • couchdb (2)
  • git (2)
  • rails (2)
  • arc (1)
  • ruby ldap (1)
  • simpledb (1)
  • snarking (1)

I Read These

  • Headius
    Your JavaOne 2009 Ruby Guide
  • igvita.com
    HTTP PubSub: Webhooks & PubSubHubbub
  • Unlimited Novelty
    Dear Viacom: You're Doing It Wrong
  • Vidar Hokstad V2.0
    Proof of concept SVG editor gadget for Google Wave



 

yes i use analytics