Welcome! This page is using CodeRay 1.1.2.

We currently have 2904 rays in the database.
You can add a New Ray or browse the posted rays by pages.

Page 291, 10 entries

coderay 7 lines of Ruby by coderay 227 Bytes Show Edit Expand
1
2
3
4
5
6
7
require 'rubygems'
require 'coderay'
tokens = CodeRay.scan <<-'CODE', :ruby
  puts %[Hello, world!]
  puts "Here\'s some #@@weird #{ { :code => "for you" } }"
CODE
print tokens.div(:line_numb...
Test 1 line of Ruby by tets 58 Bytes Show Edit Expand
1
curl ${curloptions} --max-time 900 -X DELETE http://test
sdfsdf 3 lines of C by print 38 Bytes Show Edit Expand
1
2
3
int main() {
   print("hello", 1);
}
code 1438 2 lines of HTML by xxxx 18 Bytes Show Edit Expand
1
2
hllo there
<1> hi

Page 291, 10 entries