Welcome! This page is using CodeRay 1.1.2.
We currently have
3055 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
php multibyte |
10 lines
of
Plain text
by
phpfuck
|
138 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
<pre>
<code class="php">
#parflow.c @line 165:
//IDB_FreeDB(amps_ThreadLocal(input_database));
FreeGlobals();
</code>
</pre> |
|
Monitor power |
16 lines
of
Delphi
|
334 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
Program Project1;
{$APPTYPE CONSOLE}
Uses
SysUtils, Windows, Messages;
Const
SC_MONITORPOWER = $F170;
Begin
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, 2)... |
|
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> |
|