New paste›Public feed

Public feed

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

    1599095·python·2.2 KB·2009-10-06 18:43 UTC
    class FilaDePrioridade:
     def __init__(self,fn):
     self.l = []
     self.fn = fn
    
     def add(self,item):
     self.l.append(item)
    
     def extend(self,item):
     self.l.ext
  • ozten

    1599086·text·25.4 KB·2009-10-06 18:39 UTC
    !!################################
    !!ALSA Information Script v 0.4.58
    !!################################
    
    !!Script ran on: Tue Oct 6 18:39:05 UTC 2009
    
    !!Linux Distribution
    !!------------------
    
    Ub
  • try to run vsftpd on slackware 1

    1599078·text·12.2 KB·2009-10-06 18:36 UTC
    ^_^ first ^_^:- i take backup :-)
    cp /etc/vsftpd.conf /etc/vsftpd.conf.0 
    and also
    cp /etc/inetd.conf /etc/inetd.conf.0
    
    ^_^ second ^_^ :- edit and comment ftp user to allow anonymous FTP
    vi
  • Anonymous

    1599069·text·144 B·2009-10-06 18:31 UTC
    211 def __init__(self, env):
    212 self.env = env
    213 self.config = env.config
    214 self.db = env.get_db_cnx()
    215
  • vatsalasher

    1599068·text·25.3 KB·2009-10-06 18:31 UTC
    !!################################
    !!ALSA Information Script v 0.4.58
    !!################################
    
    !!Script ran on: Tue Oct 6 18:30:57 UTC 2009
    
    !!Linux Distribution
    !!------------------
    
    Ub
  • vatsalasher

    1599060·text·25.3 KB·2009-10-06 18:29 UTC
    !!################################
    !!ALSA Information Script v 0.4.58
    !!################################
    
    !!Script ran on: Tue Oct 6 18:27:09 UTC 2009
    
    !!Linux Distribution
    !!------------------
    
    Ub
  • hivemind

    1598985·lua·1.6 KB·2009-10-06 18:05 UTC
    function ENT:CalculateOdds(Enemy)
     if(!Enemy) then return false end
     local group = ents.FindInSphere(Enemy:GetPos(),4096) -- suitable distance
     local myHP = self:Health()
     local hiveHP = 0
     local
  • clueless

    1598944·text·2.0 KB·2009-10-06 17:52 UTC
    12:23 < Gugge> as far as i can tell realtime in 1.6.1 doesnt load sipusers anymore, and loads entries from sippeers as both users 
     and peers, ignoring the type column in the table. Anyo
  • rajgopal

    1598890·text·695 B·2009-10-06 17:34 UTC
    #include<stdio.h>
    #include<stdlib.h>
    void getMatrix( int **mat, int*r, int*c)
    {
     int i,j;
     printf("Enter the rows and cols");
     scanf("%d %d", r, c);
     
     mat = (int**) malloc(*r * sizeof(int*));
     for (
  • Mine

    1598850·diff·2.2 KB·2009-10-06 17:19 UTC
    diff --git a/guilib/common/LIRC.cpp b/guilib/common/LIRC.cpp
    index 98723c1..e8aa1c1 100644
    --- a/guilib/common/LIRC.cpp
    +++ b/guilib/common/LIRC.cpp
    @@ -44,6 +44,11 @@ void CRemoteControl::setUsed
  • marq

    1598829·text·2.9 KB·2009-10-06 17:12 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Tue Oct 6 19:14:00 CEST 2009
    
    !!Linux Distribution
    !!------------------
    
    F
  • Miscellany

    1598790·text·11.5 KB·2009-10-06 17:03 UTC
    ./test2: file format elf32-i386
    
    Disassembly of section .init:
    
    08048298 <_init>:
     8048298: 55 push %ebp
     8048299: 89 e5 mov %esp,%ebp
     804829b: 53
  • arekm

    1598756·text·402 B·2009-10-06 16:54 UTC
    [root@farm ~]# vserver test start
    cat: write error: Invalid argument
    
    Failed to start vserver 'test'
    [root@farm ~]# vserver test start
     Powered by PLD Linux Distribution
  • Stuff

    1598719·text·2.0 KB·2009-10-06 16:43 UTC
    Index: libs/libmythtv/avformatdecoder.cpp
    ===================================================================
    --- libs/libmythtv/avformatdecoder.cpp (revision 22272)
    +++ libs/libmythtv/avformatdeco
  • root

    1598664·text·34.3 KB·2009-10-06 16:25 UTC
    
        
  • arekm

    1598661·text·234 B·2009-10-06 16:25 UTC
    [root@farm ~]# grep "" /dev/cgroup/test/cpu.cfs_*
    /dev/cgroup/test/cpu.cfs_hard_limit:1
    /dev/cgroup/test/cpu.cfs_period_us:500000
    /dev/cgroup/test/cpu.cfs_runtime_us:250000
    # cat /proc/`pidof burnP6`/
  • ZEO cluster process stop issues

    1598659·text·4.1 KB·2009-10-06 16:24 UTC
    [omnium:/Applications/Plone/zeocluster] root# sudo bin/client2 stop
    daemon manager not running
    [omnium:/Applications/Plone/zeocluster] root# sudo bin/client2 stop
    daemon manager not running
    [omniu
  • glueckb

    1598656·text·19.8 KB·2009-10-06 16:24 UTC
    !!################################
    !!ALSA Information Script v 0.4.58
    !!################################
    
    !!Script ran on: Tue Oct 6 16:24:10 UTC 2009
    
    !!Linux Distribution
    !!------------------
    
    Ub
  • style2.php

    1598643·php·1.5 KB·2009-10-06 16:21 UTC
    <?php
    header("Content-type: text/css");
    function unichr($u) {
     return mb_convert_encoding('&#' . intval($u) . ';', 'UTF-8', 'HTML-ENTITIES');
    }
    $bc=array();
    $fc=array();
    $bc0=array("backgrou
  • list.php

    1598638·php·13.2 KB·2009-10-06 16:20 UTC
    <html>
     <head>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> 
    
     </head>
    <style>
    A{text-decoration:none}
    A:visited { color:white; font-weight:bold}
    A:active { color:wh

older pastes →