Welcome! This page is using CodeRay 1.1.2.
We currently have
3063 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
compare two tables |
19 lines
of
SQL
|
485 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
(
select 'IN T1, NOT T2', column_name, data_type, data_length
from user_tab_columns
where table_name = 'T1'
MINUS
select 'IN T1, NOT T2', column_name, data_type, data_length
from user_ta... |
|
tal |
4 lines
of
C
by
yo
|
43 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
main(argc, argv)
{
printf("Hello");
} |
|
CSS |
1 line
of
CSS
by
Bjorn
|
31 Bytes |
Show |
Edit |
Expand |
1 |
.text {border:1px solid black;} |
|
Ruby code test |
1 line
of
Ruby
by
Harshad
|
38 Bytes |
Show |
Edit |
Expand |
1 |
puts 'hello world'; puts 'hello world' |
|
test1 |
34 lines
of
JavaScript
|
879 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
Customerio.Router = Ember.Router.extend({
location: 'history',
enableLogging: false,
root: Ember.Route.extend({
app: Ember.Route.extend({
route: '/',
connectOutlets:... |
|
using coderay with redcarpet for Ruby on Rails |
21 lines
of
Ruby
by
Jason
|
605 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
module ApplicationHelper
class MarkdownRenderer < Redcarpet::Render::HTML
def block_code(code, language)
CodeRay.highlight(code, language)
end
end
def markdown(text)
... |
|
Hello World |
10 lines
of
JSON
|
142 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World");
}
}
- a
+ a |
|
test |
2 lines
of
HTML
by
joe
|
35 Bytes |
Show |
Edit |
Expand |
1
2 |
<h1>hello world</h1>
<h2>test</h2> |
|
test |
13 lines
of
ERb
by
jc
|
387 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
<% @pages.each do |page| %>
<tr>
<td><%= page.name %></td>
<td><%= page.content %></td>
<td><%= page.stock %></td>
<td><%= page.quantity %></td>
<td><%= link_to 'Show', ... |
|
sameera |
3 lines
of
Ruby
|
43 Bytes |
Show |
Edit |
Expand |
1
2
3 |
class TestClass
attr_accessor :name
end |
|