Welcome!

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

SQL 1 line of SQL by Kaktusyaka21 BytesShowEditExpand
SELECT * FROM `users`
Code Code Code8 lines of Ruby by Eric57 BytesShowEditExpand
1
2
3
4
5
6
7
8
x == !false

y = x
puts x

if x
  puts "blank"
end
h1 line of HTML 665 BytesShowEditExpand
<object width="500" height="375"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6885...
Test XML11 lines of XML by Devether230 BytesShowEditExpand
1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="UTF-8"?>
<STRUCTURE Name="test">
  <items>
    <item num="01">
      <name>My Item 01</name>
    </item>
    <item num="02">
      <name>My Item 02</name>
    ...
SQL Test2 lines of SQL by M K85 BytesShowEditExpand
1
2
SELECT * FROM `db.table` WHERE `uid`=1;
UPDATE `db.table` SET `uid=2` WHERE `uid`=1;
qq1 line of Ruby 9 BytesShowEditExpand
qew qweqw
Doctrine_Template_MultiApplication (PHP)46 lines of PHP by fruit998 BytesShowEditExpand
1
2
3
4
5
6
7
8
9
10
11
12
<?php

  /**
   * @subpackage doctrine
   */
  class Doctrine_Template_MultiApplication extends Doctrine_Template
  {
    /**
     * Array of Sortable options
     *
     * @var string
 ...
Test1 line of HTML 22 BytesShowEditExpand
<strong>varun</strong>
Some ROR Code12 lines of Ruby by Fred Flintstone293 BytesShowEditExpand
1
2
3
4
5
6
7
8
9
  def successful_login(user)
    session[:logged_in] = true
    current_user = user
    redirect_to(admin_path)
  end

  def failed_login(message)
    session[:logged_in] = false
    sessio...
PHP26 lines of PHP by Me :)260 BytesShowEditExpand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

class Test {

private static $instance;


private function __construct() {

}

public static function instance() {

   if($instance != null) {
      $instance = new Test();
  ...