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.
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... |
|
test |
8 lines
of
C
by
vvestnik
|
205 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
[Serializable]
internal struct MeReference
{
internal int Id { get; set; }
internal string Name { get; set; }
internal string EdiMe { get; set; }
internal string SlMe { get; s... |
|
test |
3 lines
of
CSS
|
89 Bytes |
Show |
Edit |
Expand |
1
2
3 |
if ( string.Equals( name, _recipe, StringComparison.OrdinalIgnoreCase ) )
return 1; |
|