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 45, 10 entries

SharePoint app example 3 lines of JavaScript by Ivanov Vladimir 43 Bytes Show Edit Expand
1
2
3
function log(str) {
  console.log(str);
}
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"

Page 45, 10 entries