Welcome! This page is using CodeRay 1.1.2.

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

Page 268, 10 entries

SQL 1 line of SQL by hnrk 101 Bytes Show Edit Expand
1
SELECT * FROM table WHERE me = 'Me' AND reg (BETWEEN '2009-01-01 00:00:00' AND '2009-01-02 23:59:59')
Plan with options. 9 lines of XML by foo 273 Bytes Show Edit Expand
1
2
3
4
5
6
<?xml version="1.0" encoding="utf-8"?>
<plan>
   <!-- rest of plan document -->
   <options>
      <plannedDate>2009-10-12T06:30:00</plannedDate>
      <pauseStart>2009-10-12T12:00:00</pauseSt...
sql 5 lines of SQL by William 174 Bytes Show Edit Expand
1
2
3
4
5
CREATE DATABASE test;
SELECT nome as "Nome", cpf as "CPF", CASE WHEN data = current_date() THEN 'FULANO' ELSE 'CICLANO' END AS "Abla"
FROM pessoas
WHERE rg IS NOT NULL
  
teste 4 lines of PHP by lucas 139 Bytes Show Edit Expand
1
2
3
4
$fh = fopen($myFile, 'w') or die("can't open file");
$stringData = $projects_num.";".$bugs_num;
fwrite($fh, $stringData);
fclose($fh);
sdasd 5 lines of YAML 93 Bytes Show Edit Expand
1
2
3
4
5
admin:
  Monitoring: index, show, help
  Typusroles: index
support:
  Monitoring: index
javascript 4 lines of JavaScript by me 112 Bytes Show Edit Expand
1
2
3
4
var folder = new Element('div', {
      'id': el.id, 
      'class': folderclass 
    }).inject(document.id(inject));
not_allowed.rb 13 lines of ERb 302 Bytes Show Edit Expand
1
2
3
4
5
6
7
<%- content_for :title do -%>
  <%= @content.parent.parent.title %>
<%- end -%>

<div class="corner-content-1col-top"></div>

<%- content_1col_module @content.title, {:border => false, :class...
PHP 22 lines of PHP by asd 679 Bytes Show Edit Expand
1
2
3
4
5
// Generate a random character string
function rand_str($length = 32, $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890')
{
    // Length of character list
    $chars_len...
test 5 lines of Ruby 66 Bytes Show Edit Expand
1
2
3
4
5
class Person
def initialize(name)
 @name      = name
  end
end
asd 5 lines of Ruby 71 Bytes Show Edit Expand
1
2
3
4
5
class Person
  def initialize(name)
    @name      = name
  end
end

Page 268, 10 entries