Welcome! This page is using CodeRay 1.1.2.

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

Page 124, 10 entries

regex 1 line of diff 18 Bytes Show Edit Expand
1
(.+)\s+([\d]{2,6})
Hello world 8 lines of Ruby by Superman 92 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
class Hello
  def say
    puts "Hello, world!"
  end
end

hello = Hello.new
hello.say
test 84 lines of XML 5.14 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10

<?xml version="1.0" encoding="UTF-16"?>
-
<joblog>
  <job_log_version version="2.0"/>
  -
  <header>
    <filler> </filler>
    <server>Serveur du travail : SRV-BACKUP </server>
    <name...
c 24 lines of Python 993 Bytes Show Edit Expand
1
2
3
4
T = int(raw_input())

it = 400401
palindromes = [1, 4, 9, 121, 484, 10201, 12321, 14641, 40804, 44944, 1002001, 1234321, 4008004, 100020001, 102030201, 104060401, 121242121, 123454321, 125686521...
ruby method 19 lines of Ruby by jin 204 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
def self.multiples_of_3_and_5(number)

    #this is cool

    x = 0;

    (1...number).each do |n|

      if n % 3 == 0 || n % 5 == 0

        x = x + n

      end

    end

    x
...
ololo 7 lines of C++ by ololosh 79 Bytes Show Edit Expand
1
2
3
4
5
6
7
#include<iostream>

using namespace std;

void main(){
printf("hello!")
}
1 lines CPP 1 line of C++ by clmk 50 Bytes Show Edit Expand
1
CCSprite* sprite = CCSprite::create("player.png");
r 1 line of Ruby 20 Bytes Show Edit Expand
1
puts "Hello, world!"
test 2 lines of PHP by y 22 Bytes Show Edit Expand
1
2
if (1)
   echo "test"
scSCzc 1 line of HTML 26 Bytes Show Edit Expand
1
<html><p>sadsad</p></html>

Page 124, 10 entries