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

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

Page 120, 10 entries

Sass 5 lines of CSS by John Long 67 Bytes Show Edit Expand
1
2
3
4
5
@import 'compass';

a.button {
  @include border-radius(5px);
}
PERL as ruby 29 lines of Ruby by p@r 613 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/perl -w

use strict;
use DBI;

use Private::Module::SQL;
use Time::HiRes qw( gettimeofday tv_interval);

my $dbh = Private::Module::SQL->connect;

my @ids;
push @ids,int(rand(...
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
  }
}

Page 120, 10 entries