Welcome! This page is using CodeRay 1.1.2.

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

Page 203, 10 entries

test 24 lines of SQL by mlp 818 Bytes Show Edit Expand
1
2
3
4
5
6
select 
    u.u_logon_name as UserName,
    ty.TaxYear as TaxYear,
    sum(el.item_qty) as Miles
from dbo.INS_EXPENSE_LINES el 
    join dbo.INS_EXPENSE_HEADER eh on el.expense_ref = eh.expens...
Python 15 lines of Java by ashimono 470 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
class UserPrefsEntity(db.Model):
    '''
    Class definition of an entity to store User Preferences information in
the DB
    '''
    user = db.UserProperty(required=True)

class EntryEntit...
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

Page 203, 10 entries