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 12, 10 entries

dd 9 lines of Ruby 140 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
cat > /usr/local/bin/sudo << "EOF"
#!/bin/sh
# Drop any option arguments.
while [[ $# -ge 0 && $1 = -* ]]; do
  shift
done

"$@"
EOF
JSON SMC 289 lines of JSON by SM Elite Xaya Explorer 8.84 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
{
  "type": "ruby",
  "mime": "text/html",
  "objects": [

  ],
  "object": {
    "class_name": "WikiPage",
    "params": {
    },
    "to_string": "#<WikiPage:0x00007f4d45c653b0>",
    ...
jj 1 line of Ruby 29 Bytes Show Edit Expand
1
puts "hello hello poda patti"
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...

Page 12, 10 entries