Welcome! This page is using CodeRay 1.1.2.

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

Page 260, 10 entries

asd 5 lines of Ruby 71 Bytes Show Edit Expand
1
2
3
4
5
class Person
  def initialize(name)
    @name      = name
  end
end
Punkt Klammer 1.9 1 line of Ruby by bovi 22 Bytes Show Edit Expand
1
A.new.(1,2) #=> [a, b]
ObjC Test 10 lines of C by shauber 476 Bytes Show Edit Expand
1
2
3
4
// Setup database location
        NSString *dbName = @"cartracker.sqlite3";
        NSArray *documentPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
   ...
test 84 lines of Plain text by john 2.5 KB Show Edit Expand
1
2
3
4
5
6
7
8
# install openssh-server
$ sudo apt-get install openssh-server

#install updates and tools
$ sudo apt-get update?$ sudo apt-get upgrade?$ sudo apt-get install build-essential

# install php
...
test 12 lines of Plain text 163 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
test = test <<-"TEST1", <<-"TEST2"
testteset
ets#{testetsetsett}safdsfdfsda
esste
ste
TEST1
sdfdfsfsdfsd
fddsfdsdsf
#{adsdsdas}sdffa
dfs
fdsfdsfds
TEST2
HAML test 19 lines of ERb by Imanel 520 Bytes Show Edit Expand
1
2
3
4
5
6
!!!
%html(xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en")
  %head
    %title BoBlog
    %meta(http-equiv="Content-Type" content="text/html; charset=utf-8")
    = stylesheet_link_...
How C++ looks with C highlighting 12 lines of C by J. Wedekind 161 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
template< typename T >
T plus( const &T x )
{
  return -x;
}

template< typename T >
class image
{
public:
  image( const image< T > &_image ) {}
};
My Test 1 line of Plain text 24 Bytes Show Edit Expand
1
sudo gem install coderay
My Test 3 lines of Plain text 39 Bytes Show Edit Expand
1
2
3
#!/bin/bash

sudo gem install coderay
test 21 lines of YAML 2.86 KB Show Edit Expand
1
2
3

hu:                                                                                                                                                   
  date:                                    ...

Page 260, 10 entries