Welcome! This page is using CodeRay 1.1.2.

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

Page 104, 10 entries

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
1
2
3
4
5
6
7
8
9
Didn't find the message: 'Signed out blip successfully.'
Diff:
 [34m@@ -1,2 +1,40 @@
 [0m [31m-Signed out blip successfully.
 [0m [32m+hmpgr
 [0m [32m+>
 [0m [32m+beta
 [0m [32m+
 [0m [32m+...
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";

# urlencoded type: application/x-www-form-urlencoded

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"
  # test comment
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>
...
C++ Test 14 lines of C++ by MaxEMoose 471 Bytes Show Edit Expand
1
2
3
4
5
6
7
    //1. In getCol
    template <class DataType>
    public int ColumnTextParser::getCol(int id, vector<DataType>& array)
    {
        ...
        DataType value;
        StringToType(str, v...

Page 104, 10 entries