Welcome! This page is using CodeRay 1.1.2.

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

Page 1, 10 entries

C++ with exports and inputs 1 line of C++ by Refael Sheinker 103 Bytes Show Edit Expand
1
void Some_ReadPCI(IN DWORD bus, DWORD dev, IN int func, int offset,IN DWORD bytesNum,OUT PVOID pValue);
shell 10 lines of JSON by 333yyy 235 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
#!/bin/bash
set -e

# Add native library before start container
if ! type "make" > /dev/null; then
  echo "Installing gcc and make ..."
  apt-get update
  # apt-get install -y gcc make
  ap...
A 7 lines of Ruby 54 Bytes Show Edit Expand
1
2
3
4
5
6
7
p <<"A#{b}C"
#{
  <<"A#{b}C"
A#{b}C
}
str
A#{b}C
java 9 lines of Java 114 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
public int getValue() {

    return value;
}

public void setValue(int value) {

    this.value = value;
}
powershell 1 line of C 9 Bytes Show Edit Expand
1
Taskpaper
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);
}

Page 1, 10 entries