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.
Highlight |
24 lines
of
SQL
|
1.24 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
DECLARE
in_clause ALIAS FOR $1;
tenant ALIAS FOR $2;
categoryId int;
requestId bigint;
BEGIN
SET CONSTRAINTS ALL DEFERRED;
FOR categoryId IN SELECT id FROM category WHERE catego... |
|
a |
3 lines
of
C
by
a
|
286 Bytes |
Show |
Edit |
Expand |
1
2
3 |
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsq... |
|
a |
16 lines
of
JavaScript
by
a
|
397 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
actionContext.ajaxClient.get(
'/service/example/v1/test',
{},
{},
{
error: function( err ){
},
success: ... |
|
a |
2 lines
of
YAML
by
a
|
24 Bytes |
Show |
Edit |
Expand |
1
2 |
key1=value1
key2=value2 |
|
a |
52 lines
of
Ruby
by
a
|
1.2 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
class Admin::UsersController < Admin::ApplicationController
before_action :set_user, only: [:show, :edit, :update, :destroy]
respond_to :html
def index
@admin_users = User.page(para... |
|
a |
2 lines
of
Java
by
a
|
24 Bytes |
Show |
Edit |
Expand |
1
2 |
key1=value1
key2=value2 |
|
a |
2 lines
of
JSON
by
a
|
24 Bytes |
Show |
Edit |
Expand |
1
2 |
key1=value1
key2=value2 |
|
rubymonk |
17 lines
of
Ruby
by
aaaa
|
445 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
def add(*numbers)
numbers.reduce(:+)
end
def subtract(*numbers)
numbers.reduce(:-)
|
|
SASS as HTML |
11 lines
of
HTML
|
408 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
@function lines-for-font-size($font-size) {
$lines: if($round-to-nearest-half-line,
ceil(2 * $font-size / $base-line-height) / 2,
ceil($font-size / $base-line-height)
);
// If li... |
|
SASS as CSS |
11 lines
of
CSS
|
408 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
@function lines-for-font-size($font-size) {
$lines: if($round-to-nearest-half-line,
ceil(2 * $font-size / $base-line-height) / 2,
ceil($font-size / $base-line-height)
);
// If li... |
|