Welcome! This page is using CodeRay 1.1.2.

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

Page 2, 10 entries

Clojure test code 31 lines of Clojure by Vic 1.03 KB Show Edit Expand
1
2
3
4
5
(defn sync-lib-deps [& {:as opts}]
  (->> (for [lib  (if (seq (:libs opts))
                    (set/intersection (set enabled-libs) (set (:libs opts)))
                    enabled-libs)
      ...
aaa 17 lines of C 185 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Bad
class Employee
{
protected:
    int mDepartmentID;
private:
    int mAge;
}

// Good
class Employee
{
protected:
    int m_DepartmentID;
private:
    int m_Age;
}
sad 13 lines of JavaScript 322 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
fetch('https://api.pdfloom.com/v1/convert/html', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer <token>',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
...
test 5 lines of JavaScript 74 Bytes Show Edit Expand
1
2
3
4
5
var myVar = "Linux Sux";

function myFunction() {
    alert(myVar);
};
test 9 lines of Python by hjvhk 231 Bytes Show Edit Expand
1
2
3
4
5
6
7
import tkinter as tk
gui = tk.Tk()
gui.geometry("200x200")
def myFunction(event):
    label["text"] = "Vous avez appuyé sur Entrée"
gui.bind('<Return>', myFunction)
label = tk.Label(gui, text...
curl 1 line of Clojure by thm 113 Bytes Show Edit Expand
1
curl --location '<FHIR server>/Patient?identifier=<identifier system of patient>%7C<identifier value of patient>'
test 6 lines of JavaScript 254 Bytes Show Edit Expand
1
2
3
4
5
const url = 'myffjill.com**'
cy.intercept('GET', url).as('getToast');
cy.get('input[aria-label="Town"]').clear('b');
cy.get('input[aria-label="Town"]').type('Balt');
cy.wait('@getToast').its('r...
Bbblank 11 lines of JSON 452 Bytes Show Edit Expand
1
2
3
4
5
6
{
    "initiator": {
        "login": "sen_va_230920" //логин пользователя в системе Ветис. Паспорт
    },
    "enterpriseGuid": "60eb3964-0ee5-48fe-b12f-93d397eb2c10", //guid площадки
    "lo...
test 5 lines of Java by test 76 Bytes Show Edit Expand
1
2
3
4
5
# statements
javac HelloWorld.java
java HelloWorld
# Output
Hello World!
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...

Page 2, 10 entries