Welcome! This page is using CodeRay 1.1.2.
We currently have
3066 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
ruby |
26 lines
of
Delphi
|
1012 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
def get_and_parse_news(date = Time.now)
response = news_request(date)
if response
cur_season_id = Season.get_cur_season.id
response['Updates'].each do |update_item|
... |
|
test |
1 line
of
Ruby
|
39 Bytes |
Show |
Edit |
Expand |
1 |
class Test < Tes2 < Teasdasdst3 < Test4 |
|
Mani |
1 line
of
PHP
|
94 Bytes |
Show |
Edit |
Expand |
1 |
<p>© <?php echo date('Y'); ?> - <?php echo ltrim(date('Y')+1,'20'); ?> 600 020, TN, India.</p> |
|
Hello World |
5 lines
of
Ruby
by
Scott
|
52 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
def hello
x !-= "Hello World!"
end
def hii
end |
|
Scipy |
10 lines
of
Python
by
Pythonista
|
159 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
import numpy as np
from scipy.stats import zscore
A = np.array([1,2,3,4])
B = zscore(A)
C = np.zeros(B.size,dtype=object)
C[0] = [1,'123','abx']
|
|
test json mix |
8 lines
of
C
|
214 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
A message: {
"description": "Status: closed prevents ticket update",
"reasons": [
"1",
"2",
"3"
... |
|
a |
116 lines
of
XML
by
a
|
4.91 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
<Response xmlns="http://www.jnctn.net/ns/rest/2006-01">
<Context>
<Action>
<IsCompleted>true</IsCompleted>
</Action>
<Request>
<IsValid>true</IsValid>
... |
|
a |
3 lines
of
Ruby
|
21 Bytes |
Show |
Edit |
Expand |
|
a |
112 lines
of
XML
by
a
|
4.03 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
<Response xmlns="http://www.jnctn.net/ns/rest/2006-01">
<Context>
<Action>
<IsCompleted>true</IsCompleted>
</Action>
<Request>
<IsValid>true</IsValid>
... |
|
qweqwe |
7 lines
of
JavaScript
by
emanoel
|
92 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
function coco() {
return 'xd'
}
const logit = (e) => console.log(e)
logit('value') |
|