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

### 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"]...
Some JS 5 lines of JSON by Jake 159 Bytes Show Edit Expand
1
2
3
4
5
if (typeof Array.prototype.contains !== 'function') {
  Array.prototype.contains = function(item, from) {
    return this.indexOf(item, from) != -1;
  };
}
javascript 2 lines of JavaScript 66 Bytes Show Edit Expand
1
2
$('#bd').resizable();
$('#bd').parent('.ui-wrapper').draggable();
caius test 94 lines of Ruby by kib2 2.96 KB Show Edit Expand
1
2
3
4
5


## See terrible article here http://caiustheory.com/ruby-shortcuts
## There's a few useful shorthand ways to create certain objects in Ruby,
## a couple of obvious ones are [] to create an Ar...
cscs test 4 lines of CSS by stjhimy 26 Bytes Show Edit Expand
1
2
3
4
input {
 width:90px;

}
test 4 lines of C++ by nob 89 Bytes Show Edit Expand
1
2
3
4
var hideFlashes = (function() {
  $("#flash_notice,
  flash_error").fadeOut(4000);
});
test 4 lines of Ruby by nob 89 Bytes Show Edit Expand
1
2
3
4
var hideFlashes = (function() {
  $("#flash_notice,
  flash_error").fadeOut(4000);
});
test 4 lines of JavaScript by nob 89 Bytes Show Edit Expand
1
2
3
4
var hideFlashes = (function() {
  $("#flash_notice,
  flash_error").fadeOut(4000);
});

Page 266, 10 entries