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.
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()
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
while [[ $
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": {
"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 |
--- 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 |
--- source/c_lang/hello.c 2015-02-22 20:11:18.52803... |
|
sql |
1 line
of
SQL
|
21 Bytes |
Show |
Edit |
Expand |
|
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]
def index
@posts = Post.all
end
|
|