Welcome! This page is using CodeRay 1.1.1.

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

Page 6, 10 entries

a 88 lines of XML by a 2.47 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>
      <DateTime>2017-02-02T19...
Rails code 9 lines of Ruby by Mugen 212 Bytes Show Edit Expand
1
2
3
4
5
6
7
changes = compute_changes(data_model)
new_data_model = apply_changes(changes)
changes(new_data_model) == []

def(access)
  if access.present?
    current_user.admin ? Article.new : Artecle.al...
ㅈㄷㄱㅈㄷㄱㅈㄷㄱ 8 lines of Plain text 114 Bytes Show Edit Expand
1
2
3
4
5
6
7
8


xenserver.conf

password = npCore!234
url = http://192.168.1.42
machines = Win7x64_001
interface = eth0
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>
...

Page 6, 10 entries