trevmex's tumblings

JavaScripter, Rubyist, Functional Programmer, Agile Practitioner.

#QRroulette HTTP Status Cats

http (cats)

This is a QR Roulette of all the HTTP Status Cats that I created with rqrcode_png and Gifninja.

The code to generate to QR Code images is:

require 'rubygems'
require 'rqrcode_png'

%w(100 101 200 201 202 204 206 207 300 301 303 304 305 307 400 401 402 403 404 405 406 408 409 410 411 413 414 416 417 418 422 423 424 425 426 429 431 444 450 500 502 503 506 507 508 509 599).each do |code|
  RQRCode::QRCode.new("http://httpcats.herokuapp.com/#{code}").to_img.resize(300,300).save("#{code}.png")
end

Then I just added all those images to Gifninja, and voila a QR Roulette is made!

Enjoy!

(Credit for the idea has to go to @hexinteractive and @mofro!)