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

Java 11 lines of Java 398 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
import java.util.List;
import java.util.ListIterator;

public class WorkPeriod {

  public int weekday; // 1-7
  public int start; // В секундах от начала суток
  public i...
punchcard 1 line of Plain text 5 Bytes Show Edit Expand
1
Merde
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"

Page 292, 10 entries