Welcome! This page is using CodeRay 1.1.2.
We currently have
3066 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
Digitale Seiten |
13 lines
of
Ruby
by
Digital
|
417 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
def edit_me(object, check = false, model_name = "")
if check
object.editors.include?(current_user) ? result = true : nil
end
if current_user.admin? || result
if m... |
|
Css de webinmobiliarias |
213 lines
of
CSS
by
Gius
|
5.24 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13 |
body {
background-repeat: repeat-x;
background-position: 0% 0%;
background-color: @@color_secundario@@;
margin: 0px;
padding: 0px;
text-align: center;
}
#ba... |
|
aaaa |
49 lines
of
C++
|
2.38 KB |
Show |
Edit |
Expand |
|
aaaa |
49 lines
of
C
|
2.38 KB |
Show |
Edit |
Expand |
|
dwww |
17 lines
of
Plain text
by
dd
|
361 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
iniread, BE_Status, %Punchclock_INI%, %CST_Badge%, BE
if BS_Status <> 0
if BE_Status <> 0
{
BS_Status = 0
BE_Status = 0
IniWrite, 0, %Punchclock_INI%, %CST_Badge%, BS
IniWrite, 0, %Pun... |
|
Terminal |
18 lines
of
Plain text
by
http://devcenter.heroku.com/articles/git
|
454 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
$ rails myapp
create
create app/controllers
create app/helpers
create app/models
...
$ cd myapp
$ git init
Initialized empty Git repository in .git/
$ git ad... |
|
test |
28 lines
of
HTML
|
1.12 KB |
Show |
Edit |
Expand |
1
2
3
4
5 |
<div id='sam' class="sam" style="color:black;"><div id='sam'></div></div>
<script type='text/javascript'>
document.getElementById('sam... |
|
test |
28 lines
of
JavaScript
|
1.12 KB |
Show |
Edit |
Expand |
1
2
3
4
5 |
<div id='sam' class="sam" style="color:black;"><div id='sam'></div></div>
<script type='text/javascript'>
// this line hides visibility of keyword stuffed text
document.getElementById('sam... |
|
test |
28 lines
of
HTML
|
1.12 KB |
Show |
Edit |
Expand |
1
2
3
4
5 |
<div id='sam' class="sam" style="color:black;"><div id='sam'></div></div>
<script type='text/javascript'>
document.getElementById('sam... |
|
new_test |
4 lines
of
Ruby
|
56 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
def(test)
puts "Hello, world!"
end |
|