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

test 14 lines of PHP by test 332 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
<?php
defined('_JEXEC') or die('Restricted access');

jimport('joomla.plugin.plugin');
jimport('joomla.html.parameter');
jimport('joomla.version');

class plgSystemK2Filter extends JPlugin {...
diff 3 lines of diff 189 Bytes Show Edit Expand
1
2
3
-                       this.firstTimeLogin = 0;
+               if(responseValue == 1 || responseValue == true || responseValue == "1"){
+                        this.firstTimeLogin = 1;
wzwzw 76 lines of C++ by bbbb 2.4 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11

// Definition for a binary tree node.
struct TreeNode {
    int val;
    TreeNode *left;
    TreeNode *right;
    TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};


class Solution...
Test 14 lines of JavaScript 458 Bytes Show Edit Expand
1
2
3
4
5
6
import Ember from 'ember';
import baseService from 'data-layer/mixins/base-service';

export default Ember.Service.extend(baseService, {
  apiPath: 'lookups/userprofile',
  cidbModel: 'user-pr...
111 2 lines of Ruby 51 Bytes Show Edit Expand
1
2
CodeRay.scan('puts "Hello, world!"', :ruby).div

ruby 61 lines of Ruby 1.48 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Ce script attend 2 paramètres :
#     -  mois
#     -  instance
# Exemple :
#     sh ORA-00060.sh 12 1

print_ora60 () {
  fichier="/var/log/epg-server_inst1/$1"
  if [ -e $fic...
test 4 lines of JavaScript 61 Bytes Show Edit Expand
1
2
3
4
var a = function( f ){
  return a + b;
}
var aa = "test"
Test nginx 6 lines of PHP by B 39 Bytes Show Edit Expand
1
2
3
4
5
6
# bla

loc = /ccc {
   foo bar;

}
Test nginx 6 lines of C++ by B 39 Bytes Show Edit Expand
1
2
3
4
5
6
# bla

loc = /ccc {
   foo bar;

}
test java 18 lines of Java by ge 623 Bytes Show Edit Expand
1
2
3
4
5
@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        if (mGoogleApiClient == nu...

Page 55, 10 entries