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 98, 10 entries

aaa 10 lines of Java by bwe 414 Bytes Show Edit Expand
1
2
3
4
5
class MainController < ApplicationController
  def index
    @range = (0..params[:amount].to_i - 1).to_a
    @array = @range.collect { rand(params[:min].to_i..params[:max].to_i) }
    @sorted =...
Demo 59 lines of XML 3.19 KB Show Edit Expand
1
2
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.android.notepad">
<application android:debuggable="true" android:icon="@drawable/app_notes" android:label=...
test 3 lines of C++ 32 Bytes Show Edit Expand
1
2
3
#include <iostream>

constexpr
just test 1 line of PHP 1 Byte Show Edit Expand
1
*
asdf 1 line of Ruby 6 Bytes Show Edit Expand
1
sdadas
http 111 lines of JSON 3.91 KB Show Edit Expand
1
2
3
4
HTTP/1.1 200 OK
Content-Type: application/json
Link: <https://your-domain.okta.com/api/v1/events?startDate=2013-07-15T16%3A00%3A00.000Z&limit=3>; rel="self"
Link: <https://your-domain.okta.com/a...
json 42 lines of JSON 1.56 KB Show Edit Expand
1
2
3
4
5
6
{
    "id": "00ub0oNGTSWTBKOLGLNR",
    "status": "ACTIVE",
    "created": "2013-06-24T16:39:18.000Z",
    "activated": "2013-06-24T16:39:19.000Z",
    "statusChanged": "2013-06-24T16:39:19.00...
rails! 25 lines of Ruby by hodo 614 Bytes Show Edit Expand
1
2
3
4
5
6
<%= form_for(@post) do |f| %>
  <% if @post.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@post.errors.count, "error") %> prohibited this post from being saved:</h2>

...
Test PHP 4 lines of PHP 103 Bytes Show Edit Expand
1
2
3
4
<div id="footer-links-container">
    <?php print $footer ?>
    <?php print $footer_links; ?>
    </div>
Get running queries MSSQL 9 lines of SQL by cmelgarejo 202 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
select 
    r.session_id,
    r.status,
    r.command,
    r.cpu_time,
    r.total_elapsed_time,
    t.text
from sys.dm_exec_requests as r
    cross apply sys.dm_exec_sql_text(r.sql_handle)...

Page 98, 10 entries