Welcome! This page is using CodeRay 1.1.2.

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

Page 266, 10 entries

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]     ...
### 11 lines of Python 368 Bytes Show Edit Expand
1
2
3
4
5
def check_login(login,passwd):
    l = (login,)
    p = (passwd,)
    """ porownuje login i pass podane w formularzu z wpisami w bazie tabela operators"""
    z = _sql3_spell("SELECT pass FROM ...
asd 21 lines of Python 1.11 KB Show Edit Expand
1
2
3
4
5
6
<pre><code class="python">
#envio de datos a MySQL
import MySQLdb
db=MySQLdb.connect(host="localhost",user="pepe",passwd="nopw",db="asdfasdf")
cursor = db.cursor()
ID_C1=('3168','3369','3333',...
SimpleTest 30 lines of C++ 1.25 KB Show Edit Expand
1
2
3
4
5
    // Create a new type
    Json::Value personSchema;
    personSchema["name"][Schema::Type] = Schema::String;
    personSchema["age"][Schema::Type] = Schema::Int;
    personSchema["hasPenis"]...

Page 266, 10 entries