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.
c-example |
13 lines
of
C++
by
WongleDongle
|
477 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
static void Main(string[] args)
{
var unityContainer = new UnityContainer();
unityContainer.LoadConfiguration();
... |
|
あさsd |
1 line
of
C
|
7 Bytes |
Show |
Edit |
Expand |
|
ouea |
14 lines
of
Ruby
|
512 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
unless JSON.parse(`#{docker} inspect #{container_name}`).empty?
sh "#{docker} rm -f #{container_name}"
end
puts "Creating image..."
sh <<-EOF
#{docker} \
create \
... |
|
Try2 |
2 lines
of
PHP
|
116 Bytes |
Show |
Edit |
Expand |
1
2 |
$ExampleMasterObj = new ExampleMaster();
$ExampleMasterObj->exec_query(); or $ExampleMasterObj->exec_query($sql); |
|
Question Test |
1 line
of
Java
by
Hi
|
122 Bytes |
Show |
Edit |
Expand |
1 |
How many times does the following loop execute? for (int i = 0; i < 12; i++) <br> { System.out.println("Hello world!"); } |
|
lala |
14 lines
of
XML
|
335 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
<Profiles>
<Profile>
<Fields>
<Field>
<Name>DOCID</Name>
<Type>NVARCHAR(4000)</Type>
</Field>
<Field>
<... |
|
MultipleBooleanValuesToSingleConverter |
10 lines
of
Java
|
379 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
static void Main(string[] args)
{
var unityContainer = new UnityContainer();
unityContainer.LoadConfiguration();
... |
|
routes |
2 lines
of
YAML
|
22 Bytes |
Show |
Edit |
Expand |
1
2 |
GET /me
GET /user/:id |
|
ham hash |
8 lines
of
Ruby
by
lr
|
253 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
cast_ham = {
"Hamilton" => "Young, scrappy, and hungry",
"Burr" => "talk less, smile more",
"my country" =. "young, scrappy, and hungry",
"Lafayette" => "America's favorite fighting Frenchman",... |
|
convert |
2 lines
of
C
by
Quintus
|
32 Bytes |
Show |
Edit |
Expand |
1
2 |
var x:CInt = 1
var y:CInt = 4 |
|