Welcome! This page is using CodeRay 1.1.2.

We currently have 2909 rays in the database.
You can add a New Ray or browse the posted rays by pages.

Page 129, 10 entries

asd 14 lines of SQL 320 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
SET LINESIZE 100
COLUMN spid FORMAT A10
COLUMN username FORMAT A10
COLUMN program FORMAT A45

SELECT s
       s.sid,
       s.serial#,
       p.spid,
       s.username,
       s.program
...
test 13 lines of SQL by test 501 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
SELECT AVG(b.identity-e.identity)*24*60*60
  FROM log e
   INNER JOIN log b
    ON b.identity=e.identity
       AND b.userid=e.userid
       AND b.thread=e.thread
       AND b.id<e.id
  WHER...
Shell 46 lines of diff 1.88 KB Show Edit Expand
1
2
3
rake rla:report:html RAILS_ENV=development
[RailsAdmin] RailsAdmin initialization disabled by default. Pass SKIP_RAILS_ADMIN_INITIALIZER=false if you need it.
Analyzing the Rails log file using t...
Decrease range window on zabbix graph 24 lines of diff by c-moi 923 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
74c74
<           obj.time.period = 300;
---
>           obj.time.period = 3600;
275c275
<       period = 300,
---
>       period = 3600,
312c312
<   minperiod:  300,  // minimal allowed period
---
>   minp...
testest 23 lines of JSON by teste 572 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
    {
  "TotalResults": 1,
  "ReturnedResults": 1,
  "Results": [
    {
      "id": "0000000001",
      "IssueDate": "2013-01-18T00:00:00",
      "OrganizationName": "Test",
      "Descript...
c objects 17 lines of C 314 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
typedef struct MyObject MyObject;

struct MyObject {
    void (*action)(int, char*);
};

static void my_object_action(int i, char *s)
{
    printf("%i: %s\n", i, s);
}

MyObject* my_obje...
python 2 lines of diff 33 Bytes Show Edit Expand
1
2
def prin():
    print ('Dupa')
python 3 lines of Python 44 Bytes Show Edit Expand
1
2
3
import os
def prin():
    print ('Dupa')
java 15 lines of Java 364 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
 public static final class Location
            implements Serializable {

        @Exported
        public final String remote;

        @Exported
        public final String local;

    ...
ruby , find max size integers 2 lines of Ruby 88 Bytes Show Edit Expand
1
2
machine_max_signed = 2**(machine_bits-1) - 1
machine_max_unsigned = 2**machine_bits - 1

Page 129, 10 entries