Welcome! This page is using CodeRay 1.1.2.

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

Page 13, 10 entries

diff 13 lines of diff 333 Bytes Show Edit Expand
1
2
3
4
5
6
7
diff --git a/c_lang/hello.c b/c_lang/hello.c
index bab4f9d..53eafda 100644
--- a/c_lang/hello.c
+++ b/c_lang/hello.c
@@ -7,7 +7,7 @@ int main(int argc, char **argv)
         * -3
         * -...
diff 20 lines of diff 487 Bytes Show Edit Expand
1
2
3
user@debian7:~/$ diff -p  source_org/c_lang/hello.c source/c_lang/hello.c
*** source_org/c_lang/hello.c   2015-02-22 15:11:44.218901466 +0900
--- source/c_lang/hello.c   2015-02-22 20:11:18.52803...
sql 1 line of SQL 21 Bytes Show Edit Expand
1
SELECT 1 AS G, 2 AS C
try ruby 127 lines of Ruby by threethree 1.64 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class PostsController < ApplicationController

before_action :set_post, only: [:show, :edit, :update, :destroy]

# GET /posts

# GET /posts.json

def index

@posts = Post.all

end

# ...
Java 21 lines of C++ by ssk 880 Bytes Show Edit Expand
1
2
3
4
HRESULT CmrCaAnalysisComponent::CheckOstiaOutput(
) {
    RET_IF_FALSE(m_output_full_auto_left_ostia_model_proxy.IsValid())
    RET_IF_FALSE(m_output_full_auto_right_ostia_model_proxy.IsValid())...
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
  ***********************************...

Page 13, 10 entries