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.
YAML |
4 lines
of
YAML
by
sss
|
132 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
tables:
example:
fields:
id: {type: int, length: 10, unsigned: 1, auto_increment: 1, notnull: 1, am: {type: integer}} |
|
java |
17 lines
of
Java
|
404 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
public class MyClass{
public MyClass(){
}
public void doSomething(){
int someVariable =... |
|
PHP Test |
10 lines
of
PHP
|
259 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
$panel = new ExtPanel(array(
'title' => 'My Panel',
'collapsible' => true,
'renderTo' => 'panel-basic',
'width' => 400,
'html' => '@Ext... |
|
Coldfusion Test |
0 lines
of
XML
|
0 Bytes |
Show |
Edit |
Expand |
|
xml |
3 lines
of
XML
|
36 Bytes |
Show |
Edit |
Expand |
1
2
3 |
<foo aaa="bbb ccc">
<bar />
</foo> |
|
xml |
3 lines
of
XML
|
36 Bytes |
Show |
Edit |
Expand |
1
2
3 |
<foo aaa="bbb ccc">
<bar />
</foo> |
|
Java test |
3 lines
of
JavaScript
by
Maciej
|
37 Bytes |
Show |
Edit |
Expand |
1
2
3 |
public String test;
function krowa |
|
asd |
42 lines
of
Python
|
1.6 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
""" Обертка Ð´Ð»Ñ ÐºÐ»Ð°ÑÑа MySQLdb.connection.
Служит Ð´Ð»Ñ ÑƒÐ¿Ñ€Ð¾Ñ‰ÐµÐ½Ð¸Ñ Ñ€ÑƒÑ‚Ð¸Ð½Ð½Ñ‹Ñ… операций Ñ Ð±Ð°Ð·Ð¾Ð¹
"""
from MySQL... |
|
test |
7 lines
of
XML
|
390 Bytes |
Show |
Edit |
Expand |
1
2
3 |
<iq from="20001@organization.haituns.com" type="error" id="45fdaerew" to="20005@haituns.com/pengjian" >
<userauth xmlns="com:haituns:userauth" jid="20002@haituns.com" />
<error type="canc... |
|
Strange Ruby from Example |
327 lines
of
Ruby
by
bovi
|
17 KB |
Show |
Edit |
Expand |
1
2
3
4 |
a.each{|el|anz[el]=anz[el]?anz[el]+1:1}
while x<10000
b=(p[x]%... |
|