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.
php_test |
8 lines
of
PHP
by
test
|
168 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
<?php
$aaa = 1;
echo 'test';
var_dump($aaa);
public function __construct(string $title [, string $description = NULL])
public function getDescription(): string |
|
Are diffs working? |
12 lines
of
diff
|
410 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
--- a/package.json
+++ b/package.json
@@ -32,7 +32,6 @@
"ember-cli-shims": "^1.2.0",
"ember-cli-sri": "^2.1.0"... |
|
Ruby test |
18 lines
of
Ruby
by
Anton
|
532 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
class ItemImage < ApplicationRecord
PROCESS_JOB = FileProcessJob
belongs_to :item
has_attached_file :file
validates_attachment_presence :file, unless: :processing?
validates_atta... |
|
JS test |
7 lines
of
JavaScript
|
264 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
inflect.plural(/(buffal|tomat)o$/i, '\1oes')
inflect.plural(/([ti])um$/i, '\1a')
inflect.plural(/([ti])a$/i, '\1a')
inflect.plural(/sis$/i, "... |
|
XML |
7 lines
of
XML
|
384 Bytes |
Show |
Edit |
Expand |
1
2 |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ExampleValues xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3schools.com" xsi:schemaLocation="http://www.w3schoo... |
|
Test |
3 lines
of
CSS
|
532 Bytes |
Show |
Edit |
Expand |
1
2 |
médico-social = il comprend que c'est un mot composé et ignore le tiret (remplacé par un espace) et va donc lancer une requête comprenant les deux mots : médico AND social.
médico -social = là, le... |
|
Test |
3 lines
of
Delphi
|
532 Bytes |
Show |
Edit |
Expand |
1
2 |
médico-social = il comprend que c'est un mot composé et ignore le tiret (remplacé par un espace) et va donc lancer une requête comprenant les deux mots : médico AND social.
médico -social = là, le... |
|
JSON |
26 lines
of
JSON
|
629 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
{"widget": {
"debug": "on",
"window": {
"title": "Sample Konfabulator Widget",
"name": "main_window",
"width": 500,
"height": 500
},
"image":... |
|
Test |
3 lines
of
JavaScript
|
532 Bytes |
Show |
Edit |
Expand |
1
2 |
médico-social = il comprend que c'est un mot composé et ignore le tiret (remplacé par un espace) et va donc lancer une requête comprenant les deux mots : médico AND social.
médico -social = là, le... |
|
Test |
3 lines
of
C++
|
532 Bytes |
Show |
Edit |
Expand |
1
2 |
médico-social = il comprend que c'est un mot composé et ignore le tiret (remplacé par un espace) et va donc lancer une requête comprenant les deux mots : médico AND social.
médico -social = là, le... |
|