Welcome! This page is using CodeRay 1.1.2.

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

Page 25, 10 entries

Send Msg 34 lines of JavaScript by Gabrielle 801 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
function parseMarkdown (str) {
  var arr = str.split(' ')
  var symbols = arr[0].split('')
  var result = null

  if (symbols[0] === '#') {

    var count = 0
    symbols.forEach(function (...
a 22 lines of HAML 477 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript">
alert("HE...
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;

}

Page 25, 10 entries