New paste›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • factorpart for sympy

    983712·python·798 B·2008-04-13 15:53 UTC
    import sympy
    
    def factorpart(expr, part):
     if not isinstance(expr, sympy.Add):
     return expr
     dummyk = sympy.Wild("k")
     converted = []
     notconverted = []
     for q in expr.args:
     #print q
     r
  • Anonymous

    983697·text·5.7 KB·2008-04-13 15:46 UTC
    <?php
    define('PUN_ROOT', './');
    require PUN_ROOT.'include/common.php';
    require PUN_ROOT.'lang/'.$pun_user['language'].'/cash.php';
    
    if ($pun_user['is_guest'])
     message($lang_common['No view']);
  • Someone

    983695·text·651 B·2008-04-13 15:46 UTC
    #### VLAN configuration 
    config switch eth0
     option vlan0 "1 2 3 4 5*"
     option vlan1 "0 5"
    
    #### Loopback configuration
    config interface loopback
     option ifname "lo"
     option proto static
     o
  • Someone

    983690·text·1.3 KB·2008-04-13 15:45 UTC
    franklin:/var/log# aptitude purge initramfs-tools
    Reading package lists... Done
    Building dependency tree... Done
    Reading extended state information 
    Initializing package states... Done
    Read
  • unr007d

    983688·text·10.7 KB·2008-04-13 15:44 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Sun Apr 13 11:45:04 EDT 2008
    
    !!Linux Distribution
    !!------------------
    
    We
  • Anonymous

    983685·text·6.0 KB·2008-04-13 15:43 UTC
    Logfile of HijackThis v1.99.1
    Scan saved at 12:42:49, on 13/4/2008
    Platform: Windows XP SP2 (WinNT 5.01.2600)
    MSIE: Internet Explorer v7.00 (7.00.6000.16640)
    
    Running processes:
    C:\WINDOWS\Syste
  • Someone

    983682·text·95.6 KB·2008-04-13 15:41 UTC
    
        
  • Miscellany

    983670·text·2.8 KB·2008-04-13 15:35 UTC
    <STATUS> SEND: <stream:stream to='jabber.org' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
    
    <STATUS> RECV: '<stream:features><starttls xmlns='urn:ietf:param
  • Something

    983666·text·183 B·2008-04-13 15:33 UTC
    $ bin/inkscape 
    Error:Could not open configuration file 'pedro.ini' for reading
    Error:login: no second SASL challenge offered by server
    Error:###### SASL authentication failure
  • Someone

    983662·text·3.3 KB·2008-04-13 15:32 UTC
    #!/bin/sh
    # Heavily based on the Slackware 12.0 SlackBuild
    # http://cimg.sourceforge.net/
    # Packager Gerson E. Ruotolo
    # http://
    
    CWD=`pwd`
    TMP=${TMP:-/tmp/tgz}
    PKG=$TMP/package/CImg
    NAME=C
  • Unnamed

    983658·text·3.8 KB·2008-04-13 15:29 UTC
    13.1 Assignment 1
    Due: 9.00AM on Monday 14th April 2008 (beginning of Week 6)
    Overview
    This assignment will contribute 10% of your overall assessment for the course. Recall
    that you must pass all
  • Stuff

    983655·text·277 B·2008-04-13 15:27 UTC
    myhost ~ # emerge -av =gnome-base/gnome-2.22.1
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies /
    emerge: there are no ebuilds to satisfy ">=media-libs/gst-plugin
  • Anonymous

    983654·text·5.5 KB·2008-04-13 15:27 UTC
    <?php
    define('PUN_ROOT', './');
    require PUN_ROOT.'include/common.php';
    require PUN_ROOT.'lang/'.$pun_user['language'].'/cash.php';
    
    if ($pun_user['is_guest'])
     message($lang_common['No view']);
  • Mine

    983652·text·722 B·2008-04-13 15:26 UTC
    [root@test asterisk-1.4.19]# patch -p0 < my.patch
    can't find file to patch at input line 5
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    -----------------------
  • Mine

    983651·text·83 B·2008-04-13 15:25 UTC
    for (i)
    
     printf("whatever");
    
    OR 
    
    for (i) {
     printf("whatever");
    }
  • Something

    983650·text·26.8 KB·2008-04-13 15:25 UTC
    Index: C:/Users/Nir Simionovich/Documents/workspace/asterisk-1.4/main/say.c
    ===================================================================
    --- C:/Users/Nir Simionovich/Documents/workspace/aster
  • Miscellany

    983648·text·1.3 KB·2008-04-13 15:24 UTC
    09:43 groogs @ | errr: MAYBE with chaining extensions...
    09:43 groogs @ | eg, sysA has say, 101, and sysB has 202
    09:44 errr | yeah thats sortta how it is
    09:44 groogs @
  • Someone

    983647·text·1.9 KB·2008-04-13 15:24 UTC
    # update interval
    update_interval 1
    
    # sets alignment
    alignment top_right
    
    # sets distance from edge of window
    gap_y 35
    gap_x 25
    
    # color
    default_color white
    #default_shade_color white
    de
  • Something

    983638·text·7.8 KB·2008-04-13 15:15 UTC
    // ***************************************************
    // IRC Plugin 1.1 ECHO FILTERSCRIPT //
    // coded by Jacob. (irc.gtanet.com:6667 #jacob) //
    // ******************************
  • Someone

    983636·text·108 B·2008-04-13 15:13 UTC
    Section "DRI"
     Group "video"
     Mode 0660
    EndSection
    
    Section "Extensions"
    EndSection

older pastes →