Skip to content

Instantly share code, notes, and snippets.

@m0wfo
Created February 8, 2009 17:13
Show Gist options
  • Save m0wfo/60432 to your computer and use it in GitHub Desktop.
Save m0wfo/60432 to your computer and use it in GitHub Desktop.
# With rQRcode
require "rubygems"
require "rqrcode"
# With rQRcode
100.times do |i|
RQRCode::QRCode.new("iteration number #{i}", :size => 4, :level => :h)
end
# With libqrencode
100.times do |i|
system("/usr/local/bin/qrencode 'iteration number #{i}' -o /Users/chris/qr/iteration-#{i}.png")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment