Welcome! This page is using CodeRay 1.1.2.

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

Page 226, 10 entries

465 11 lines of Java 157 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
/** 
* Simple Component. 
*/ 
component { 
/** 
* Simple function. 
*/ 
public void function foo() { 
WriteOutput("Method foo() called<br>"); 
} 
}
465 21 lines of Java 417 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using NUnit.Framework.Constraints;

namespace UpdateManager.Test.NCUS.UpdateManager
{
    [TestFixt...
lololol 39 lines of C++ 979 Bytes Show Edit Expand
1
2
3
4
5
6
#include <iostream>
#include <ctime>
using namespace std;

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//  Problem: #1 F...
SQL test 4 lines of SQL by Bart 419 Bytes Show Edit Expand
1
2
      (SELECT effect, koers, datum FROM koers WHERE datum <= '2011-01-19' AND effect = 1 AND deleted = 0 ORDER BY datum DESC LIMIT 1) 
UNION (SELECT effect, koers, datum FROM koers WHERE datum <= ...
ㅁㅁㅁㅁ 6 lines of XML 231 Bytes Show Edit Expand
1
2
3
4
5
<xs:complexType name="TypeMultiLangStr">
    <xs:sequence>
        <xs:element name="Default" type="TypeLang"/>
        <xs:element name="Value" type="MultiLangStr" maxOccurs="unbounded" />
   ...
diff 5 lines of diff 137 Bytes Show Edit Expand
1
2
3
4
5
--- test1       2011-01-24 12:46:09.000000000 +0000
+++ test2       2011-01-24 12:46:16.000000000 +0000
@@ -1 +1 @@
-ab c de
+abcde
test 9 lines of XML by test 205 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
<?xml version="1.0"?>
<methodCall>
   <methodName>examples.getStateName</methodName>
   <params>
      <param>
         <value><i4>41</i4></value>
         </param>
      </params>
   </met...
test 5 lines of diff 44 Bytes Show Edit Expand
1
2
3
4
5
#!/bin/sh

for i in *; do
  echo $i
done
test 14 lines of Ruby 246 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
# app/models/trinket.rb
class Trinket < ActiveRecord::Base
  searchable do
    text :name
    integer :code
  end
end

# vendor/extensions/customer/app/models/trinket.rb
class Trinket
  s...
Hello world 13 lines of PHP 214 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/perl
use strict;
use warnings;

print "Hello World!\n";

class Application {
   public function hello($msg) {
      echo 'Hello, '.$msg;
   }
}
$app = new Application();
$app...

Page 226, 10 entries