New paste›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • Rewritable in O(m+n) time?

    966558·text·148 B·2008-04-01 20:43 UTC
    function removeFrom(list a, list b):
     for i in 0..length(a)
     for j in 0..length(b)
     if a[i] == b[j]
     remove a[i]
     end
     end
     end
    end
  • Stuff

    966557·text·2.9 KB·2008-04-01 20:42 UTC
    A boy is born in a very rich family.
    At his christening, the family gives some catalogues to the baby to make him choose his own present. The range included things as new beautiful clothes, any kind
  • Vermischtes

    966555·c·196 B·2008-04-01 20:41 UTC
    int array[]={1,2,3,4,5,6,7,8,9}
    int array_length=0;
    while (array[array_length++]!='\0');
    
    printf("%d\n",array_length); /* = 14 und ich hab keine ahnung warum (ebenso mit dynamischen arrays) */
  • Miscellany

    966553·text·318 B·2008-04-01 20:39 UTC
    <Q> C:\Program Files\dest\qbase>startagent.exe
    Traceback (most recent call last):
     File "startagent.py", line 1, in ?
     File "QIniFile.pyc", line 18, in ?
     File "PYMonkey.pyc", line 26, in ?
  • Etwas

    966552·sql·308 B·2008-04-01 20:35 UTC
    UPDATE `mangos.``mangos_string` SET `content_default` = 'Ticket of %s (Last updated: %s) (Category: %i):\n%s ' WHERE `mangos_string`.`entry` =290 LIMIT 1 ;
    ALTER TABLE `characters`.`character_ticke
  • Unbenannt

    966551·text·308 B·2008-04-01 20:35 UTC
    UPDATE `mangos.``mangos_string` SET `content_default` = 'Ticket of %s (Last updated: %s) (Category: %i):\n%s ' WHERE `mangos_string`.`entry` =290 LIMIT 1 ;
    ALTER TABLE `characters`.`character_ticke
  • Miscellany

    966549·text·291.5 KB·2008-04-01 20:34 UTC
    
        
  • Unnamed

    966548·text·295 B·2008-04-01 20:31 UTC
    var %id $iif($skill($1) == Overall,overall,skill) $+ $ticks
     noop $regex($2-,/#(\d+?)(?:\s|$)/S)
     hadd -m %id tolevel $iif($regml(1),$v1,N/A)
     hadd -m %id display echo $active
     hadd -m %id n
  • Someone

    966545·text·653 B·2008-04-01 20:29 UTC
    -rwx------ 1 user group 2373980 Jun 25 2005 Bjelo dugme - Ne spavaj mala moja.mp3
    drwx------ 1 user group 0 Dec 12 22:19 Daleka Obala
    • -rwx------ 1 user group 3100967 No
  • Etwas

    966542·text·3.1 KB·2008-04-01 20:22 UTC
    Index: src/game/Chat.h
    ===================================================================
    --- src/game/Chat.h (Revision 5524)
    +++ src/game/Chat.h (Arbeitskopie)
    @@ -350,7 +350,7 @@
     Worl
  • l0ch

    966541·text·1.4 KB·2008-04-01 20:20 UTC
    Rules – The concept of having Rules in your mind which are dependant on your current status in life such as how things are going etc and cause you to limit how much high emotion that you have. Using R
  • Anonymous

    966540·php·726 B·2008-04-01 20:19 UTC
    function ask() 
     {
     $rules['nume'] = 'required|max_length[24]';
     $rules['email'] = 'required|max_length[64]|valid_email';
     $rules['intrebare'] = 'required';
     
     $fields['nume'] = "'Num
  • Unnamed

    966538·text·3.5 KB·2008-04-01 20:18 UTC
    cc -Wall -I/lib/modules/`uname -r`/build/include -g -c -o iw.o iw.c
    cc -Wall -I/lib/modules/`uname -r`/build/include -g -c -o interface.o interface.c
    cc -Wall -I/lib/modules/`uname -r`/build/inc
  • Miscellany

    966536·text·40.0 KB·2008-04-01 20:16 UTC
    
        
  • Stuff

    966534·text·153 B·2008-04-01 20:15 UTC
    gdb_port 9010
    daemon_startup attach
    interface parport
    parport_port 0x378
    parport_cable wiggler
    target xscale little run_and_halt 0x2927A013 ixp46x
  • Bubimir

    966533·text·2.2 KB·2008-04-01 20:15 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Tue Apr 1 22:15:45 CEST 2008
    
    !!Linux Distribution
    !!------------------
    
    W
  • Untitled

    966532·text·2.6 KB·2008-04-01 20:14 UTC
    first time i ran it
    Open On-Chip Debugger 1.0 (2008-03-28-14:29) svn:526
    $URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
    Info: jtag.c:1328 jtag_examine_chain(): JTAG device found: 0x000
  • Untitled

    966531·text·1.3 KB·2008-04-01 20:13 UTC
    Open On-Chip Debugger 1.0 (2008-03-28-14:29) svn:526
    $URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
    Info: jtag.c:1328 jtag_examine_chain(): JTAG device found: 0x1927a013 (Manufacturer:
  • Zeug

    966528·text·545 B·2008-04-01 20:09 UTC
    long sumOfPrims(long maxNumber) {
     long i,j;
     unsigned long primSum=0;
     short *durchgefallen;
     long iMax = sqrt(maxNumber);
     durchgefallen = (short *)malloc(maxNumber*sizeof(short));
     for(i=0; i
  • Anonymous

    966526·text·5.0 KB·2008-04-01 20:09 UTC
    function doLoad(value) {
    
     // Create new JsHttpRequest object.
    
     var req = new JsHttpRequest();
    
     // Code automatically called on load finishing.
    
     req.onreadystatechange = fun

older pastes →