Welcome! This page is using CodeRay 1.1.2.

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

Page 1, 10 entries

test 1 line of Ruby 97 Bytes Show Edit Expand
1
 #<User id: nil, email: "", created_at: nil, updated_at: nil, name: "", phone: nil, zipcode: nil>
test 11 lines of SQL 625 Bytes Show Edit Expand
1
2
3
4
5
SELECT COUNT(*) AS valid_records_count
FROM (
    SELECT *,
        CASE WHEN ${phone} RLIKE '^(?:(?:\+|00)86)?1[3-9]\\d{9}$' THEN 1 ELSE 0 END AS phone_valid_count,
        CASE WHEN ${id_numb...
EJS test 46 lines of JavaScript 1.22 KB Show Edit Expand
1
const express = require('express');ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...
asd 13 lines of JavaScript 219 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
const asd = () => {
    const payload = {
        asd: 'asd',
    };
    asd.execute('asd', payload);
};

function asd() {
    const payload = {
        asd: 'asd',
    };
    asd.execut...
Title 20 lines of JSON 522 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
{
   "date": "2024-04-23T18:25:43.511Z",
   "powerModules": [
 {
"MODULE_PHYSICAL_ADDRESS": 1,
"MODULE_SERIAL_NUMBER": "textStringSerialNumnber",
"POWER_UNIT_ID": 1,
"MODULE_STATE": "FAULT",...
Ruby test 13 lines of Ruby 147 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
module Test
  class Test
    def initialize(arg)
      @arg = arg
    end

    private

    def debug
      puts @arg
    end
  end
end
Clojure test code 31 lines of Clojure by Vic 1.03 KB Show Edit Expand
1
2
3
4
5
(defn sync-lib-deps [& {:as opts}]
  (->> (for [lib  (if (seq (:libs opts))
                    (set/intersection (set enabled-libs) (set (:libs opts)))
                    enabled-libs)
      ...
aaa 17 lines of C 185 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Bad
class Employee
{
protected:
    int mDepartmentID;
private:
    int mAge;
}

// Good
class Employee
{
protected:
    int m_DepartmentID;
private:
    int m_Age;
}
sad 13 lines of HTML 139 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
<table>
<tr>
<td></td>
<td>ヘッダー項目</td>
<td>意味</td>
<td>抽出対象</td>
</tr>
<tr>
<td>セル</td>
<td>セル</td>
<td>セル</td>
</tr>
</table>
test 5 lines of C 74 Bytes Show Edit Expand
1
2
3
4
5
var myVar = "Linux Sux";

function myFunction() {
    alert(myVar);
};

Page 1, 10 entries