Welcome! This page is using CodeRay 1.1.2.

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

Page 1, 10 entries

akwarystyka 82 lines of SQL 3.07 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
<?php
// Ustawienia bazy danych
$host = 'localhost';
$username = 'root';
$password = ''; // Domyślnie brak hasła dla XAMPP
$db_name = 'sklep_akwarystyczny';

// Połączenie z MySQL
$conn = n...
doygen 11 lines of C 208 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
/**
 * @brief event handler
 *
 * @param u8_buf message buffer
 * @param u8_len message length
 */
void canReceived( uint8_t const * const u8_buf, uint8_t u8_len)
{
  (void)u8_buf;
  (void...
111 2 lines of diff 132 Bytes Show Edit Expand
1
2
diff = "puts 'Hello, world!'\nputs 'Goodbye, world!'"
html = CodeRay.scan(diff, :diff).div(:line_numbers => :table, :css => :style)
111 1 line of diff 88 Bytes Show Edit Expand
1
CodeRay.scan("puts 'Hello, world!'", :ruby).div(:line_numbers => :table, :css => :style)
css-nesting 22 lines of CSS by CodeRay 616 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
.content {
    font-size: var(--font-size-medium);

    code:not(pre.highlight code) {
        border: 1px solid #e5e7eb;
        background-color: #f9fafb;
        padding: 3px;
        fon...
xml 11 lines of XML by mm 578 Bytes Show Edit Expand
1
<button class="search-handoff-button" tabindex="-1" data-l10n-args="{&quot;engine&quot;:&quot;Google&quot;}" data-l10n-id="newtab-search-box-handoff-input" title="Search with Google or enter addres...
sample 21 lines of SQL 531 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
WITH RECURSIVE bubble_sort AS (
    SELECT
        id,
        value,
        ROW_NUMBER() OVER (ORDER BY id) AS rn,
        FALSE AS swapped
    FROM numbers
    UNION ALL
    SELECT
    ...
gitlab.yml 176 lines of YAML 4.6 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
stages:
  - build
  - test
  - quality
  - security_static
  - security_dynamic
  - deploy
  - container_scan

variables:
  MAVEN_CLI_OPTS: "-B -DskipTests"
  MAVEN_OPTS: "-Dmaven.repo.l...
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;}
    }
}

Page 1, 10 entries