New paste›Public feed

Public feed

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

    926609·text·222 B·2008-03-03 19:41 UTC
    bind msg - !say say:proc
    
    proc say:proc {nick uhost hand arg } {
     set chan [lindex $arg 0]
     set msg [lrange $arg 1 end]
    
     putserv "PRIVMSG $chan :$msg"
    }
    
    putlog "custom.tcl by po
  • Miscellany

    926607·text·15.7 KB·2008-03-03 19:40 UTC
    Mar 3 09:01:18 filserver sshd[38704]: Invalid user admin from 200.75.13.38
    Mar 3 09:01:21 filserver sshd[38706]: Invalid user admin from 200.75.13.38
    Mar 3 09:01:23 filserver sshd[38708]: Invalid
  • Speed up, please

    926605·sql·440 B·2008-03-03 19:38 UTC
    SELECT DISTINCT stkno as st, 
    (SELECT COUNT(`stkno`) FROM partners_downloads WHERE `status` = 'Done' AND stkno = st GROUP BY stkno) as `done`, 
    (SELECT COUNT(`stkno`) FROM partners_downloads WHERE `
  • Anonymous

    926603·php·639 B·2008-03-03 19:38 UTC
    <form enctype="multipart/form-data" action="upload.php" method="POST">
    <input type="hidden" name="MAX_FILE_SIZE" value="100000" />
    Choose a file to upload: <input name="uploadedfile" type="file" /><
  • Something

    926602·text·1.7 KB·2008-03-03 19:38 UTC
    jackd -R -d alsa -d hw:1
    jackd 0.103.0
    Copyright 2001-2005 Paul Davis and others.
    jackd comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under cert
  • Someone

    926601·text·193 B·2008-03-03 19:37 UTC
    public function get_random($type)
    {
     return $this->get_listing($this->db->from('custom_listings')->where($type.' !=', '')->orderby(NULL, 'RAND()')->limit(1)->get()->current()->mls_number);
    }
  • Stuff

    926599·text·3.3 KB·2008-03-03 19:37 UTC
    VILJATILANNE ww-kylässä (0|-77) maanantaina kello 21:36
    
    Lähetä viljaa yöksi/aamuyöksi/aamuksi saapuvaksi mainitun minuuttimäärän verran
    
    ENNEN annettua kellon aikaa. Näin pelastat uljaiden so
  • nemo

    926598·text·24.5 KB·2008-03-03 19:36 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Mon Mar 3 11:36:57 PST 2008
    
    !!Linux Distribution
    !!------------------
    
    Ub
  • Mine

    926596·text·1.1 KB·2008-03-03 19:35 UTC
    root@frugalware:/home/warren# pacman-g2 Sy
    erreur: aucune opération spécifiée (utiliser -h pour de l'aide)
    
    root@frugalware:/home/warren# pacman-g2 -Sy
    :: Synchronisation des bases de données de p
  • Mine

    926595·text·221 B·2008-03-03 19:35 UTC
    debian4:/etc/init.d# dig servername @localhost
    
    ; <<>> DiG 9.3.4 <<>> servername @localhost
    ; (1 server found)
    ;; global options: printcmd
    ;; connection timed out; no servers could be reached
    d
  • Vermischtes

    926593·text·528 B·2008-03-03 19:33 UTC
    TOPSRCDIR = @top_srcdir@
    TOPOBJDIR = ../..
    SRCDIR = @srcdir@
    VPATH = @srcdir@
    MODULE = d3dx9_36.dll
    IMPORTS = d3d9 d3dx8 kernel32
    IMPORTLIB = libd3dx9.$(IMPLIBEXT)
    EXTRALIBS = -ldxg
  • Unnamed

    926592·text·1.3 KB·2008-03-03 19:33 UTC
    >>> Running ebuild phases loadenv postrm as root:root...
    bunzip2 < /var/db/pkg/app-emacs/-reinstalling-slime-9999/environment.bz2 > /var/tmp/paludis/environment-app-emacs-slime-9999-85762
    ebuild_scr
  • Untitled

    926591·text·11.6 KB·2008-03-03 19:33 UTC
    >>> Emerging (1 of 4) dev-python/PyQt-3.17.3 to /
     * PyQt-x11-gpl-3.17.3.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
     * checking ebuild checksums ;-) ...
  • Stuff

    926590·text·11.9 KB·2008-03-03 19:33 UTC
    Games/Wii [NDS] Tigerz EUR NDS-XPA
     Download 5 0 2008-02-29
    06:04:42 12.03
    MB 34
    times 5 0
    Games/Wii [NDS] The Suite Life of Zack and Cody-Circle of Spies EUR MULTI6 NDS-SQUiRE
     Downloa
  • Probability of shuffling array

    926585·python·522 B·2008-03-03 19:31 UTC
    from random import shuffle
    
    def test(x,f,to_n=100000):
     suc = 0
     for i in xrange(0,to_n):
     shuffle(x)
     if f(x): suc+=1
     return float(suc)/float(to_n)
    
    def one_got_same_
  • Stuff

    926584·text·420 B·2008-03-03 19:30 UTC
    matches ( 
     int user1id,
     int user2id
    )
    
    users (
     userid,
     int group,
     varchar(50) type
    )
    
    SELECT ALL USERS (1st user)
    
    for each user, select * from students where group<>$thisusersgroup
  • Mine

    926583·text·9.5 KB·2008-03-03 19:30 UTC
    //Additional homework - p171 #1,5,10
    
    //Problem #1 - create a rock paper scissors game
    /*
    #include <iostream>
    using namespace std;
    
    int main(){
     char player1, player2;
     bool playmore =
  • Something

    926582·text·294 B·2008-03-03 19:29 UTC
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
     LANGUAGE = (unset),
     LC_ALL = "de_DE.UTF-8",
     LC_COLLATE = "C",
     LANG = "de_DE.UTF-8"
     are suppor
  • freebird

    926581·text·1015 B·2008-03-03 19:29 UTC
    bash-3.1# cat /etc/httpd/extra/httpd-userdir.conf 
    # Settings for user home directories
    #
    # Required module: mod_userdir
    
    #
    # UserDir: The name of the directory that is appended onto a user's ho
  • nemo

    926580·text·24.5 KB·2008-03-03 19:28 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Mon Mar 3 11:28:50 PST 2008
    
    !!Linux Distribution
    !!------------------
    
    Ub

older pastes →