Welcome! This page is using CodeRay 1.1.2.
We currently have
3061 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
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
|
|
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 |
|
123 |
5 lines
of
Ruby
|
70 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
v = 1
puts v
b = lambda { |;v| v = 2 }
b.call
puts v |
|
opa opa |
1 line
of
Ruby
by
her
|
13 Bytes |
Show |
Edit |
Expand |
|
CSS Code |
8 lines
of
CSS
by
Steve
|
213 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
@import url(redsauce.css);
@import url(theme.css); body {
margin:0;
padding:0;
font-family: verdana, arial, sans-serif;
font-size: 11px;
line... |
|