Welcome! This page is using CodeRay 1.1.2.

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

Page 2, 10 entries

Fonts & Colors 33 lines of Delphi by Tea 974 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
type
  TColor = class
  private
    _Green: Integer;
    _Red: Integer;
    _Blue: Integer;
    procedure SetBlue(const Value: Integer);
    procedure SetGreen(const Value: Integer);
    procedure SetRed...
Program for adding two integers 12 lines of Java by Vaibhav Borkar 236 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
class Main {

  public static void main(String[] args) {
    
    int first = 10;
    int second = 20;

    // add two numbers
    int sum = first + second;
    System.out.println(first + ...
bla 12 lines of C 278 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
import (
  lib_config "git.swisscom.com/dop/devops_integrations_lib/pkg/config"
)

...

//go:embed data/m2m_permissions.json
var m2MPermissionsBytes []byte

...

c.OAuth2.M2M.Permissions ...
test 4 lines of C++ 162 Bytes Show Edit Expand
1
2
3
4
#define ENTER_CRITICAL_SECTION(Exclusive Area)
SchM_Enter_mmu_##Exclusive_Area()
#define EXIT_CRITICAL_SECTION(Exclusive Area)
SchM_Exit_mmu_##Exclusive_Area()
test 22 lines of Java 542 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
public class HelloWorld extends java.lang.Object
{
  public void <init>()
  {
    HelloWorld r0;
    r0 := @this: HelloWorld;
    specialinvoke r0.<java.lang.Object: void <init>()>();
    re...
java 22 lines of Java 313 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// a

/* a */

public class Hoge extends Piyo {

  private static final String FOO = "FOO";
  private final String BAR;
  private String BARBAR;
  
  /**
   * fuga
   * @return fuga
  ...
STDIN 4 lines of HTML by language detect from input file name or shebang; 245 Bytes Show Edit Expand
1
language   detect from input file name or shebang; fall back to plain text              input      STDIN                            format     detect from output file name or use terminal; fall bac...
mat mul test 1 line of Python by david 5 Bytes Show Edit Expand
1
x @ y
sql 10 lines of SQL 216 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
SELECT sName
FROM student
WHERE NOT EXISTS (SELECT *
FROM course
NATURAL JOIN department
WHERE department.dName = '信息学院'
AND NOT EXISTS (SELECT *
FROM sc
WHERE course.cNo = sc.cNo
AND stud...
Testing 10 lines of XML by Moses 235 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
<Input input_events>
    Module  im_msvistalog
    <QueryXML>
        <QueryList>
            <Query Id='0'>
                <Select Path='Security'>*</Select>
            </Query>
        <...

Page 2, 10 entries