Welcome! This page is using CodeRay 1.1.0 (beta).

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

Page 120, 10 entries

test 5 lines of Java 122 Bytes Show Edit Expand
1
2
3
4
5
public class HelloWorld {
  public static void main (String[] args) {
    System.out.println("Hello World !!");
  }
} 
Bash script 25 lines of Plain text by zharcos 1.07 KB Show Edit Expand
1
2
3
4
# instalira curl, git, ssl, mysql, imagemagick itd.
sudo apt-add-repository ppa:ubuntu-on-rails/ppa
sudo apt-get update
sudo apt-get -y install curl git build-essential bison openssl libreadline...
Teste 3 lines of JavaScript by Hugo Roque 49 Bytes Show Edit Expand
1
2
3
function testando() {
  console.log("wtf?");
};
test 18 lines of Python 675 Bytes Show Edit Expand
1
2
3
4
        Function redirectcheck(xurl, ourl)
          'check the xurl end if exists, response.redirect with 301
          set Geturl = Server.CreateObject("ADODB.Recordset")
          Geturl.ActiveConnection = MM_c...
test of json 12 lines of JSON 245 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
{
  "name": "Foo",
  "for-condition": "Bar,
  "id": "5",
  "description": "the quick brown fox jumps over the lazy dog. ",
  "severity-counts": {
    "severe": "268",
    "none": "328",
   ...
test 42 lines of Plain text 1.2 KB Show Edit Expand
1
2
3
4
5
6
7
8
require 'rubygems'
require 'coderay'

# output as HTML div (using inline CSS styles)
puts CodeRay.scan('puts "Hello, world!"', :ruby).div

# ...with line numbers
puts CodeRay.scan("5.times d...
test 5 lines of Ruby 100 Bytes Show Edit Expand
1
2
3
4
5
a = {:@cupcakes=>4, :waffles=>2, :cupcakes=>4}
b = "sample_variable"
some_method

new line added
Markdown with php 4 lines of PHP 212 Bytes Show Edit Expand
1
2
3
4
- When opening an array, if the array only has one or two elements and it fits
  within the 80 column limit, you may use inline array notation:

        $noises = array('cow' => 'moo', 'chicken'...
Gouano 5 lines of Java by Gouano 62 Bytes Show Edit Expand
1
2
3
4
5
public Gouano()
{
  Qm = new neuneu();
  Qr = new big();
}
Test 23 lines of C++ 927 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
void GestViewport::updateViewportSize()
{
  int count = this->countViewport();
  
  if(count > 0)
  {
    for(int i = 0 ; i < count ; i++)
    {
      Viewport * viewport = this->lstViewport.at(i);
  ...

Page 120, 10 entries