Welcome! This page is using CodeRay 1.1.2.

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

Page 262, 10 entries

Premailer API output 17 lines of JSON 620 Bytes Show Edit Expand
1
2
3
4
5
{"status":201,
 "source":"http:\/\/code.dunae.ca\/premailer.web\/test\/test.html",
  "output": {
     "html":"http:\/\/premailer.dialect.ca\/_out\/e0ffb35b510fe507b7b55311a1e85ce2.html",
     "...
dnn skin definition 49 lines of ERb by dnn 1.35 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
<script type="text/javascript">
 function lala() {
   alert("noob"); 
 }

var lala = 2323
var t = true;

</script>

<dotnetnuke type="Package" version="5.0">
 <packages>
    <package na...
HTML snippet 4 lines of ERb by Nick 74 Bytes Show Edit Expand
1
2
3
4
<div>
  Something goes here
  <span thing="something">xxx</span>
</div>
What does this regexp mean? 12 lines of Ruby by murphy < Shri 298 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
  it "allows substitution to interact with other Regexp constructs" do
    str = "foo)|(bar"
    /(#{str})/.should == /(foo)|(bar)/
    
    str = "a"
    /[#{str}-z]/.should == /[a-z]/

   ...
test! 47 lines of Ruby 1.96 KB Show Edit Expand
1
2
3
4
5
6
require 'rubygems'
require 'net/sftp'

task :deploy do
  # Compile the Nanoc website. The --all paramater means check every single file, not just the ones that
  # Nanoc believes may have been...
Test 1 line of C 56 Bytes Show Edit Expand
1
67-194-100-192:~ username$ ssh -v username@deskbert.loc 
opa opa 2 lines of Ruby by her 27 Bytes Show Edit Expand
1
2
puts "opa pa"
aslkfdjlskjd
opa opa 1 line of Ruby by her 13 Bytes Show Edit Expand
1
puts "opa pa"
123 5 lines of Ruby 70 Bytes Show Edit Expand
1
2
3
4
5
v = 1
puts v # => 1
b = lambda { |;v| v = 2 }
b.call
puts v # => 1
opa opa 1 line of Ruby by her 13 Bytes Show Edit Expand
1
puts "opa pa"

Page 262, 10 entries