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

test 1991 3 lines of Ruby by globi 49 Bytes Show Edit Expand
1
2
3
(1..10).map do |n|
  puts("!!! #{n} hallo")
end
123 0 lines of PHP by 123 0 Bytes Show Edit Expand
1
test 12 lines of Ruby by - 460 Bytes Show Edit Expand
1
2
3
4
# Filters added to this controller apply to all controllers in the application.
# Likewise, all the methods added will be available for all controllers.

class ApplicationController < ActionCont...
pa 6 lines of JavaScript 197 Bytes Show Edit Expand
1
2
3
4
5
6
_showError : function(sErrorMessage){
  if(typeof(sErrorMessage) != "string"){
        sErrorMessage = sErrorMessage.error;
    }
    alert(OpenLayers.Lang.translate("error:")+"\n"+sErrorMessage);
  },
SQL 5 lines of SQL by MSH 312 Bytes Show Edit Expand
1
2
3
4
SELECT 
  COALESCE((SELECT SUM(bedragiv) FROM gbk_2007 WHERE (rekening LIKE '6%' AND rekening NOT LIKE '69%') AND codedc = 'D'), 0) 
                                - 
  COALESCE((SELECT SUM(bed...
coderay 1 line of C++ 14 Bytes Show Edit Expand
1
private int i;
test 8 lines of Ruby by Kevin 159 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
def index
    @posts = Post.all

    respond_to do |format|
      format.html # index.html.erb
      format.xml  { render :xml => @posts }
    end
  end
tteee 20 lines of Ruby by rrr 571 Bytes Show Edit Expand
1
2
3
4
5
6
  def stopProgram()
    ap "stopping"
    if !@file.nil? and !File.stat(@file).directory? and @debuggerpid > 0 then
      @lastdebuggerresults.clear
      Process.kill("INT", @debuggerpid)
      @input_pipe...
c++ 41 lines of C++ by ss 1.31 KB Show Edit Expand
1
2
3
4
5
6
7
8

  CSupportAmmunition *v_pAmmo = NULL;
  CPacket::TStringVector* v_ammoVector = NULL;

  std::map<int, CSupportAmmunition*>::iterator iter;
  int v_nAuthQua = 0;
  char *v_nAmmoName;
  char v_cTmp...
插入排序算 17 lines of PHP 350 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
# 插入排序算法
def insert_sort(data)
    j = 1
    while j < data.size
        key = data[j]
        i = j-1
        while i >= 0 and data[i] > key
            data[i+1] = data[i]     ...

Page 265, 10 entries