Welcome! This page is using CodeRay 1.1.2.

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

Page 279, 10 entries

cucumber 4 lines of PHP 23 Bytes Show Edit Expand
1
2
3
4
<?php

echo "he";
?>
cucumber 4 lines of YAML 180 Bytes Show Edit Expand
1
2
3
4
Feature: Asset List
  In order to review requestable assets (why?)
  As a System Admin (who?)
  I want to list all assets filtered by asset type, sorted alphabetically (what?)
sass 1 line of C++ 59 Bytes Show Edit Expand
1
logger.error("Exception while updating PropertyView",ex);
lumpy 12 lines of XML 671 Bytes Show Edit Expand
1
2
3
4
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="cmsServiceConfig" type="ICIS.ServiceHost.CmsScheduler.CmsServiceConfig, ICIS.ServiceHost.CmsSchedule...
test 69 lines of PHP by test 1.61 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
<?php
function getkeyiv($key_size, $iv_size, $key, $iv='') {
  if ($iv == '') {
    $iv = 'OpenSSL for Ruby rulez!';
  }

  $iv = substr($iv,0,$iv_size);
  
  $gen = '';
  do  {
    $gen = $gen.md5...
SQL test 9 lines of SQL by aaa 148 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
SELECT
   *
FROM TBL_EXAMPLE T1
JOIN TBL_EXAMPLE2 T2
 ON T1.PK1 = T2.PK2
WHERE
  T1.DEL_FLG = 0
  AND T2.DEL_FLG = 0
  AND T2.COL1 = 'TEST';
RegExps in JavaScript 1 line of JavaScript by murphy < giles 53 Bytes Show Edit Expand
1
var vals = lines[i].replace(/^\s+/, "").split(/\s+/);
asdf 39 lines of Ruby 934 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
# config/environment.rb
config.gem "cancan"

# models/ability.rb
class Ability
  <b style="color:black;background-color:#ffff66">include CanCan</b>::Ability
  
  def initialize(user)
    us...
output "hello world" in php 3 lines of PHP by Snake 32 Bytes Show Edit Expand
1
2
3
<?php
echo "hello world 1";
?>
C++ 17 lines of C++ 124 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#if defined(xxxx)
...

class A{
public:
 A()
 {
  int b = "asdf";
  return true;
 }
};


#else
...
#endif

Page 279, 10 entries