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 252, 10 entries

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("中文");
}
test 14 lines of Java by Hans Monsen 492 Bytes Show Edit Expand
1
2
3
4
5
6
   Connection sourceCon = ConnectionManager.getSourceDBConnection();
            Statement st  = sourceCon.createStatement();

            String coreSQL = "SELECT * from WSSUS2";

           ...
application.html.haml 9 lines of Ruby 228 Bytes Show Edit Expand
1
2
3
4
5
6
7
%html
  %head
    %title Посылки
    = stylesheet_link_tag 'http://yui.yahooapis.com/2.8.1/build/reset/reset-min.css'
    = stylesheet_link_tag :all
    = javascript_include_tag :defaults
    = c...
ruby 46 lines of Ruby by acacawc 1.15 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
#print "Hello"
print 3 / 4
print 3 / 4.0
print 3.12414 / 4
print
print 20 % 6
puts 'hei ' * 8

puts 'Se coloca cada dama de las 128 sobre tableros de ajedrez vacios (sin piezas) distintos, ...
Test 10 lines of C 341 Bytes Show Edit Expand
1
2
3
4
5
6
// Bad C++ Example
WithdrawalTransaction withdrawal;
withdrawal.setCustomerId( customerId );
withdrawal.setBalance( balance );
withdrawal.setWithdrawalAmount( amount );
withdrawal.setWithdrawa...

Page 252, 10 entries