Welcome! This page is using CodeRay 1.1.2.

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

Page 3, 10 entries

react-lifecycle 36 lines of HTML by xialvjun 1 KB Show Edit Expand
1
2
3
4
5
6
7
<Lifecycle
  props={{ list }}
  getDerivedStateFromProps={(props, state) => {
    const plist = props.list,
          slist = state.list;
    if (plist.length > slist.length) {
      return {...
Kersha 3 lines of C by asfwf 25 Bytes Show Edit Expand
1
2
3
#include"Sdfsdf"
saf

Test 109 lines of HTML 3.83 KB Show Edit Expand
1
2
3
4
5
6
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>CodeRay</title>
<link href="/assets/application-f8ea5ce63e3a069fd3ab6fec1775baef.css" media="screen" rel="stylesheet" type="text/css...
PHP 44 lines of PHP by nnwebdesign 1.13 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
 * A multiline comment
 */

if ($this->commandsRegistered) {
  return;
}

$this->commandsRegistered = true;

$this->kernel->boot();

$container = $this->kernel->getContainer();

fo...
c++ 3 lines of C++ 49 Bytes Show Edit Expand
1
2
3
void loop() {
int tiltValue = compute(value);
}
rb.html 14 lines of HTML by test 344 Bytes Show Edit Expand
1
2
3
4
5
6
{{#data}}
<div{{#if spacingTweak}} class="ex-topSpacingTweak-{{spacingTweak}}"{{/if}}>
  <div class="t0-b-frame-bPlacer">
    <div class="t0-b-frame">
      <div class="t0-b-frame__hd">
      ...
zefzef 48 lines of JSON 1.8 KB Show Edit Expand
1
2
3
4
5
6
              {
                "data" : {
                  "domain" : "intercom.io",
                  "webmail" : false,
                  "pattern" : "{first}",
                  "organiza...
Diff 2 lines of diff 16 Bytes Show Edit Expand
1
2
- test1
+ test2
terminal? 6 lines of Plain text 47 Bytes Show Edit Expand
1
2
3
4
5
6
#### comment
# cmd 
output

$ cmd
output
SQL 35 lines of SQL by jim 719 Bytes Show Edit Expand
1
2
3
4
DECLARE @OriginalRecord TABLE (id INT NOT NULL, email NVARCHAR(150) NULL)
DECLARE @UpdatedRecord TABLE (id INT NOT NULL, email NVARCHAR(150) NULL)

INSERT INTO @OriginalRecord  VALUES ( 1, 'test...

Page 3, 10 entries