Welcome! This page is using CodeRay 1.1.2.

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

Page 12, 10 entries

sad 1 line of C++ 3 Bytes Show Edit Expand
1
asd
Ti 15 lines of Java 375 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
//Page reference to your VF Page
PageReference pageRef = Page.TestPage;
Test.setCurrentPage(pageRef);
 
//Pass necessary parameter
pageRef.getParameters().put('Id',id); 
 
//init controller ...
Mememe 108 lines of PHP 2.79 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;

use Validator;
use Blade;

class AppServiceProvider extends ServiceProvider
{
  /**
   * Bootstrap any applicatio...
Title 4 lines of Ruby by Name 163 Bytes Show Edit Expand
1
2
3
4
def self.database_type
    return 'DEV' + db_suffix if ENV['Environment'] == 'DEV'
    ENV_MAP.fetch(ENV['Environment'].downcase.to_sym, 'QA') + db_suffix
  end
yaml2 7 lines of YAML 112 Bytes Show Edit Expand
1
2
3
4
5
6
7
Zosia:
    - a:
    name: 4
    surname: "ala ma kota"
    - b:
    name: "aaa"
    surname: "sadoajsdsad"
yaml 11 lines of YAML by dvilela 129 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
---

 - Zosia:
    - a:
    name: 4
    surname: "ala ma kota"
    - b:
    name: "aaa"
    surname: "sadoajsdsad"

...
some Java Test 21 lines of Java by zupzup 731 Bytes Show Edit Expand
1
2
3
4
5
6
public static bool isUsernameValid(string username) {
    RegEx r = new Regex(^[A-Za-z0-9]{16}$);
    return r.isMatch(username); 
}

// java.sql.Connection conn is set elsewhere for brevity...
name1 29 lines of JavaScript 1.2 KB Show Edit Expand
1
2
3
/**delta function is to set how the image slide—keep still for a while and move to next picture.
*step function will be called many times until clearInterval() been called
* currentImage * imageW...
ini 2 lines of JSON 44 Bytes Show Edit Expand
1
2
[HKLM\Drivers\BuiltIn\CANx]
dll="can.dll"
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_...

Page 12, 10 entries