Welcome! This page is using CodeRay 1.1.2.

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

Page 253, 10 entries

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')
Roulette Sim 69 lines of Ruby by Chris 1.53 KB Show Edit Expand
1
2
3
4
5
6
7
8
class Roulette
  @fields = {0  => "green",
            1  => "red",
            2  => "black",
            3  => "red",
            4  => "black",
            5  => "red",
            6  => ...
asdf 19 lines of C++ 628 Bytes Show Edit Expand
1
2
3
4
5
6
void Utilities::setFormErrorStyle(QLineEdit *lineEdit)
{
    lineEdit->setStyleSheet(
            "background-color: #FF8A8A;"
            "background-image: url(:/resources/warning.png);"
   ...
dbuf interface for AT-SPI 60 lines of C++ by Mark Doffman 1.87 KB Show Edit Expand
1
2
3
4
5
    using Attributes = org.freestandards.atspi.Attributes;
    using Reference = org.freestandards.atspi.Reference;
    
    /*
    The base interface which is implemented by all accessible obj...
111 11 lines of C by Koss 273 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
<%@ Page ....

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

    ....
    ....

    <FCKeditorV2:FCKeditor ID="fckHtml" runat="server"...
css test 2 lines of CSS by al 117 Bytes Show Edit Expand
1
2
h1 { color: white; background-color: orange !important; }
h2 { color: white; background-color: green !important; }
java test 3 lines of Java by soluo.info 77 Bytes Show Edit Expand
1
2
3
public static void main(String[] args){
    System.out.println("中文");
}

Page 253, 10 entries