Welcome! This page is using CodeRay 1.1.2.

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

Page 9, 10 entries

groovy 15 lines of Groovy (beta) by test 286 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
package example.app

import example.lib.Baz

@CompileStatic
class Foo extends Bar {
    private final Baz baz # <1>
    private final String name

    @Inject # <2>
    Foo(final Bar bar,...
test 5 lines of HTML 89 Bytes Show Edit Expand
1
2
3
4
5
commit 2344454b545b35bb3453b534b53
Author: i<i@i.com>
Date:   today

    blalblallasa
test 1 line of JavaScript 135 Bytes Show Edit Expand
1
New-ItemProperty -Path "hklm:\SYSTEM\CurrentControlSet\Services\DNS\Parameters" -Name EnableEDnsProbes -Value "0" -PropertyType "DWord"
test 5 lines of Ruby 89 Bytes Show Edit Expand
1
2
3
4
5
commit 2344454b545b35bb3453b534b53
Author: i<i@i.com>
Date:   today

    blalblallasa
test 5 lines of C 89 Bytes Show Edit Expand
1
2
3
4
5
commit 2344454b545b35bb3453b534b53
Author: i<i@i.com>
Date:   today

    blalblallasa
test 5 lines of Plain text 89 Bytes Show Edit Expand
1
2
3
4
5
commit 2344454b545b35bb3453b534b53
Author: i<i@i.com>
Date:   today

    blalblallasa
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
diff --git a/package.json b/package.json
index 5ba44f8..c536b45 100644
--- 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') // <-- This bad fellow here is the problem 
inflect.plural(/sis$/i, "...

Page 9, 10 entries