New paste›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • minheap implement

    918521·c·1.3 KB·2008-02-26 04:04 UTC
    #include "minheap.h"
    
    int heap_parent ( int index ) { return index / 2; }
    int heap_left ( int index ) { return index * 2; }
    int heap_right ( int index ) { return index * 2 + 1; }
    
    void heap_sw
  • tony

    918520·text·16.2 KB·2008-02-26 04:04 UTC
    tsalsa version 2007-12-08 Mon Feb 25 22:04:15 CST 2008 
    
    Problem: front mic and mic show up but will not work 
    
     Laptop: nx560xl 
     plugs: 2 
     surround sound system: n 
     mo
  • Anonymous

    918519·text·147 B·2008-02-26 04:03 UTC
    [$bytes($calc($replace($remove(9000*5,000,$chr(44)),x,*,pi,3.14159265358979323846,k,000,m,000000,b,000000000,t,000000000000)),bd)] == [45] (0ms)
  • Mine

    918518·text·2.3 KB·2008-02-26 04:02 UTC
    # ~/.bashrc: executed by bash(1) for non-login shells.
    # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
    # for examples
    
    # If not running interactively, don't do anything
  • Stuff

    918516·python·4.6 KB·2008-02-26 03:59 UTC
    # PySoy's scenes.Planar
    #
    # Copyright (C) 2006,2007,2008 PySoy Group
    #
    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public Lice
  • Something

    918515·ini·10.2 KB·2008-02-26 03:56 UTC
    #
    # Sample configuration file for the Samba suite for Debian GNU/Linux.
    #
    #
    # This is the main Samba configuration file. You should read the
    # smb.conf(5) manual page in order to understand the o
  • tony

    918514·text·16.2 KB·2008-02-26 03:56 UTC
    tsalsa version 2007-12-08 Mon Feb 25 21:56:04 CST 2008 
    
     Laptop: nx560xl 
     plugs: 2 
     surround sound system: n 
     model options: n 
     number of speakers... 
    Distr
  • Something

    918512·text·2.1 KB·2008-02-26 03:53 UTC
    global
     use-stable-kde false
     source-dir /usr/src/kde4
    # build-dir build
     kdedir /opt/kde4
    # make-install-prefix sudo -S
     qtdir /usr/src/kde4/qt-copy
    # qtdir ${build-dir}/build/qt-copy
  • Unnamed

    918511·bash·195 B·2008-02-26 03:53 UTC
    for a in *wma ; do
    test -f "$(basename "$a" .wma).ogg" ||
     {
    mplayer -vc null -vo null -ao pcm:fast "$a" && oggenc -b 64 audiodump.wav && mv audiodump.ogg "$(basename "$a" .wma).ogg"
     }
    done
  • Something

    918509·text·709 B·2008-02-26 03:50 UTC
    This Makefile is only for the CVS repository
    This will be deleted before making the distribution
    
    *** automake (GNU automake) 1.9.6 found.
    *** Creating acinclude.m4
    *** Creating list of subdirect
  • Stuff

    918506·text·2.3 KB·2008-02-26 03:46 UTC
    <?
     
     
     
     
     if (!@mysql_select_db("mtlc?old")) {
     echo 'Unable to locate the ' . 'database.';
    }
     
     if(isset($_POST['commenttext'])) {
     $commenttext = $_POST['commenttext'];
     $name
  • Mine

    918505·text·14.0 KB·2008-02-26 03:44 UTC
    Loading lncare......................................................................
    BIOS data check successful
    Bootdata ok (command line is auto BOOT_IMAGE=lncare ro root=901 root=/dev/md1 console=
  • Something

    918504·text·849 B·2008-02-26 03:44 UTC
    #include <iostream>
    #include <cmath>
    #include <iomanip>
    using namespace std;
    
    double f(double x);
    
    int main()
    {
     int a,b,k,n,i;
     double Tzero;
     double Tk;
     double deltaX;
     double sumDelta
  • Something

    918503·text·1.6 KB·2008-02-26 03:42 UTC
    <?
     
     
     
     
     if (!@mysql_select_db("mtlc?old")) {
     echo 'Unable to locate the ' . 'database.';
    }
     
     if(isset($_POST['commenttext'])) {
     $commenttext = $_POST['commenttext'];
     $name
  • Mine

    918501·text·242 B·2008-02-26 03:41 UTC
    find . -name "*.wma" | while read ; do
     ogg=${REPLY/%wma/}ogg
     [ -e "$ogg" ] && mplayer -vc null -vo null -ao pcm:fast "$REPLY" && \
     oggenc -b 64 audiodump.wav && \
  • Someone

    918500·php·485 B·2008-02-26 03:40 UTC
    <?php
    
    $iterator = new RecursiveDirectoryIterator('extra/');
    
    foreach(new RecursiveIteratorIterator($iterator, RecursiveIteratorIterator::CHILD_FIRST) as $file)
    {
     if(false == $file->isDir())
  • Someone

    918499·php·487 B·2008-02-26 03:40 UTC
    <?php
    
    $iterator = new RecursiveDirectoryIterator('extra/');
    
    foreach(new RecursiveIteratorIterator($iterator, RecursiveIteratorIterator::CHILD_FIRST) as $file)
    {
     if(false == $file->isDir())
  • Anonymous

    918496·bash·252 B·2008-02-26 03:40 UTC
    find . -name "*.wma" | while IFS="" read -r ; do
     ogg=${REPLY/%wma/}ogg
     [ -e "$ogg" ] && mplayer -vc null -vo null -ao pcm:fast "$REPLY" && \
     oggenc -b 64 audiodump.wav &&
  • kdesvn-build error

    918494·text·7.0 KB·2008-02-26 03:38 UTC
    fale@fale-laptop:/usr/src/kde4/kdesupport$ sudo kdesvn-build -v
    Script started processing at Mon Feb 25 19:04:26 2008
    Adding kdenonbeta/unsermake to build.
    <<< Updating Subversion Directories >>>
  • mrcheeks

    918493·text·1.2 KB·2008-02-26 03:36 UTC
    Plugins management
    
    The plugins list
    A plugin.xml file is stored on the xpontus site. It contains basic information about available plugins(id, author, version, etc.). When XPOntus is started for t

older pastes →