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.
f |
1 line
of
Ruby
|
104 Bytes |
Show |
Edit |
Expand |
1 |
html = CodeRay.scan("puts 'Hello, world!'", :ruby).div(:line_numbers => :table, line_number_start: 2301) |
|
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
Ruby
by
Sydney
|
995 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
body {background-color:
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>
... |
|
styleguide |
17 lines
of
CSS
by
Sydney
|
946 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
body {background-color:#454845;font-family:arial;text-align:center;}
body.left {background-color:lightgrey;font-family:arial;text-align:letf}
head {text-align:center;}
p {color:white}
p.red {co... |
|
styleguide |
17 lines
of
HTML
by
Sydney
|
946 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
body {background-color:#454845;font-family:arial;text-align:center;}
body.left {background-color:lightgrey;font-family:arial;text-align:letf}
head {text-align:center;}
p {color:white}
p.red {co... |
|
test |
1 line
of
diff
|
2 Bytes |
Show |
Edit |
Expand |
|