Welcome! This page is using CodeRay 1.1.2.

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

Page 128, 10 entries

nginx 66 lines of Plain text 1.6 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
For cur in cols
Begin
    Case cur.rstype
    When 0 then
      If (cduration%5=0)then
        Select * into nxt from pgm_chann_plasy where id=cur.nextid;
        Case nxt.rstype 
          When 0 then
 <见伪代码二...
foo 22 lines of HTML 658 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
<html>
<body>

      <script type="text/javascript">
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-7696481-1']);
        _gaq.push(['_trackPageview']);

        (func...
l 9 lines of PHP 80 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
<html>
<body>

<?php
$file=fopen("welcome.txt","r");
?>

</body>
</html>
Test 12 lines of PHP 322 Bytes Show Edit Expand
1
2
3
4
5
6
7
// Русский текст
class MyController extends AppController {
  
  public function <a href="my_action">my_action</a>() {
    
    // This finds all entries in the MyModel model
    $all = $this->m('MyM...
sss 11 lines of Java 191 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
import java.io.*;

public class Main
{
  public static void main(String[] args)
  {
    Scanner in = new Scanner(System.in);
    System.out.println(in.next());
    in.close();
  }
}
java 11 lines of Java by littlefish 191 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
import java.io.*;

public class Main
{
  public static void main(String[] args)
  {
    Scanner in = new Scanner(System.in);
    System.out.println(in.next());
    in.close();
  }
}
HTML 7 lines of Groovy (beta) 162 Bytes Show Edit Expand
1
2
3
4
5
6
7
<section class=container>
  <h1><%= post.title %></h1>
  <h2><%= post.subtitle %></h2>
  <div class=content>
    <%= post.content %>
  </div>
</section>
CPP 20 lines of C++ 494 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
#include <cstdio>
using namespace std;
int main()
{
  printf("result: %d\n", 5);
  return 0;
}

//测试中文
// Test bold line number

// This a very very very very very very very very very ve...
ruby test special string 9 lines of Ruby by Olli 249 Bytes Show Edit Expand
1
2
3
4
5
  def protected!
    unless authorized?
      response['WWW-Authenticate'] = %(Basic realm="Restricted Area => your IP is (#{request.ip})")
      throw(:halt, [401, "Not authorized\n"])
    end...
sql 20 lines of diff 981 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
    select
      hh.affiSid,
      hh.affiName,
      hh.seedCode,
      hh.seedKind,
      hh.seedValue,
      j.seedName,
      ifnull(hh.category, '') category,
      ifnull(g.codeName,'') categoryName,
      hh.re...

Page 128, 10 entries