Welcome! This page is using CodeRay 1.1.2.

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

Page 160, 10 entries

fds 538 lines of Ruby 24.3 KB Show Edit Expand
1
2
3
4
<?xml version="1.0" encoding="UTF-8"?><ONIXMessage release="3.0" xmlns="http://www.editeur.org/onix/3.0/reference">
<Header>
<Sender>
<SenderIdentifier><SenderIDType>06</SenderIDType><IDValue>30...
kjb 6 lines of Clojure 69 Bytes Show Edit Expand
1
2
3
4
5
6
def test
 x = "test syntax highlight"
 puts x.length
end 

test 
test diff 1 line of diff 10 Bytes Show Edit Expand
1
./start.sh
sd 3 lines of CSS by sd 27 Bytes Show Edit Expand
1
2
3
#faster  {
width:100px;
}
este 7 lines of C 180 Bytes Show Edit Expand
1
2
3
4
5
6
7
#ifdef LITE_VERSION
//Stuff for Lite version 
self.labelAppName.text=@Sample App Lite; 
#else 
//Stuff for Full version 
self.labelAppName.text=@Sample App Full; 
#endif 
php unzip 15 lines of PHP 392 Bytes Show Edit Expand
1
2
3
4
5
6
7
<?php
$zip = zip_open("zip.zip");
if ($zip) {
  while ($zip_entry = zip_read($zip)) {
    $fp = fopen("zip/".zip_entry_name($zip_entry), "w");
    if (zip_entry_open($zip, $zip_entry, "r")) {
...
c++ test 2 lines of C++ by Limi 92 Bytes Show Edit Expand
1
2
  CCMenu* pMenu = CCMenu::create(pCloseItem, NULL);
  CCMenu::create(CCMenuItem* item, ...)
test 30 lines of SQL 774 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
SELECT 
    User.id
    ,User.login
    ,User.password
    ,City.name
    ,School.name
    ,(CASE WHEN User.failed_transactions_count > 0 THEN
        1 
    ELSE
        0
    END) AS ha...
Ray 160 lines of Ruby 4.88 KB Show Edit Expand
1
2
3
4
5
6
7
8
module CodeRay
  
  $CODERAY_DEBUG ||= false
  
  CODERAY_PATH = File.join File.dirname(__FILE__), 'coderay'
  
  # Assuming the path is a subpath of lib/coderay/
  def self.coderay_path *pa...
test some code 156 lines of PHP by guest1 6.46 KB Show Edit Expand
1
2
3
4
5
6
<?php
echo tag('link', array('rel'=>'stylesheet', 'type'=>'text/css', 'media'=>'screen', 'href'=>'/~qannah/css/website/cat.css'));

function fileExists($path)
{
    return (@GetImageSize($path...

Page 160, 10 entries