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

Dummy 16 lines of C++ by Me 247 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
class Dummy
{
  public:
    //Constructor/Destructor
    Dummy() : m_bIsDummy(true) {}
    ~Dummy() {}

    bool bIsDummy() { return m_bIsDummy; } 

  private:
    bool m_bIsDummy;
  pub...
Hello World x10 4 lines of Ruby by Me 60 Bytes Show Edit Expand
1
2
3
4
for(int i = 0; i<10; i++)
{
  printf("Hello World ka");
}
test 9 lines of Java by karim 322 Bytes Show Edit Expand
1
2
3
4
5
public static string Decode(string s)
{
MatchCollection rr = Regex.Matches(s,@"(?:=\?)([^\?]+)(?:\?B\?)([^\?]*)(?:\?=)");
string charset = rr[0].Groups[1].Value;
string data = rr[0].Groups[2].V...
eee 1 line of Plain text 4 Bytes Show Edit Expand
1
eeee
Diff 5 lines of diff 120 Bytes Show Edit Expand
1
2
3
4
5
7d6
<     return CodeRay.scan(File.new(actualPath).read.to_s, @mm[mimetype]).div(:css => :class)
8a8,9
>   
>   sdfw
sql greensauna 207 lines of SQL by filip skokan 4.16 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
USE greensauna
;


# Drop Tables, Stored Procedures and Views 
DROP TABLE IF EXISTS designs
;
DROP TABLE IF EXISTS control_units
;
DROP TABLE IF EXISTS facings
;
DROP TABLE IF EXISTS hea...
Basic QML Template 16 lines of JavaScript 264 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
import QtQuick 1.0

Rectangle {
    width: 360
    height: 360
    Text {
        text: "Hello World"
        anchors.centerIn: parent
    }
    MouseArea {
        anchors.fill: parent
...
aaaa 157 lines of PHP by aaaa 6.08 KB Show Edit Expand
1
2
3
4
5
6
7
8
<?php

/**
 * Classe Exemplo
 * 
 * Classe para exemplificar boas praticas a serem seguidas em projetos futuros
 * da Nitrodev. (note tamanho da linha, tentar nunca passar de 80 caracteres,
...
Scheme sample 16 lines of Python by agaida 416 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
(case (what-would-you-like-to-do?)
  ((learn)
   (choose-from FAQ
                textbooks
                videos
                blogs
                standards
                tutorials
...
gf_install 6 lines of Ruby 236 Bytes Show Edit Expand
1
2
3
4
EMAIL_QUEUE = GirlFriday::WorkQueue.new(:user_email, :size => 3) do |msg|
  UserMailer.registration_email(msg).deliver
end
IMAGE_QUEUE = GirlFriday::WorkQueue.new(:image_crawler, :size => 7) do ...

Page 213, 10 entries