Welcome! This page is using CodeRay 1.1.2.

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

Page 160, 10 entries

test php 14 lines of PHP 583 Bytes Show Edit Expand
1
2
3
4
5
      $filename = 'secret-combination.txt';
      extract($_GET);
      if (isset($attempt)) {
        $combination = trim(file_get_contents($filename));
        if ($attempt === $combination) ...
test ruby 5 lines of Ruby by jduan 101 Bytes Show Edit Expand
1
2
3
4
5
describe Post do
     subject { Post.new published: true }

     it { should be_published }
end
test 1 line of Ruby by e 21 Bytes Show Edit Expand
1
<strong>Test</strong>
misc/ustring.c 22 lines of C 722 Bytes Show Edit Expand
1
2
3
4
/* ==================== handle argv ==================== */

#define ustring_delete_range_p(/*UString **/ ustr, /*UChar **/ from, /*UChar **/ to) \
ustring_delete_len(ustr, from - ustr->ptr, to ...
erb helper call 1 line of ERb by dsferreira 27 Bytes Show Edit Expand
1
<%= get_helper( params ) %>
Clojure example 2 lines of Clojure by clj 92 Bytes Show Edit Expand
1
2
(str "Example: "
  (clojure.string/join " " ["Clojure" "syntax" "highlighting" "example"]))
a 14 lines of Ruby 475 Bytes Show Edit Expand
1
2
3
4
5
6
class HomeController < ApplicationController

  FEATURE_ICONS_DIRECTORY = File.join(::Rails.root, "public/img/feature-icons")

  def index
    # Find all the images in the "feature-icons" dire...
test 43 lines of XML 1.39 KB Show Edit Expand
1
2
3
4
5
<?xml version="1.0" encoding="UTF-8"?>
<properties>
    <property name="action">
        <string meta="name">GISSGMDE-accionTiempoInstTrat</string>
        <string meta="url">http://swdesa1.por...
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 

Page 160, 10 entries