Welcome! This page is using CodeRay 1.1.2.

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

Page 280, 10 entries

samplerrrr 19 lines of Ruby 931 Bytes Show Edit Expand
1
2
3
4
# Examples:
      #     validates_file_format_of :field, :in => ["gif", "png", "jpg"]
      #     validates_file_format_of :field, :in => ["image/jpeg"]
      def validates_file_format_of(*attrs...
Using closure variables 110 lines of diff by murphy 3.46 KB Show Edit Expand
1
2
3
4
5
6
7
diff --git a/lesson09/index.html b/lesson09/index.html
index b3b15d9..3cfce0a 100644
--- a/lesson09/index.html
+++ b/lesson09/index.html
@@ -351,26 +351,27 @@
 
   function Star(startingDista...
xml 4 lines of XML 91 Bytes Show Edit Expand
1
2
3
4
<error>
    <code>0</code>
    <message>Person: mocc0001 ikke fundet</message>
 </error>
ChangeRes 17 lines of Java by Frostice 587 Bytes Show Edit Expand
1
2
3
4
5
6
7
import java.awt.DisplayMode; 
import java.awt.GraphicsDevice; 
import java.awt.GraphicsEnvironment; 

public class FenBianLv { 
  public void setResolution(){ 
    GraphicsEnvironment environmen...
ChangeRes 19 lines of Java by Frostice 592 Bytes Show Edit Expand
1
2
3
4
5
6
7
import java.awt.DisplayMode; 
import java.awt.GraphicsDevice; 
import java.awt.GraphicsEnvironment; 

public class FenBianLv { 
 public void setResolution() { 
  GraphicsEnvironment environme...
test 19 lines of Java by IceFrost 282 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import javax.swing.JFrame;


public class Windows extends JFrame {

  Windows(){
    this.setLocation(arg0, arg1)
  }
  
  
  /**
   * @param args
   */
  public static void main(String[] args) ...
prova 8 lines of PHP by bernat 569 Bytes Show Edit Expand
1
2
3
    <div class="post">
      <h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
      <span style="font-size:9pt;color:#333333;"><b>Posted:</b> <?php the_time('F jS, Y') ?> <b>Category...
delphi test <> 12 lines of Delphi 463 Bytes Show Edit Expand
1
2
3
4
5
procedure DreamFormEventsAfterLoad(Sender: TObject);
begin
  if Self.GetFormParamCount < > 3 then
   ShowMessage('Dream Debug: Nepareizs parametru skaits!'+sLineBreak+
   +Format('Gaidīts %d b...
test 1 line of Ruby 19 Bytes Show Edit Expand
1
#!/usr/bin/env ruby
Commit 20 lines of Ruby 597 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
d570364d3fd6293fd4890464a98b5340705e1ac7

Vadik Rastyagaev <oktoberliner@oktoberliner-macbook.local>

2009-11-18 04:34:26 UTC

M  app/models/message.rb
diff --git a/app/models/message.rb b/ap...

Page 280, 10 entries