Welcome! This page is using CodeRay 1.1.2.
We currently have
3066 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
| test | 2 lines
of
HTML | 28 Bytes | Show | Edit | Expand | 
| 
  | 1
2 | <h1>toto</h1>
<h2>tata</h2> | 
 | 
| css | 3 lines
of
diff | 61 Bytes | Show | Edit | Expand | 
| 
  | 1
2
3 |     <tpl for="kids">
        <p>{name}</p>
    </tpl></p>
 | 
 | 
| test | 6 lines
of
C | 106 Bytes | Show | Edit | Expand | 
| 
  | 1
2
3
4
5
6 | VALUE
rb_obj_equal(VALUE obj1, VALUE obj2)
{
    if (obj1 == obj2) return Qtrue;
    return Qfalse;
} | 
 | 
| mmm | 1 line
of
Java | 25 Bytes | Show | Edit | Expand | 
| 
  | 1 | String unitAbbrev = "μs"; | 
 | 
| Name | 35 lines
of
Ruby | 961 Bytes | Show | Edit | Expand | 
| 
  | 1
2
3
4
5
6
7
8 | class User
  attr_accessor :email
  attr_accessor :first_name
  attr_accessor :last_name
  attr_accessor :uuid
  attr_accessor :is_unknown_user
  attr_accessor :is_deactivated
  attr_accessor :is_a... | 
 | 
| Ha ha | 8 lines
of
Ruby | 273 Bytes | Show | Edit | Expand | 
| 
  | 1
2
3
4
5
6 | class Integer;def fact;(1..self).reduce(:*) || 1;end;end
def numberOfTrials(phoneNumber, expectedLength)
  k = phoneNumber.length-expectedLength
  raise "labonneblague" if k <= 0
  n = phoneN... | 
 | 
| Rspec Diff | 44 lines
of
diff
by
Jal | 944 Bytes | Show | Edit | Expand | 
|  | 
| webc.rb | 43 lines
of
Ruby
by
kaecy | 970 Bytes | Show | Edit | Expand | 
| 
  | 1
2
3
4
5
6
7
8
9
10 | require "socket";
require "uri";
class WebClient
  attr_writer :action, :type;
  attr_reader :initial_line, :headers, :content;
  def ... | 
 | 
| Test Ruby | 4 lines
of
Ruby
by
adb | 44 Bytes | Show | Edit | Expand | 
| 
  | 1
2
3
4 | def test
  puts "hi"
  
end | 
 | 
| XML | 18 lines
of
XML | 513 Bytes | Show | Edit | Expand | 
| 
  | 1
2
3
4
5
6 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
... | 
 |