Welcome! This page is using CodeRay 1.1.2.
We currently have
3061 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
Groovy |
4 lines
of
Groovy (beta)
by
Chhese
|
58 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
someClosure {
thingA = 'stuff'
thingB = "gstring"
} |
|
test |
1 line
of
JSON
|
231 Bytes |
Show |
Edit |
Expand |
1 |
{"id":1,"shape":{"type":"Point","coordinates":[0.0,0.0]},"text":"Nullnull","created_at":"2017-08-04T22:38:49.176Z","updated_at":"2017-08-04T22:38:49.176Z","url":"http://example.org/geoobjects/1.jso... |
|
ini |
4 lines
of
YAML
by
test
|
54 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
---
- hosts: asdf
become: yes
become_user: root |
|
ruby class |
1 line
of
JavaScript
|
22 Bytes |
Show |
Edit |
Expand |
|
HTTP |
27 lines
of
SQL
|
809 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
[source,http,options="nowrap"]
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 679
{
"id" : 56,
"tenderingType" : "NATIONAL_PUBLIC",
"category" : "... |
|
Note |
1 line
of
C
by
Hank
|
16 Bytes |
Show |
Edit |
Expand |
|
json |
26 lines
of
JSON
|
632 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
{"widget": {
"debug": "on",
"window": {
"title": "Sample Konfabulator Widget",
"name": "main_window",
"width": 500,
"height": 500
},
"image":... |
|
xx |
1 line
of
Ruby
by
xx
|
143 Bytes |
Show |
Edit |
Expand |
1 |
CodeRay.scan("{"TEST"=>{"TEST2"=>{"TEST3"=>{"TEST4"=>{"TEST5"=>{"TEST6"=>{"TEST1"=>{"TEST"=>{...}}}}}}}}}", :json).div(:line_numbers => :table) |
|
LED Project |
1 line
of
HTML
by
Rohit Nair
|
199 Bytes |
Show |
Edit |
Expand |
1 |
<!DOCTYPE html> <head> <title> LED Project </title> </head> <body> <form method="get" action="submit.php"> <button type="submit">ON</button> <button type="submit">OFF</button> </form> </body> </html> |
|
test |
4 lines
of
JavaScript
by
boo
|
108 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
async function foo () {
console.log("hello world")
await setTimeout( () => console.log("hh"), 2000)
} |
|