Welcome! This page is using CodeRay 1.1.2.

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

Page 106, 10 entries

aa 1 line of Ruby 408 Bytes Show Edit Expand
1
Site.find(52).versions.flat_map(&:child_site_lists).flatten.map{|a| a.site_list_brands.select{|a| a.brand_id == 886 }.map(&:latest_brand_link).compact.map{|blink| [blink.affiliate_link_url.canonica...
JavaTest 12 lines of Java by MaxEMoose 295 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
package pl.silvermedia.ws;
import java.util.List;

import javax.jws.WebParam;
import javax.jws.WebService;

@WebService
public interface ContactUsService {
  List<Message> getMessages();
 ...
To Network 3 lines of Ruby 81 Bytes Show Edit Expand
1
2
3
if File.exists?(local_saves)
  FileUtils.cp_r(local_saves, network_location)
end
deee 41 lines of Ruby 949 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
function QueueObject(model, fn, args, type) {
  var queue = [];
  var model = model;
  var fn = fn;
  var args = args;

  this.push = function (queueObject) {
    queue.push(queueObject);
 ...
diff 21 lines of diff 594 Bytes Show Edit Expand
1
2
3
4
5
*** /srv/http/moodle/blocks/course_overview/renderer.php  2013-10-25 14:19:31.609412900 +0200
--- renderer.php  2014-01-20 15:18:46.029442041 +0100
***************
*** 320,323 ****
--- 320,335 --...
ddsds 72 lines of PHP 2.58 KB Show Edit Expand
1
2
3
4
5
6
7
@echo off
rem ---------------------------------------------------------------------------
rem Startup script for the WSDLJava
rem
rem Environment Variable Prequisites
rem
rem   CARBON_HOME   ...
n! 2 lines of Clojure by max 52 Bytes Show Edit Expand
1
2
(defn n! [n]
  (if (zero? n) 1 (* (n! (dec n)) n)))
cc 27 lines of Ruby by cc 1.23 KB Show Edit Expand
1
2
3
4
5
Feature: Login feature

  Scenario: As a invalid user if I forgot to enter my username, application warns me about it
    When I press "Signin"
    Then I wait for "Please enter your Username" ...
Test Json 22 lines of JSON by blah 603 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
{
    "glossary": {
        "title": "example glossary",
    "GlossDiv": {
            "title": "S",
      "GlossList": {
                "GlossEntry": {
                    "ID": "SGML",
          "...
read all text of given file 5 lines of Ruby 52 Bytes Show Edit Expand
1
2
3
4
5
module 
  def dothis
    puts "test"
  end
end

Page 106, 10 entries