Welcome! This page is using CodeRay 1.1.2.

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

Page 1, 10 entries

test 103 lines of Ruby 2.8 KB Show Edit Expand
1
2
3
4
5
6
7
8
# frozen_string_literal: true

class Scheduler
  def self.needs_updating_ids
    # TODO: Add your resolution here
    movies = Movie.where(needs_update: true)

    response = Faraday.get('ht...
modern css 9 lines of CSS by loris 168 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
body {
    --some-variable: red;
    font-size: 12pt;
    background: #fff url(temp.png) top left no-repeat;
    div {
        &:hover { color; red;}
    }
}

liquid test 5 lines of HTML 65 Bytes Show Edit Expand
1
2
3
4
5
<html>
  {%if something%}
    test liquid
  {%endif%}
</html>
sads 2 lines of YAML 26 Bytes Show Edit Expand
1
2
test: 123
hoempa: vfdsvgs
google_compute_network 111 lines of HTML by Y 3.01 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
data "google_compute_network" "default" {
  name = lookup(var.gke_network_main, "vpc_name")
}

resource "random_string" "db_password" {
  length  = 16
  special = false
  lower   = true
  u...
johan 1 line of XML 56 Bytes Show Edit Expand
1
<cbc:InvoiceTypeCode name="01">380</cbc:InvoiceTypeCode>
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 14 lines of JavaScript by Haha 232 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
const asd = () => {
    const payload = {
        asd: 'asd',
    };
    asd.execute('asd', payload);
};

function asd() {
    const payload = {
        asd: 'asd',
Bet: best
    };
 ...

Page 1, 10 entries