Welcome! This page is using CodeRay 1.1.2.
We currently have
3057 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
test |
11 lines
of
PHP
|
459 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
<?php
$db = mysql_connect('localhost','fdgrup','sDahzLwv');
if(!$db) echo "Cannot connect to the database - incorrect details";
mysql_select_db('redmine'); $result=mysql_query('show tables');
w... |
|
test |
20 lines
of
Ruby
by
mbr
|
437 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
[
{
nombre: "Nombre",
observacion (opcional): "Observacion",
domicilios: [
{
direccion: "Calle y altura",
localidad: "... |
|
Basic HTML page |
9 lines
of
HTML
|
95 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
|
|
test |
1 line
of
SQL
by
test
|
29 Bytes |
Show |
Edit |
Expand |
1 |
UPDATE products SET code='as' |
|
test |
11 lines
of
PHP
by
-.-.-.-.-.-.-.
|
211 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
func sayHello( $whom, $like = true ) {
$smile = ":(";
if( $like ) $smile = ":)";
print "Hello " . $whom . " " . $smile . PHP_EOL;
return True
}
while (TRUE){
sayHello( "... |
|
diff |
93 lines
of
diff
|
2.28 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
@@ -1,69 +1,69 @@
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper")
describe ActsAsArchive::Base::Table do
-
+
before(:all) do
establish_test_db
Art... |
|
Request |
8 lines
of
JSON
by
morgul
|
120 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
{
"type":"request",
"id":99678,
"contents":{
"type":"foobar",
"bleh":"blurgh"
}
} |
|
haml |
4 lines
of
HAML
|
106 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
%div#page
= partial('includes/header')
= partial('includes/content')
= partial('includes/footer') |
|
f |
6 lines
of
JSON
by
d
|
110 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
{
"id": 1,
"jsonrpc": "2.0",
"method": <method-name:string>,
"params": <params:object> [optional]
}
|
|
cdcd |
810 lines
of
JavaScript
by
cdcd
|
32.7 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
$(function() {
var pleaseEnterName = 'ПожалуйÑта, введите имÑ';
var pleaseChooseService = 'ПожалуйÑта, выберите ÑервиÑ';
$('#calendar_... |
|