Welcome! This page is using CodeRay 1.1.2.
We currently have
3054 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
123 |
5 lines
of
Ruby
|
70 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
v = 1
puts v
b = lambda { |;v| v = 2 }
b.call
puts v |
|
opa opa |
1 line
of
Ruby
by
her
|
13 Bytes |
Show |
Edit |
Expand |
|
CSS Code |
8 lines
of
CSS
by
Steve
|
213 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
@import url(redsauce.css);
@import url(theme.css); body {
margin:0;
padding:0;
font-family: verdana, arial, sans-serif;
font-size: 11px;
line... |
|
PHP4 Code |
1 line
of
C
by
Adriano Vieira (harpiain)
|
30 Bytes |
Show |
Edit |
Expand |
1 |
<?php print "Hello World!"; ?> |
|
C# Highlight as JAVA code |
23 lines
of
Java
by
sergio
|
596 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
using Com.Foo;
using log4net;
using log4net.Config;
public class MyApp
{
|
|
Sass generated stylesheet |
7 lines
of
CSS
by
rw
|
125 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
#main p {
color: #00ff00;
width: 97%; }
#main p .redbox {
background-color: #ff0000;
color: #000000; }
|
|
objective-c test |
7 lines
of
C
by
raydar
|
209 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
- (void)drawRect:(NSRect)rect {
NSRect bounds = [self bounds];
NSImage *_image = [self image];
[super drawRect:rect];
[_image compositeToPoint:(bounds.origin) operation:NSCompositeSou... |
|
Some Java |
111 lines
of
Java
by
Dusty Pearce
|
3.19 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
package com.wfinance.portal.business;
import java.util.HashMap;
import com.wfinance.portal.common.utils.ListUtilities;
import com.wfinance.portal.common.utils.SQLUtilities;
import com.wfina... |
|
ResponseBuilder |
297 lines
of
Groovy (beta)
by
raistlin77
|
8.26 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
package de.intex.xml;
import groovy.xml.MarkupBuilder;
import it.sauronsoftware.base64.Base64;
|
|
Response Parser |
185 lines
of
Groovy (beta)
by
raistlin77
|
6.59 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
package de.intex.xml;
import it.sauronsoftware.base64.Base64
public class ResponseParser {
private String lastResponse = "";
private String lastError = null;
static private PROPERT... |
|