Welcome! This page is using CodeRay 1.1.2.
We currently have
3055 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
symfony2 php code |
43 lines
of
PHP
|
869 Bytes |
Show |
Edit |
Expand |
|
ccc |
16 lines
of
PHP
by
ccc
|
781 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
if ($use_home_campaign) {
foreach (array('left','right') as $where) {
$home_campaign[$where] = '<div class="home_campaign_'.$where.'">';
if ($home_campaign_is_google_code) ... |
|
c# |
32 lines
of
Java
|
1.22 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
protected TDoubleRect GetBounds()
{
TLocalMinima lm = m_localMinimaList;
if (lm == null) return new TDoubleRect(0, 0, 0, 0);
TDoubleRect result = n... |
|
objective-c |
20 lines
of
C++
by
kitschmaster
|
584 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@class Quad;
@interface Asset : NSManagedObject {
}
@property (nonatomic, retain) NSString *oid;
@property (nonatomic, re... |
|
Shell? |
5 lines
of
Plain text
|
31 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
test
if [ a = b ]
then
fi |
|
asd |
9 lines
of
Ruby
|
112 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
require 'rubygems'
require 'sinatra'
require 'rdiscount'
get '/' do
markdown :index
end
puts "hello" |
|
Hello World! |
2 lines
of
PHP
by
henrique
|
27 Bytes |
Show |
Edit |
Expand |
1
2 |
<?php
echo 'Hello, World'; |
|
Testing |
7 lines
of
Ruby
by
Nic
|
69 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
def what
x = "hello there"
yield x
end
what {|x| puts x }
|
|
something |
36 lines
of
Ruby
|
888 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
hahahahahahahha
<code lang='ruby'>
class Post
include Mongoid::Document
identity :type => String
field :title
field :body
... |
|
CF test |
13 lines
of
HTML
|
668 Bytes |
Show |
Edit |
Expand |
1
2
3 |
<cfif object.getObject().getIsVariation()>
<cfset previewImageObjectID = object.getParentOb... |
|