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.
Don's test |
11 lines
of
PHP
by
Don
|
486 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
if ($_POST['action'] == "editnotes"){
$id = mysql_real_escape_string($_POST['id']);
$contents =stripslashes($_POST['value... |
|
.properties test |
5 lines
of
YAML
by
Chango
|
168 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
sigres.model=v1.0.1
sigres.service.INV.Evento=v1.0.0 |
|
XML Test |
5 lines
of
XML
by
ck
|
76 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
<Test Id="1">
<Description>
Test Description
</Description>
</Test> |
|
JS Test |
13 lines
of
JavaScript
|
279 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
function KeyCode(event) {
this.event = event;
this.normalize = function() {
return (this.event.keyCode ? this.event.keyCode : this.event.which);
}
this.isEnter = function() {
... |
|
cool |
2 lines
of
Ruby
|
59 Bytes |
Show |
Edit |
Expand |
|
home test |
7 lines
of
Ruby
by
YY
|
132 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
get '/new' do
if session["username"]
haml :new
else
redirect '/login'
end
end |
|
test ruby |
5 lines
of
Ruby
by
rubforever
|
52 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
class test
def index
puts "hello world!"
end
end |
|
populator.rake |
13 lines
of
Ruby
by
Railscasts
|
355 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
namespace :db do
desc "Erase and fill database"
task :populate => :environment do
[Product].each(&:delete_all)
Product.populate 10..100 do |product|
product.title... |
|
FooBar |
1 line
of
Ruby
|
151 Bytes |
Show |
Edit |
Expand |
|
SQL |
7 lines
of
SQL
|
239 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
SELECT COUNT(*),
CAST(hostname AS VARCHAR(20)) AS hostname,
CAST(program_name AS VARCHAR(30)) AS program_name,
CAST(loginame AS VARCHAR(30)) AS loginame
FROM master..SYSPROCESSES
GROUP BY ho... |
|