Welcome! This page is using CodeRay 1.1.2.

We currently have 3046 rays in the database.
You can add a New Ray or browse the posted rays by pages.

Page 4, 10 entries

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...
test 42 lines of PHP 2.25 KB Show Edit Expand
1
To download all repositories from a user or organization on GitHub, you can use the git clone command with the --mirror flag. This will create a bare repository that contains all of the branches, t...
JSON 69 lines of JSON by Vital 2.07 KB Show Edit Expand
1
2
3
4
{
  "catalogs": [
    {
      "conditions": "Предложения действительны для Москвы, Переславль-Залесского и Костромской области. Информацию об ассортименте товаров, участвующих в акции, уточняй...
ruby 1 line of ERb 88 Bytes Show Edit Expand
1
<%= render Ui::Alert::Component.new(text: "Alert com variant :info", variant: "info") %>
Generalization JSON example 34 lines of JSON by Johannes Echterhoff 621 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
{
  "$schema": "http://json-schema.org/draft/2019-09/schema",
  "$defs": {
    "TypeA": {
      "properties": {
        "propertyA": {
          "type": "number"
        }
      },
      "...
Test definitions schema 20 lines of JSON by Johannes Echterhoff 442 Bytes Show Edit Expand
1
2
3
4
5
6
7
{
  "$schema": "http://json-schema.org/draft/2019-09/schema",
  "$id": "http://example.org/some-definitions-schema.json",
  "$defs": {
    "Class1": {
      "type": "object",
      "propertie...

Page 4, 10 entries