Welcome! This page is using CodeRay 1.1.2.

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

Page 251, 10 entries

PHP 26 lines of PHP by Me :) 260 Bytes Show Edit Expand
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();
  ...
asdas 1 line of Ruby 34 Bytes Show Edit Expand
1
When I fill "login" with "usuario"
teste 1 line of Ruby 9 Bytes Show Edit Expand
1
dasdasdas
Plain Text Test 4 lines of YAML 299 Bytes Show Edit Expand
1
2
3
4
08:13|19:50:26 INFO(10): ---- DONE PROCESSING STATUS FOR ds1 ----
08:13|19:50:26 STATUS(5): ds1: Current State: Maintenanace
08:13|19:50:26 INFO(10): ds1: IPMI Status: Not Applicable
08:13|19:50...
123 28 lines of JavaScript 1.19 KB Show Edit Expand
1
2
3
4
5
6
7
var arVersion = navigator.appVersion.split("MSIE")
var version = parseFloat(arVersion[1])

if ((version >= 5.5) && (document.body.filters)) 
{
   for(var i=0; i<document.images.length; i++)
 ...
Perl 10 lines of Ruby by ramble 145 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/perl
use strict;
use warnings;
while (1) {
  print "Why can't you highlight this yet?";
}

sub redmin{
  print $redmine,\n;
}
This script removes all files within the current folder. 20 lines of PHP by D9 502 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
<?php
/*
 * This script removes all files within the current folder.
 * Yes, it will delete itself also!
 * Use with caution!
 */

    $path = `pwd`;
    echo "<h1>Remove all files within $...
java method 28 lines of Java by kulpae 875 Bytes Show Edit Expand
1
2
3
4
5
6
public class SomeClass {
    public void render() {
        float x, y, z;
        GL11.glBegin(GL11.GL_QUADS);
        for (int i = 0; i < height; i++) {
            for (int j = 0; j < width...
Testing 3 lines of SQL 72 Bytes Show Edit Expand
1
2
3
ALTER DATABASE tempdb
MODIFY FILE (NAME = templog, FILENAME = '..')
GO
Test 2 lines of SQL by LOLSEN 91 Bytes Show Edit Expand
1
2
SELECT * FROM [M001_T074]
WHERE ([F074_51] = 'F' AND [F074_71] <> '') OR ([F074_51] = 'B')

Page 251, 10 entries