Welcome! This page is using CodeRay 1.1.2.

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

Page 123, 10 entries

json 37 lines of JSON by ehebey 1.05 KB Show Edit Expand
1
2
3
4
5
6
7
8
{
    "hotels": [
        {
            "address": {
                "city": "Izmir",
                "country": "Turkey",
                "neighborhood": "Alacati",
                "state":...
test 1 line of XML by meh 53 Bytes Show Edit Expand
1
<thisisxml>dasdsaD<MOREXML>BLAH</MOREXML></thisisxml>
test 71 lines of Ruby 1.32 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env ruby
require 'ramaze'

class MainController < Ramaze::Controller
  def index
    super
     "Hello World!"
  end
end

require 'camping'

Camping.goes :Hello

module Hel...
aaa 8 lines of PHP by aaa 90 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
<?php
phpinfo();
echo "hello";
$a = "AA"?1:0;
if (empty($pavs)) {
echo 'none';
}
?>
Pascal trivial 10 lines of Delphi by mint_girl 99 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
begin

if life_is_good then begin
  //go on living
end
else begin
  //try again
end;

end.
test 70 lines of C++ by J 1.55 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
//
//  ShareKitAppDelegate.m
//  ShareKit
//
//  Created by Nathan Weiner on 6/4/10.
//  Copyright Idea Shower, LLC 2010. All rights reserved.
//

#import "ShareKitAppDelegate.h"
#import "...
test 70 lines of C by J 1.55 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
//
//  ShareKitAppDelegate.m
//  ShareKit
//
//  Created by Nathan Weiner on 6/4/10.
//  Copyright Idea Shower, LLC 2010. All rights reserved.
//

#import "ShareKitAppDelegate.h"
#import "...
Draw square, hexagonal, and triangle grid illustrations 871 lines of Ruby by murphy < Amit 22.2 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/ruby

# Draw square, hexagonal, and triangle grid illustrations
# amitp@cs.stanford.edu
# 8 Jan 2006

SQRT_3_2 = Math.sqrt(3)/2 # Used in triangle and hexagon math

class Shape
...
dsfsdsf 8 lines of Java 592 Bytes Show Edit Expand
1
2
3
4
subgraph cluster_Source{
                  rankdir=LR; color=white; style=filled; fillcolor=lightgrey; label="#Source";
                  subgraph cluster_Application_1{
                    rank...
another rails check 11 lines of Ruby 269 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
  root :to => 'main#show'

  resource :main
  resources :posts do
    get :relevant, :on => :collection
    get :index_by_tags, :on => :collection
    get :search, :on => :collection

    p...

Page 123, 10 entries