Welcome! This page is using CodeRay 1.1.2.
We currently have
3061 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
Testing |
10 lines
of
XML
by
Moses
|
235 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
<Input input_events>
Module im_msvistalog
<QueryXML>
<QueryList>
<Query Id='0'>
<Select Path='Security'>*</Select>
</Query>
<... |
|
test Javascript |
6 lines
of
JavaScript
by
profCegep
|
95 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
let var1 = 13;
console.log(var1);
var1 += 1
const var2 = 1
var2 += 1
|
|
123 |
1 line
of
C
by
123
|
9 Bytes |
Show |
Edit |
Expand |
|
testing |
11 lines
of
C
by
someone
|
202 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
typedef struct
{
unsigned int x;
unsigned int y;
union
{
unsigned int abc;
unsigned int def;
video_resolution_t res;
};
} media_in_vendor_param... |
|
gamee |
19 lines
of
Python
by
avi
|
720 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
while True:
player_choice = input("Enter your choice (rock, paper, scissors): ")
computer_choice = random.choice(["rock", "paper", "scissors"])
print(f"Computer choice: {computer_cho... |
|
gameeee |
84 lines
of
Python
by
Avi
|
3.35 KB |
Show |
Edit |
Expand |
1
2
3
4
5 |
print("Code to play games 'Tic Tac Toe' or 'Rock paper and scissors")
print("press 4 to play 'Tic Tac Toe' or 5 to play 'Rock paper and scissors :")
opt=int(input())
if opt==4:
print('You h... |
|
gamee |
80 lines
of
Python
by
avi
|
3.26 KB |
Show |
Edit |
Expand |
1
2
3 |
print("Code to play games 'cut and o' or 'stone paper and scissors")
print("press 4 to play 'cut and o' or 5 to play 'stone paper and scissors")
opt=int(input('Enter the game numberr you want ot ... |
|
React |
2 lines
of
CSS
by
bro
|
61 Bytes |
Show |
Edit |
Expand |
1
2 |
import React from 'react';
import ReactDOM from 'react-dom'; |
|
React |
1 line
of
CSS
by
bro
|
25 Bytes |
Show |
Edit |
Expand |
1 |
import React from 'react' |
|
JavaTest |
8 lines
of
Java
|
218 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
public void carIsValid() {
Car car = new Car( "Morris", "DD-AB-123", 2 );
Set<ConstraintViolation<Car>> constraintViolations =
validator.validate( car );
assertEquals( 0, constraintVi... |
|