Welcome! This page is using CodeRay 1.1.0 (beta).

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

Page 1, 10 entries

test 11 lines of JSON by test 155 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11

{
  "Devices": {
    "IR-Bank 1": {
      "DeviceConfigName": "IR-Bank V1",
      "Parameters": {
        "ComPort": "COM17"
      }
    }
  }
}
mv 1 line of Ruby by Michael 79 Bytes Show Edit Expand
1
html = CodeRay.scan("puts 'Hello, world!'", :ruby).div(:line_numbers => :table)
Graphviz test 6 lines of Plain text by Quintus 98 Bytes Show Edit Expand
1
2
3
4
5
6
digraph G {
  A -> B -> C;
  C -> D -> B;
  B [shape=triangle];
  C [label="Multiline\nLabel"];
}
f 1 line of Ruby 79 Bytes Show Edit Expand
1
html = CodeRay.scan("puts 'Hello, world!'", :ruby).div(:line_numbers => :table)
teste 4 lines of SQL by teste 162 Bytes Show Edit Expand
1
2
3
4
SELECT 
  DISTINCT CONCAT(SUBSTRING(`dat_periodo`, 1, 4), '-', SUBSTRING(`dat_periodo`, 5, 2), '-01') AS `dat_periodo`
FROM
  `${DATABASE_NAME}`.`${NOME_TABELA}`
New CSS 1 line of JSON by Quintus 39 Bytes Show Edit Expand
1
{"aaa":"bb", "ssd": {"asdasd":"asdas"}}
New HTML 9 lines of HTML by Quintus 99 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
<pre>
    <code class="html">
<div>
  <h1>
    <p>Some text</p>
  </h1>
</div>
    </code>
    </pre>
styleguide 18 lines of CSS by Sydney 995 Bytes Show Edit Expand
1
2
3
4
5
6
body {background-color:#454845;font-family:arial;text-align:center;}
head {text-align:center;}
p {color:white}
p.red {color:red;}
p.white {color:white;}
img.standard {width:100px;height:100px;...
home 18 lines of HTML by Sydney 432 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
 <html lang="en-US">
  <meta charset="utf-8"></meta>
 <head>
  <link rel="stylesheet" href="styleguide.css">
   <title>
    Tinkering website Main page
   </title>
 </head>
...
home 18 lines of C by Sydney 432 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
 <html lang="en-US">
  <meta charset="utf-8"></meta>
 <head>
  <link rel="stylesheet" href="styleguide.css">
   <title>
    Tinkering website Main page
   </title>
 </head>
...

Page 1, 10 entries