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.

Page 104, 10 entries

ruby exception 6 lines of Ruby by frr 74 Bytes Show Edit Expand
1
2
3
4
5
6
def irgendwas(value)
  if value
    "Gesetzt"
  else
    "Nichts"
end
Echo Nest JSON response 1 line of JavaScript 2.53 KB Show Edit Expand
1
response: {"status"=>{"version"=>"4.2", "code"=>0, "message"=>"Success"}, "start"=>0, "total"=>2, "biographies"=>[{"text"=>"Radiohead are an English alternative rock band from Abingdon, Oxfordshire...
Echo Nest JSON response 1 line of HTML by Echo Nest 2.53 KB Show Edit Expand
1
response: {"status"=>{"version"=>"4.2", "code"=>0, "message"=>"Success"}, "start"=>0, "total"=>2, "biographies"=>[{"text"=>"Radiohead are an English alternative rock band from Abingdon, Oxfordshire...
glossary test 22 lines of JSON 603 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
{
    "glossary": {
        "title": "example glossary",
    "GlossDiv": {
            "title": "S",
      "GlossList": {
                "GlossEntry": {
                    "ID": "SGML",
          "...
gitconfig 2 lines of Plain text 234 Bytes Show Edit Expand
1
2
[alias]
  graph = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold cyan)%h%C(reset) - %C(green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n          %C(white)%s%C(rese...
errors 9 lines of JSON 254 Bytes Show Edit Expand
1
2
3
4
5
6
7
{
  form_errors: {
    field_name: ["message1", "message2", "..."],
    field_name: ["message1", "message2", "..."],
  },
  messages: ["message1", "message2", "..."],
  warnings: ["message1", "messag...
te 3 lines of C++ 71 Bytes Show Edit Expand
1
2
3
Response.BinaryWrite(renderedBytes);
Response.End();
return View();
test 2 lines of HTML 28 Bytes Show Edit Expand
1
2
<h1>toto</h1>
<h2>tata</h2>
css 3 lines of diff 61 Bytes Show Edit Expand
1
2
3
    <tpl for="kids">
        <p>{name}</p>
    </tpl></p>
test 6 lines of C 106 Bytes Show Edit Expand
1
2
3
4
5
6
VALUE
rb_obj_equal(VALUE obj1, VALUE obj2)
{
    if (obj1 == obj2) return Qtrue;
    return Qfalse;
}

Page 104, 10 entries