Welcome!
We currently have 348 rays in the database.
You can add a New Ray or browse the posted rays by pages.
| 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 Ruby by asdasd | 5.1 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.3 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 | 6 lines of Java | 225 Bytes | Show | Edit | Expand |
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;... |
|
| 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... |
|
| test | 37 lines of PHP by huylo | 1.1 KB | Show | Edit | Expand |
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 test | 12 lines of SQL | 775 Bytes | Show | Edit | Expand |
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... |
|