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.
name |
5 lines
of
Ruby
|
90 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
@interface ViewController : UIVIewController
@property (nonatomic) NSString *s;
@end |
|
base experiment.rb |
5 lines
of
Ruby
by
Carlos Henrique
|
193 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
it "can login" do
@app.browser.text_field(:id=>"username").value = "Paul"
@app.browser.text_field(:id=>"passw").value = "Test123456"
@app.browser.button(:value=>"Log In").click
end |
|
JSON |
7 lines
of
JSON
|
85 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
{
"cities": [
"Pune",
"Mumbai",
"Bangalore"
]
} |
|
test |
4 lines
of
SQL
|
95 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
Affichage du EXPLAIN PLAN:
<pre><code class="sql">
explain select * from ....</code>
</pre> |
|
html |
7 lines
of
HTML
by
E
|
299 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
<head>
<title>Wichtiger Seitentitel!</title>
<meta name="description" content="...">
<meta name="Keywords" content="...">
<link rel="stylesheet" type="text/css" href="assets/c... |
|
Python test |
22 lines
of
Python
by
=°.°=
|
337 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
"""Just a sample python code"""
class MyClass:
def __private(self):
pass
def hello(f):
def h():
print "hello " + f.__name__
return f(... |
|
as |
263 lines
of
Ruby
|
9.45 KB |
Show |
Edit |
Expand |
|
badRuby |
7 lines
of
Ruby
|
95 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
def is_admin?
if session[:admin] = 1
return true
else
return false
end
end
|
|
SQL test |
1 line
of
SQL
by
me
|
58 Bytes |
Show |
Edit |
Expand |
1 |
alter table vos alter column created_at set default now(); |
|
bash |
6 lines
of
CSS
by
blubber
|
139 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
#TEST
mkdir -p /var/www/cash.de/htdocs && chown -R www-data:sftp /var/www/cash.de
do_upgrade() {
OLDBINPIDFILE=$PIDFILE.oldbin
} |
|