New paste›Public feed

Public feed

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

    1322692·php·405 B·2009-01-30 11:28 UTC
    <?php
    
    $dom = new DOMDocument( '1.0', 'UTF-8' );
    
    $test = $dom->createElement('test');
    $test->appendChild( $dom->createTextNode('Hello: \' | & | " | < | > ') );
    $dom->appendChild($test);
    echo $
  • Stuff

    1322634·text·2.8 KB·2009-01-30 09:34 UTC
    # deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ intrepid main restricted #Added by software-properties
    # See
  • const-inheritance concept

    1322550·cpp·2.0 KB·2009-01-30 06:24 UTC
    /* No inheritance */
    #include <stdio.h>
    
    class Rectangle
    {
    protected:
     int width;
     int height;
    public:
     Rectangle() : width(0), height(0) {}
     Rectangle(int w, int h) : width(w),
  • gravy

    1322459·text·18.7 KB·2009-01-30 04:03 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Thu Jan 29 23:03:05 EST 2009
    
    !!Linux Distribution
    !!------------------
    
    Fe
  • CSV Diff

    1322405·text·1.0 KB·2009-01-30 02:43 UTC
    #!/usr/bin/perl
    
    $filea = $ARGV[0];
    $fileb = $ARGV[1];
    
    open(A, $filea);
    open(B, $fileb);
    
    $time_now = time();
    
    open(OLD, ">del.csv");
    open(NEW, ">add.csv");
    while (!($eof_a && $eof_b))
    {
  • 5 card draw

    1322395·python·5.2 KB·2009-01-30 02:35 UTC
    import random
    
    def main():
     #Set up cards
     i = 0
     cards = 5
     deck = build_deck()
     my_seed = range(1,1000)
     random.shuffle(my_seed)
     random.seed(my_seed[0])
     random.sh
  • Stuff

    1322182·text·204 B·2009-01-29 22:11 UTC
    Saturday night in Toledo Ohio,
    Is like being nowhere at all,
    All through the day how the hours rush by,
    You sit in the park and you watch the grass die.
    -- John Denver, "Saturday Night in Toledo O
  • EpicWoW Donation log

    1322148·text·3.4 KB·2009-01-29 21:40 UTC
    Transaction ID Date Sender Status Amount Claimed
    4GK2107437884041D 2009-01-29 05:53:28 redmage@yahoo.com Completed $15 True
    8AM08223GJ616504G 2009-01-29 04:10:28 n_calinv@yahoo.com Completed $3 Fals
  • Stuff

    1322057·text·374 B·2009-01-29 19:51 UTC
    Olorin2: Experimental version of Linux V4L/DVB subsystem in contrib/backports, 2009.0 for i586
    Olorin2: Experimental version of Linux V4L/DVB subsystem in contrib/updates, 2009.0 for i586
    Olorin2: Exp
  • Miscellany

    1321989·text·5.6 KB·2009-01-29 18:53 UTC
    (TracLegos)> time pip install -r plugins.txt 
    Downloading/unpacking http://trac-hacks.org/svn/accountmanagerplugin/trunk#egg=TracAccountManager (from -r plugins.txt (line 8))
     Downloading trunk
  • Topic/238692

    1321959·php·1.4 KB·2009-01-29 18:21 UTC
    <?php
    /**
     * @package WordPress
     * @subpackage Default_Theme
     */
    
    get_header(); ?>
    
     <div id="content" class="narrowcolumn">
     <?php 
     
    query_posts($query_string . '&orderby=rand');
    
     ?
  • Anonymous

    1321946·text·96.6 KB·2009-01-29 18:12 UTC
    
        
  • brauchle

    1321896·text·13.4 KB·2009-01-29 17:13 UTC
    !!################################
    !!ALSA Information Script v 0.4.48
    !!################################
    
    !!Script ran on: Thu Jan 29 18:13:13 CET 2009
    
    !!Linux Distribution
    !!------------------
    
    We
  • Anonymous

    1321873·text·2.3 KB·2009-01-29 16:47 UTC
    #!/bin/sh
    
    echo "## Network Configuration Script ##"
    echo "Disabling interface eth0..."
    ifdown eth0
    
    if [ $1 = "dhcp" ]
    then
     echo "Using DHCP"
    
     echo "auto lo" > interfaces
     echo "iface
  • Jemand

    1321863·text·10 B·2009-01-29 16:40 UTC
    blablablab
  • Jemand

    1321861·text·9 B·2009-01-29 16:38 UTC
    blablabla
  • Mine

    1321858·text·40.0 KB·2009-01-29 16:35 UTC
    
        
  • alsa-info.txt jean 29012009

    1321829·text·11.2 KB·2009-01-29 15:58 UTC
    upload=true&script=true&cardinfo=
    !!################################
    !!ALSA Information Script v 0.4.51
    !!################################
    
    !!Script ran on: Thu Jan 29 13:54:09 CET 2009
    
    !!Li
  • TEH

    1321828·text·8.7 KB·2009-01-29 15:57 UTC
    [23:39:09|PM] * Homaosapian (~homaosapi@Clk-913E72A0.cpe.net.cable.rogers.com) has joined #main
    [23:39:09|PM] * irc.rhqclan.com sets mode: +o Homaosapian
    [23:39:11|PM] <+xmrfunny1x> hey homa.
    [23:3
  • Something

    1321816·text·368 B·2009-01-29 15:38 UTC
    1.0-1.rc2.23.r28348.1mdv2009.0 in main/backports, current for i586
    1.0-1.rc2.23.r28348.1mdv2009.0 in main/backports, current for x86_64
    1.0-1.rc2.18.2mdv2009.0 in main/updates, current for i586
    1.0-1.

older pastes →