Welcome!

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

test diff24 lines of diff 717 BytesShowEditExpand
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_...
Hueta14 lines of PHP 271 BytesShowEditExpand
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...
asdasd170 lines of Ruby by asdasd5.1 KBShowEditExpand
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}
 ...
testing9 lines of C++ by hrnt166 BytesShowEditExpand
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);

}
qwe13 lines of PHP 201 BytesShowEditExpand
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';
...
projects49 lines of YAML 1.3 KBShowEditExpand
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...
asdasd6 lines of Java 225 BytesShowEditExpand
1
2
3
4
5
package com.oakwood.sproutIntro.views.components.framework 
{
  import com.oakwood.sproutIntro.views.components.RoundedCornerCanvasTest;
  import mx.containers.Canvas;
  import mx.controls.Button;...
css16 lines of CSS 230 BytesShowEditExpand
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...
test37 lines of PHP by huylo1.1 KBShowEditExpand
1
2
3
4
5
6
  function init () {
    global $REMOTE_ADDR, $site_own, $eng, $DEBUG, $HTTP_X_FORWARDED_FOR, $HTTP_COOKIE_VARS ;
    $this->id = null ;
    $this->data = null ;
    $this->stamp = null ;
    $this->erro...
SQL test12 lines of SQL 775 BytesShowEditExpand
1
2
3
4
  CREATE TABLE IF NOT EXISTS t_invite_status (
    ticket_id int(11) NOT NULL AUTO_INCREMENT COMMENT '事务ID,自增',
    user_id int(11) NOT NULL COMMENT '用户id',
    cat_parent_id int(11) NOT NULL de...