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.
css |
16 lines
of
CSS
|
230 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 |
body {
margin: 10px 0;}
#main {
border: 1px solid red;
color: green;}
#main p {
color: purple;}
#main p a {
text-decoration: none;}
#something-else {
fon... |
|
test |
37 lines
of
PHP
by
huylo
|
1.08 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
function init () {
global $REMOTE_ADDR, $site_own, $eng, $DEBUG, $HTTP_X_FORWARDED_FOR, $HTTP_COOKIE_VARS ;
$this->id = null ;
$this->data = null ;
$this->stamp = null ;
$this->erro... |
|
SQL test |
0 lines
of
SQL
|
0 Bytes |
Show |
Edit |
Expand |
|
ClasePrimaria |
4 lines
of
Java
by
iberck
|
86 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
public class ClasePrimaria {
public static void main(String args[])
{}
} |
|
asdf |
3 lines
of
Plain text
|
20 Bytes |
Show |
Edit |
Expand |
|
PHP testing code |
12 lines
of
PHP
by
Rui Gonçalves
|
280 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
<? php
require_once 'php-activerecord/ActiveRecord.php';
ActiveRecord\Config::initialize(function($cfg)
{
$cfg->set_model_directory('models');
$cfg->set_connections(array(
... |
|
java test |
12 lines
of
C++
|
295 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
package pl.silvermedia.ws;
import java.util.List;
import javax.jws.WebParam;
import javax.jws.WebService;
@WebService
public interface ContactUsService {
List<Message> getMessages();
M... |
|
test |
4 lines
of
PHP
|
106 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
if(!empty($_POST[name]) && !empty($_POST[sport])){
$client->someFunction($array('key' => "value");
}
|
|
xml test |
9 lines
of
XML
by
jea
|
205 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
<bean id="managerMap" class="service.ManagerMap">
<property name="managerMap">
<map>
<entry key="FileSourceConfig" value-ref="fileSourceConfigManager" />
</map>
</property>
... |
|
ttttt |
37 lines
of
Python
|
1.08 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
"""Convert to and from Roman numerals"""
import re
class RomanError(Exception): pass
class OutOfRangeError(RomanError): pass
class NotIntegerError(RomanError): pass
class... |
|