Welcome! This page is using CodeRay 1.1.2.

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

Page 118, 10 entries

test 1 line of Ruby by Harisankar P S 20 Bytes Show Edit Expand
1
puts "hello world!!"
First 37 lines of Ruby 602 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Vn="S,B,L".scan(/\b/).size/2
MinLength=Vn+2
quan=0 
A=["","","","","",""]
until quan>4 do
  
  z="S"
  while z=~/['S']/

    z=z.gsub(/[S]/,'aB')

  while z=~/['B']/
    x=rand
    if ...
kjdsfk 3 lines of Ruby 15 Bytes Show Edit Expand
1
2
3
Hello
if
else
asd 1 line of Ruby 35 Bytes Show Edit Expand
1
http://coderay.rubychan.de/rays/new
sql 3 lines of SQL 88 Bytes Show Edit Expand
1
2
3
  Processing by Users::SessionsController#create as HTML

Completed 302 Found in 619ms
BAB 29 lines of PHP by ReptoxX 1015 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9

<form action="" method="get"> <!-- Please use Post instead of Get -->
  <table class="table table-normal">
    <tr>
      <td>Name:</td>
      <td>Age:</td>
    </tr>
    <tr>
      <td><input type="text"...
sdfsdf 17 lines of Delphi by qwerty 256 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
program factorial;

function fact(n: integer): longint;
begin
    if (n = 0) then
        fact := 1
    else
        fact := n * fact(n - 1);
end;

var
    n: integer;

begin
    for ...
foo.rb 25 lines of Ruby 533 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
irb(main):001:0> class Foo
irb(main):002:1> def foo
irb(main):003:2> "foo"
irb(main):004:2> end
irb(main):005:1> end
=> nil
irb(main):006:0> module X
irb(main):007:1> class Foo
irb(main):00...
Audit Database Class 122 lines of PHP 2.98 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
<?php

class DataBase
{
    protected $_pdo    = null;
    protected $_banco  = null;
    protected $_config = null;

    public function __construct()
    {
        try {
            $t...
CSS Parser 15 lines of Ruby by mg 387 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
require 'css_parser'

class InlineStyle
  class CssParserWrapper
    attr_accessor :rules

    def initialize(css_code)
      parser, @rules = CssParser::Parser.new, []
      parser.add_blo...

Page 118, 10 entries