Welcome! This page is using CodeRay 1.1.2.

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

Page 272, 10 entries

plsql 12 lines of SQL 197 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
declare
cursor cur is
(select contractid from contract where rownum=1);
r_serviceid contract.contractid%type;

begin
open cur;
loop 
fetch cur into r_serviceid;
end loop;
close cur;
end;
asdasd 3 lines of Java by asdasd 176 Bytes Show Edit Expand
1
2
3
string url = "http://localhost:8731/Design_Time_Addresses/Bobsled/OH";
ServicePoint mySP = ServicePointManager.FindServicePoint(new Uri(url));
mySP.UseNagleAlgorithm = false;
test diff 24 lines of diff 717 Bytes Show Edit Expand
1
2
3
4
5
6
index f01ee8e..f6005f1 100644
--- a/app/views/layouts/base.rhtml
+++ b/app/views/layouts/base.rhtml
@@ -7,6 +7,20 @@
 <meta name="keywords" content="issue,bug,tracker" />
 <%= stylesheet_link_...
Hueta 14 lines of PHP 271 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
<?php
class MyDestructableClass {
  function __construct() {
      print "In constructor\n";
      $this->name = "MyDestructableClass";
  }

  function __destruct() {
      print "Destroyin...
asdasd 170 lines of Groovy (beta) by asdasd 5.31 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
require 'rack/utils'
require 'nokogiri'

module Rack
  class Codehighlighter
    include Rack::Utils

    # for logging use
    FORMAT = %{%s - [%s] [%s] "%s %s%s %s" (%s) %d %d %0.4f\n}
 ...
testing 9 lines of C++ by hrnt 166 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
template <typename T> struct X {
  template <typename S> bool operator<(S const &) { return true; }
};

int main() {
  X<void> x;
  x.operator< <int>(3);

}
qwe 13 lines of PHP 201 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * Foo_Manager Class
 * 
 * Generates a Foo Manager
 * 
 * @author flo
 * @see App_Model_Manager
 */
class Foo_Manager extends App_Model_Manager {

    protected $_tableName = 'Foo';
...
projects 49 lines of YAML 1.26 KB Show Edit Expand
1
2
3
4
5
6
7
8
---
en:
  projects:
    defaults: &defaults
      insert_new: "New project"
      show_link: "Show project"
      edit_link: "Edit project"
      back_link: "Projects list" # oppure un gener...
asdasd 134 lines of Java 3.84 KB Show Edit Expand
1
2
3
4
5
class Complex
{
  public double re, im;    // odpowiednik definicji rekordu
                                        // re - część rzeczywista liczby zespolonej
                                 ...
css 16 lines of CSS 230 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
body {
  margin: 10px 0;}

#main {
  border: 1px solid red;
  color: green;}

  #main p {
    color: purple;}
  
    #main p a {
      text-decoration: none;}

#something-else {
  fon...

Page 272, 10 entries