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.
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
end
else begin
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 |
#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 |
#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
SQRT_3_2 = Math.sqrt(3)/2
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... |
|
another rails check |
12 lines
of
Ruby
|
220 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
class CategoriesController < ApplicationController
before_filter :preinit, :only => [:show, :edit, :update, :destroy]
def index
@categories = paging(Category)
end
def show
e... |
|
rails check |
13 lines
of
Ruby
by
Me
|
311 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
require 'rubygems'
require 'sinatra'
require 'mongo'
require 'json'
connection = Mongo::Connection.new
database = connection['agile_data']
collection = database['emails']
get '/email/:me... |
|
banister's remix |
381 lines
of
C
|
9.61 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
#include <ruby.h>
#... |
|