Welcome! This page is using CodeRay 1.1.2.

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

Page 3, 10 entries

test 32 lines of Ruby 1.09 KB Show Edit Expand
1
2
3
4
5
6
7
def update_dynamic_templates(model)
  index = model.table_name  
  doc_type = ElasticSearch::GlobalSearch::Sync.els_type_for_class(model)
  body =
    {
      doc_type => {
        dynamic_te...
C# test 88 lines of Java by Noman 2.48 KB Show Edit Expand
1
2
3
4
5
6
7
long neg,seg,sub,lin,pro,ll_idart
string filtrar,filtrar1,filtrar2,filtrar3,filtrar4,filtrar5
string ls_deart, ls_idemp, filtrar6,filtrar7,filtrar8
dw_busca.AcceptText()

// saca filtros
dw_l...
alb3rtuk 52 lines of Java by alb3rtuk 2.25 KB Show Edit Expand
1
2
3
4
5
6
package gov.hi.dhs.fmm.lib.db;

import gov.hi.dhs.fmm.lib.exceptions.ClientErrorException;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.as...
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 12 lines of JavaScript by SM Elite Xaya Explorer 153 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
{
  "g": {
    "smc": {  // jxcvhxcvxcvx
      "t": {
        "b": {
          "p": 5935,
          "a": 1951000
        }
      }
    }
  }
}
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

# ...

Page 3, 10 entries