Welcome! This page is using CodeRay 1.1.2.

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

Page 13, 10 entries

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
www.codified.com 29 lines of Ruby by www.codified.ai 418 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
#Codified AI
#Applied Artificial Intelligence
#codify - to reduce into code.

require TensorFlow
require ActiveRecord
require RubyOnRails
require DataModeling


class Codified < Artificia...
c++11 48 lines of C++ by Adam 1.3 KB Show Edit Expand
1
2
3
4
5
6
7
8
#include <unistd.h>
#include <fcntl.h>
#include <sys/select.h>
#include <errno.h>
#include "Socket.h"

int main(int argc, char *argv[]){
    // 对 socket 进行了简单的封装,这里实际是创建了一个套接字,同时连接到 127.0.0....

Page 13, 10 entries