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.
zxczxc |
7 lines
of
Ruby
|
144 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
!
module Hola
puts %{mundo}
end
!
<h1><%=link_to life, @earth%></h1> |
|
zxczxc |
7 lines
of
Ruby
|
144 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
!
module Hola
puts %{mundo}
end
!
<h1><%=link_to life, @earth%></h1> |
|
difftest |
9 lines
of
Java
|
167 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
@@ -1,4 +1,5 @@
-This is line one.
+This is line 1.
This is line two.
This is line three.
+This is line 4.
for (int i =0 ; i< 10 ;i++){
System.out.print("");
} |
|
objective-c |
102 lines
of
C
by
me
|
2.51 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
#import "AppDelegate.h"
#import "MyListViewCell.h"
#pragma mark Constants
#define LISTVIEW_CELL_IDENTIFIER @"MyListViewCell"
#define NUM_EXAMPLE_ITEMS 10
@implementation ... |
|
test of XML from spring batch |
74 lines
of
XML
by
megatux
|
2.87 KB |
Show |
Edit |
Expand |
1
2
3
4
5 |
<job id="edsBatchJob" >
<batch:step id="countLinesStep">
<batch:tasklet ref="fileLineCounterTasklet" />
<batch:next on="FAILED" to="mailErrorCounter... |
|
hehname |
5 lines
of
HTML
|
270 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
<ul class="nav">
<li id="m-laptop"><a href="/kategoria/laptop"><span>Laptop</span></a></li>
<li id="m-desktop"><a href="/kategoria/desktop"><span>Desktop</span></a></li>
<li id="m-procesory">... |
|
test |
2 lines
of
SQL
|
122 Bytes |
Show |
Edit |
Expand |
1
2 |
DELETE FROM `toto` WHERE id IN(5588,5593,5595,5596,5599,5600,5607,5610,5611,5612,5613,5621,5624,5627,5631,5632);
|
|
Sinatra Block |
6 lines
of
Ruby
by
bovi
|
137 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
require "sinatra"
q = []
get("/enqueue/:arg", &q.method(:push))
get("/dequeue", &q.method(:shift))
get("/peek", &q.method(:ï¬rst)) |
|
blah |
1 line
of
C
|
16 Bytes |
Show |
Edit |
Expand |
|
Test |
18 lines
of
Ruby
by
kareem
|
485 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
#!/usr/bin/env ruby
require 'fileutils'
def delete_empty(path= ARGV[0])
Dir.foreach(path) do |all_directories|
full_path = File.join(path,all_directories)
if File.directory?(full_pat... |
|