New paste›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • Mine

    912839·javascript·3.0 KB·2008-02-21 17:50 UTC
    // --- snip ---
     newObject = Type.createInstance(objectClass,[]); // Initializes the class
    // --- snip ---
     // Generate copying body
     var f_id = 0;
     for(f in Reflect.fields(newObject))
  • Someone

    912837·text·1.2 KB·2008-02-21 17:49 UTC
    1 = HMENU
     1 {
     entryLevel = 0
     wrap = <ul class="ro">|</ul>
     1 = GMENU
     1 {
     NO {
     XY = 52,13
     ATagParams = class="ro menuitem"
     wrap = <li class="me
  • Mine

    912836·javascript·3.1 KB·2008-02-21 17:49 UTC
    // --- snip ---
     newObject = Type.createInstance(objectClass,[]); // Initializes the class
    // --- snip ---
     // Generate copying body
    
     var f_id = 0;
    
     for(f in Reflect.fields(newObject)
  • Anonymous

    912833·php·1.6 KB·2008-02-21 17:46 UTC
    $list_epoch = 1;
    
    $list = array(
     'blah',
     'yadda',
     'etc'
    );
    
    if(($_SERVER['HTTP_REFERER'] == 'http://georgebushisyournewbicycle.com/') && !($_COOKIE['annoy_spacehobo'])) {
     # SpaceHobo
  • Untitled

    912831·text·4.5 KB·2008-02-21 17:45 UTC
    #!/bin/sh
    # Copyright 1997, 1998 Patrick Volkerding, Moorhead, MN USA
    # Copyright 2002 Slackware Linux, Inc., Concord, CA USA
    # All rights reserved.
    #
    # Redistribution and use of this script, wit
  • Miscellany

    912828·text·196 B·2008-02-21 17:44 UTC
    $options = array(
     'action' => '/user/register',
     'method' => 'post',
     'elementPrefixPath' => array(
     'validate' => array(
     'prefix' => 'MY_Validate',
     'path' => 'MY/Validate'
     ))
  • Anonymous

    912826·text·1009 B·2008-02-21 17:43 UTC
    <?php 
    
    require "conninfo.php";
    
    $mysqli = new mysqli($serverbd, $userbd, $passbd, $bd); 
    
    $idnews = intval($_GET['idnt']);
    
    /* check connection */ 
    if (mysqli_connect_errno()) { 
     printf
  • Miscellany

    912822·text·3.4 KB·2008-02-21 17:39 UTC
    mysql> SHOW CREATE TABLE forumread\G*************************** 1. row ***************************
     Table: forumread
    Create Table: CREATE TABLE `forumread` (
     `userid` int(10) unsigned NOT N
  • Untitled

    912821·text·436 B·2008-02-21 17:39 UTC
    FERRETERIA FLORES
    
    Logo color naranja
    Fondo blanco 
    
    Poner logo de 
    Moctezuma
    Berel
    Quaker
    Movistar y Telcel
    Y Pedigree
    
    ES TODO
    
    - Ferretería 
    - Autopartes
    - Materiales para construcc
  • Anonymous

    912819·text·1.8 KB·2008-02-21 17:37 UTC
    .TITLE "Asign1"
     .PSIZE 1000,1000
    
     .NOLIST
     .INCLUDE "..\\include\\ascii.i"
     .LIST
    /*************CONSTANT DATA************/
     .TEXT 1
    MsgProgramID: 
     .ASCIZ "WELCOME!"
     .BYTE CR,LF,0
  • Miscellany

    912818·text·450 B·2008-02-21 17:37 UTC
    ProgrammingError: (ProgrammingError) record "old" has no field "email"
    CONTEXT: PL/pgSQL function "bugzilla_sync_email" line 2 at if
     'UPDATE people SET gpg_keyid=%(gpg_keyid)s, comments=%(comments
  • Unnamed

    912817·text·604 B·2008-02-21 17:36 UTC
    shyam@shyam:~$ compiz-manager 
    Checking for Xgl: not present. 
    Detected PCI ID for VGA: 00:02.0 0300: 8086:27a2 (rev 03) (prog-if 00 [VGA])
    Checking for texture_from_pixmap: not present. 
    Trying a
  • JASON IS GAY

    912816·text·1.8 KB·2008-02-21 17:36 UTC
    .TITLE "Asign1"
     .PSIZE 1000,1000
    
     .NOLIST
     .INCLUDE "..\\include\\ascii.i"
     .LIST
    /*************CONSTANT DATA************/
     .TEXT 1
    MsgProgramID: 
     .ASCIZ "WELCOME!"
     .BYTE CR,LF,0
  • Latheesan

    912815·csharp·1.3 KB·2008-02-21 17:32 UTC
    public string[] getAccounts()
     {
     int totalAccounts = 0;
     string Query = "SELECT COUNT(`login`) FROM `accounts`";
     MySqlCommand playerCount = new My
  • Stuff

    912814·text·3.3 KB·2008-02-21 17:32 UTC
    alien@ubuntu:~$ ab -n 10000 -c 10 http://localhost/cache/php1.php
    This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
    Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.z
  • Mine

    912813·text·1.2 KB·2008-02-21 17:31 UTC
    [mysqld]
    port = 3306
    socket = /var/lib/mysql/mysql.sock
    skip-external-locking
    key_buffer = 4096M
    max_allowed_packet = 16M
    table_cache = 1024
    sort_buffer_size = 8M
    read_buff
  • Someone

    912809·text·2.0 KB·2008-02-21 17:30 UTC
    (* Exercice 1 *)
    
    (* ITERATION 1 *)
    let eratosthene n =
    
    let p = Array.make n true and premier = [] in
    
    for k = 2 to n do (* on parcourt le tableau pour tester chaque entier pour voir s'il est
  • Unnamed

    912807·text·6.1 KB·2008-02-21 17:28 UTC
    Index: game/Spell.cpp
    ===================================================================
    --- game/Spell.cpp (revision 5267)
    +++ game/Spell.cpp (working copy)
    @@ -3901,7 +3902,7 @@
     
     void Spell
  • JASON IS GAY

    912806·text·1.7 KB·2008-02-21 17:27 UTC
    .TITLE "Asign1"
     .PSIZE 1000,1000
    
     .NOLIST
     .INCLUDE "..\\include\\ascii.i"
     .LIST
    /*************CONSTANT DATA************/
     .TEXT 1
    MsgProgramID: 
     .ASCIZ "WELCOME!"
     .BYTE CR,LF,0
  • Something

    912803·text·1.3 KB·2008-02-21 17:25 UTC
    server1:~# apt-get install proftpd
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Suggested packages:
     proftpd-doc
    The following NEW packages will be i

older pastes →