Welcome! This page is using CodeRay 1.1.0 (beta).

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

Page 123, 10 entries

cucumber 5 lines of Ruby by murphy 173 Bytes Show Edit Expand
1
2
3
4
5
When /^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/ do |field, value, selector|
  with_scope(selector) do
    fill_in(field, :with => value)
  end
end
1 23 lines of HTML 1.05 KB Show Edit Expand
1
2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vm...
uniface 5 lines of C++ 91 Bytes Show Edit Expand
1
2
3
4
5
if ( $storetype =1 )
   VALDTCRE.CPXVAL  = $datim
else
   VALDTMAJ.CPXVAL  = $datim
endif
uniface 5 lines of Delphi 91 Bytes Show Edit Expand
1
2
3
4
5
if ( $storetype =1 )
   VALDTCRE.CPXVAL  = $datim
else
   VALDTMAJ.CPXVAL  = $datim
endif
uniface 5 lines of Python 91 Bytes Show Edit Expand
1
2
3
4
5
if ( $storetype =1 )
   VALDTCRE.CPXVAL  = $datim
else
   VALDTMAJ.CPXVAL  = $datim
endif
uniface 5 lines of C by VB 91 Bytes Show Edit Expand
1
2
3
4
5
if ( $storetype =1 )
   VALDTCRE.CPXVAL  = $datim
else
   VALDTMAJ.CPXVAL  = $datim
endif
mytestC++ 4 lines of C by こうけん 40 Bytes Show Edit Expand
1
2
3
4
int main()
{
printf("Hello World!")
}
test JSON 9 lines of JSON by Moi 113 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
{ object0: {
    value0: "some",
    number0: 4
  }
  object1: {
    value1: "text",
    number1: 2
  }
}
asio 353 lines of C++ by Christopher M. Kohlhoff 10.7 KB Show Edit Expand
1
2
3
4
5
6
7
//
// buffered_write_stream.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software Licen...
Object.methods 1 line of Ruby 1.23 KB Show Edit Expand
1
["private_class_method", "inspect", "name", "tap", "pretty_print_instance_variables", "clone", "public_methods", "__send__", "object_id", "method_defined?", "instance_variable_defined?", "equal?", ...

Page 123, 10 entries