test page

This is a test page. It has no real use other than testing ERB. You can look at this page's source code.

3 + 2 = <%= 3 + 2 %>

Output of `uname`: <%= `uname` %>

`cowsay "<%= Time.now.to_s %>"`:

<%= `cowsay "#{Time.now.to_s}"` %>

An ASCII table:

<%=
  chars = ""
  output = ""
  (0..1).each do |x|
    output << ("\n %s | %s" % [x.to_s(16), ' ' * 32])
  end
  (0x20..0xff).each do |x|
    chars << x
  end
  chars.split('').each_with_index do |x, i|
    if i % 16 == 0
      output << ("\n %s | " % [((x.codepoints.first & 0xf0) >> 4).to_s(16)])
    end
    output << x + ' '
  end
  output << "\n   +" + '-' * 32 + "\n     "
  (0x0..0xf).each do |x|
    output << ("%s " % [x.to_s(16)])
  end
  output
%>