Welcome! This page is using CodeRay 1.1.2.
We currently have
3054 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
Testimoduuli |
18 lines
of
PHP
by
Sebastian
|
339 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
class Module{
__construct(){
}
displayFields(){
}
parseFields(){
... |
|
json |
3 lines
of
JSON
by
json
|
31 Bytes |
Show |
Edit |
Expand |
1
2
3 |
“user”: {
id: <Identifier>,
} |
|
Instrospection |
4 lines
of
Ruby
by
elpic
|
24 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
public
def draw
end |
|
test |
5 lines
of
Java
|
122 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
public class HelloWorld {
public static void main (String[] args) {
System.out.println("Hello World !!");
}
} |
|
Bash script |
25 lines
of
Delphi
by
zharcos
|
1.07 KB |
Show |
Edit |
Expand |
1
2
3
4 |
# instalira curl, git, ssl, mysql, imagemagick itd.
sudo apt-add-repository ppa:ubuntu-on-rails/ppa
sudo apt-get update
sudo apt-get -y install curl git build-essential bison openssl libreadline... |
|
Teste |
3 lines
of
JavaScript
by
Hugo Roque
|
49 Bytes |
Show |
Edit |
Expand |
1
2
3 |
function testando() {
console.log("wtf?");
}; |
|
test |
18 lines
of
Python
|
675 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
Function redirectcheck(xurl, ourl)
'check the xurl end if exists, response.redirect with 301
set Geturl = Server.CreateObject("ADODB.Recordset")
Geturl.ActiveConnection = MM_c... |
|
test of json |
12 lines
of
JSON
|
245 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
{
"name": "Foo",
"for-condition": "Bar,
"id": "5",
"description": "the quick brown fox jumps over the lazy dog. ",
"severity-counts": {
"severe": "268",
"none": "328",
... |
|
test |
42 lines
of
Plain text
|
1.2 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
require 'rubygems'
require 'coderay'
# output as HTML div (using inline CSS styles)
puts CodeRay.scan('puts "Hello, world!"', :ruby).div
# ...with line numbers
puts CodeRay.scan("5.times d... |
|
test |
5 lines
of
Ruby
|
100 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
a = {:@cupcakes=>4, :waffles=>2, :cupcakes=>4}
b = "sample_variable"
some_method
new line added |
|