Welcome! This page is using CodeRay 1.1.2.
We currently have
3049 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
Haml |
20 lines
of
HAML
|
1.76 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
-
%article#haml.slide
%h1 Haml
%h2 Core principles
%ul
%li
%header Markup Should be Beautiful
%p Markup should not be used merely as a tool to get brow... |
|
var |
1 line
of
JavaScript
|
12 Bytes |
Show |
Edit |
Expand |
|
ruby class |
2 lines
of
Ruby
|
40 Bytes |
Show |
Edit |
Expand |
1
2 |
puts “Hello world!”
puts 'Hello world!' |
|
1 |
4 lines
of
C++
by
1
|
29 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
void foo (int *bar){
}
|
|
Test |
4 lines
of
Ruby
by
Test
|
32 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
class Test
def test
end
end |
|
eheh |
3 lines
of
Python
|
124 Bytes |
Show |
Edit |
Expand |
1
2
3 |
import sys
sys.path.insert(0, '<uygulamanın bulunduğu mutlak konum>')
from propstour_gis import app as application
|
|
php中文 |
4 lines
of
PHP
by
lance
|
155 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
function php中文() {
$issue = 'there is a encoding issue in php highlighting';
} |
|
test |
7 lines
of
C
|
736 Bytes |
Show |
Edit |
Expand |
1
2
3 |
<table id="list_table" cellspacing="1">
<tr height="20">
<td align="center" class="list_title_bg_w" nowrap width="1%"><strong><IMART type="string" val... |
|
Test |
2 lines
of
Python
|
21 Bytes |
Show |
Edit |
Expand |
|
Test |
10 lines
of
Ruby
|
192 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
class ApplicationController < ActionController::Base
protect_from_forgery
after_filter :discard_flash
protected
def discard_flash
flash.discard if request.xhr?
end
end |
|