Welcome! This page is using CodeRay 1.1.2.

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

Page 14, 10 entries

try 9 lines of JavaScript 202 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
const path = require('path');

module.exports = {
  entry: ['./app/first.js', './app/second.js'],
  output: {
    filename: '[name].bundle.js',
    path: path.resolve(__dirname, 'dist')
  } ...
Twitter Labs v2 Tweets with annotations 45 lines of JSON by andypiper 1.22 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
{
  "data": [
    {
      "context_annotations": [
        {
          "domain": {
            "id": "71",
            "name": "Video Game",
            "description": "A video game like Ov...
KSY (Kaitai Struct YAML) test 16 lines of YAML by generalmimon 232 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
meta:
  id: animal_record
  endian: be
seq:
  - id: uuid
    size: 16
  - id: name
    type: str
    size: 24
    encoding: UTF-8
  - id: birth_year
    type: u2
  - id: weight
    typ...
C 50 lines of C 1.11 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
#define BODY_FROM   100

#include "chain.c"

#include "objects.c"

#include "levels.c"

clock_t now;
int level = 0; // počáteční level, u prvního se hned zvýší
int score;
int gameover; /...
şljnk 543 lines of C 16.6 KB Show Edit Expand
1
2
3
4
5
6

/**
  ******************************************************************************
  * @file           : main.c
  * @brief          : Main program body
  ***********************************...
YAML document with delimiters 11 lines of YAML 298 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
einLabel:
  - [$box, bind, box]
  - [this, within, $box]
  - [:n, neighbor, this]
  - [.text, matches, ['Employer identification number', i]]
ein:
  - [$lbl, bind, ::einLabel]
  - [this, wit...
sql 8 lines of SQL by sqler 167 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
DELETE
FROM
W_JOBOFFER_APP_AFT_RECOMMEND
WHERE
JOBSEEKER_NO NOT IN (?)
AND JOBOFFER_MANAGEMENT_NO NOT IN (?)
AND STATEFUL_FLAG = '0'
AND DELETE_TSTAMP IS NULL
aaaa 22 lines of JSON 603 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
{
    "glossary": {
        "title": "example glossary",
    "GlossDiv": {
            "title": "S",
      "GlossList": {
                "GlossEntry": {
                    "ID": "SGML",
          "...
dfdf 9 lines of C 119 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
#include "test.h"

int main(int argc, char * argv[]);

/* comment test */

int foo(void);

// another comment
Ruby Highlight 15 lines of Ruby 195 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
array = []

File.open(file.txt) do |f|
  f.lines.each do |line|
    array << line.split.map(&:to_s)
  end
end

puts purgeObject

@test = {
  "strings" => array
}.to_json

puts @test

Page 14, 10 entries