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

test c++ 69 lines of C++ 1.2 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef TEST_H
#define TEST_H

namespace QExtend
{

//! \~english A test class
//! \~french Une classe de test

/*!
  
\~english
    A more elaborate class description.

\~french
   ...
Ruby 3 lines of XML 23 Bytes Show Edit Expand
1
2
3
<A i="1">
 tstst
</A>
asdfa 4 lines of PHP by sadf 106 Bytes Show Edit Expand
1
2
3
4
<?php $my_var = 'Hello World';
  $my_var = str_replace('Hello', 'Goodbye', $my_var);

  echo $my_var;?>
javascript 7 lines of PHP 75 Bytes Show Edit Expand
1
2
3
4
5
6
7
<?php

echo $terve;

for ($i = 0; $i < 100; $i++) {
  echo "Terve";
}
Random PHP Code 12 lines of PHP by Baylor Rae' 362 Bytes Show Edit Expand
1
2
3
4
5
6
<?php 
    $oFCKeditor = new FCKeditor('ArticleBody') ;
    $oFCKeditor->BasePath = "/js/FCKeditor/";
    $oFCKeditor->Width  = '600';
    $oFCKeditor->Height = '500';
    if($this->article->A...
random 50 lines of ERb by random 1.33 KB Show Edit Expand
1
2
3
4
<h1><%=h @game.title %>
<% if current_user && current_user.id != @game.user_id %>
  <% if @game.users.exists?(current_user.id) %>
    <%= link_to '(Leave)', leave_game_path(@game), :confirm=>'Do yo...
diff 2 lines of diff 844 Bytes Show Edit Expand
1
--- a/README +++ b/README @@ -1,10 +1,18 @@ -git-bro - lightweight Sinatra based web application to track your local git repositories +git-bro - serve and browse your Git repositories -Currently gi...
Diff example 53 lines of diff by murphy < Patrick Okui 1.09 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
<table>
  <tbody>
+<ko if: Header.All -->
  <tr>
    <td>Header</td>
  </tr>
  <tr>
    <td id="underline">
      <img height="1px" width="545px" src="../../images/9.bmp" border="0">
    </td>
  </tr>
...
Unified Diff 16 lines of diff 614 Bytes Show Edit Expand
1
2
3
4
5
root@localhost:/etc/init.d# diff -U5 umountfs.orig umountfs
--- umountfs.orig  2010-04-01 12:41:59.000000000 +0200
+++ umountfs  2010-04-01 12:47:58.000000000 +0200
@@ -66,11 +66,11 @@
   TMPFS_MT...
Unified Diff 16 lines of C 614 Bytes Show Edit Expand
1
2
3
4
5
root@localhost:/etc/init.d# diff -U5 umountfs.orig umountfs
--- umountfs.orig  2010-04-01 12:41:59.000000000 +0200
+++ umountfs  2010-04-01 12:47:58.000000000 +0200
@@ -66,11 +66,11 @@
   TMPFS_MT...

Page 270, 10 entries