Welcome! This page is using CodeRay 1.1.2.

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

Page 46, 10 entries

ext dup 18 lines of Ruby 415 Bytes Show Edit Expand
1
2
3
4
5
6
7
# Define a method that calls lambda
def lambda_method
    lambda { puts 'Hello from lambda!'; return }.call
    puts 'Hello from lambda_method'
end
# Define a method that calls proc
def proc_...
kek 404 lines of Ruby 9.97 KB Show Edit Expand
1
2
3
4
5
6
7
proc_val = nil

report = MemoryProfiler.report do
  # A method that creates and returns a Proc.
  # It also uses a lot of memory before doing so
  def create_proc
    # Create an array with 1...
XML test 9 lines of XML 465 Bytes Show Edit Expand
1
2
3
4
5
                    <Gingiva>
                        <SurfaceFile>Additional/Gingiva.cmf</SurfaceFile>
                    </Gingiva>
                    <Lower-Gingiva>
                      ...
sss 1 line of diff by sss 172 Bytes Show Edit Expand
1
gcloud alpha compute instances create-from-container integration-api-vm --docker-image=gcr.io/eu-dev01-playerengspikes-gsys/integration-api:latest --port-mappings=80:80:TCP
Javascript 15 lines of JavaScript by Jerome 554 Bytes Show Edit Expand
1
2
3
4
5
6
export function injectAsyncReducer(store, isValid) {
  return function injectReducer(name, asyncReducer) {
    if (!isValid) checkStore(store);

    invariant(
      isString(name) && !isEmpty...
delphi test 21 lines of Delphi by meandmyself 236 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 program IPList;

 {$apptype console}

 uses
   SysUtils,
   Classes,

   JCLSysInfo;

 var
   stg :TStrings;

 begin
   stg := TStringList.Create;

   GetIpAddresses (stg);
   Wri...
p 3 lines of PHP 44 Bytes Show Edit Expand
1
2
3
<?

    require 'vendor/autoload.php';    
p 3 lines of PHP 39 Bytes Show Edit Expand
1
2
3
<?php

require 'vendor/autoload.php';
Test 6 lines of PHP by Me 179 Bytes Show Edit Expand
1
2
3
4
5
6
<div class="infobox">
    <strong>
        <span class="title">Changes Saved Successfully!</span>
    </strong>
<br>
Configuration settings have been saved successfully</div>
thing 15 lines of HTML 568 Bytes Show Edit Expand
1
2
3
4
5
<div class="btn-group" role="group" aria-label="...">
  <button type="button" class="btn btn-default">1</button>
  <button type="button" class="btn btn-default">2</button>

  <div class="btn-gr...

Page 46, 10 entries