New paste›Public feed

Public feed

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

    996051·c·2.4 KB·2008-04-24 18:08 UTC
    /*
    ** client
    */
    
    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>
    #include <errno.h>
    #include <string.h>
    #include <netdb.h>
    #include <sys/types.h>
    #include <netinet/in.h>
    #includ
  • simple chat server

    996049·c·4.4 KB·2008-04-24 18:07 UTC
    /*
    ** server
    */
    
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <unistd.h>
    #include <sys/types.h>
    #include <sys/socket.h>
    #include <netinet/in.h>
    #include <arpa/inet.h>
  • Mine

    996046·text·4.4 KB·2008-04-24 18:05 UTC
    Section "ServerLayout"
    # "SendCoreEvents".
     Identifier "Simple Layout"
     Screen "Screen 1" 0 0
     InputDevice "Mouse1"
     InputDevice "Touchpad" "CorePointer"
     InputD
  • Someone

    996045·text·669 B·2008-04-24 18:04 UTC
    sudo apt-get update
    sudo apt-get install module-assistant build-essential
    sudo apt-get install fakeroot dh-make debhelper debconf libstdc++5 linux-headers-$(uname -r)
    
    sudo ln -sf bash /bin/sh
    ba
  • Miscellany

    996044·text·2.0 KB·2008-04-24 18:02 UTC
    Loading zaptel hardware modules:No functioning zap hardware found in /proc/zaptel, loading ztdummy
    ----------- [cut here ] --------- [please bite here ] ---------
    Kernel BUG at kernel/timer.c:331
    i
  • Something

    996043·text·253 B·2008-04-24 18:01 UTC
    LD init/built-in.o
     LD .tmp_vmlinux1
    drivers/built-in.o: In function `fb_find_zipit_logo':
    /home/g1powermac/Desktop/linux-2.6.21.1/drivers/video/fbmem.c:69: undefined reference to `log
  • root

    996042·text·13.5 KB·2008-04-24 17:58 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Thu Apr 24 23:28:18 IST 2008
    
    !!Linux Distribution
    !!------------------
    
    De
  • jmhunter

    996041·apache·2.1 KB·2008-04-24 17:56 UTC
    NameVirtualHost *
    <VirtualHost *>
     ServerAdmin webmaster@easmold.com
     DocumentRoot /var/www/vhosts/easmold.com
     ServerName easmold.com
     ServerAlias www.easmold.com
     ServerAlias www.dryenough.com
  • Miscellany

    996037·text·9.2 KB·2008-04-24 17:52 UTC
    Index: src/game/Creature.cpp
    ===================================================================
    --- src/game/Creature.cpp (revision 5691)
    +++ src/game/Creature.cpp (working copy)
    @@ -573,7 +573,7
  • Something

    996034·text·171 B·2008-04-24 17:50 UTC
    /home/g1powermac/Desktop/linux-2.6.21.1/scripts/gen_initramfs_list.sh: Cannot open '../rfs'
    make[1]: *** [usr/initramfs_data.cpio.gz] Error 1
    make: *** [usr] Error 2
  • Triangle render in *.bat-file

    996033·text·4.1 KB·2008-04-24 17:50 UTC
    @echo off
    
    rem
    rem Triangle rasterization.bat 
    rem (c) 2008 Aleksej Borisov aka Imp5
    rem
    
    set tex0=.............................................................
    set tex4=00000000000000000
  • Unnamed

    996031·text·6.8 KB·2008-04-24 17:50 UTC
    Logfile of HijackThis v1.99.1
    Scan saved at 13:45:13, on 24/4/2008
    Platform: Windows XP SP2 (WinNT 5.01.2600)
    MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180)
    
    Running processes:
    C:\WINDOWS\Sy
  • Sokoban game in *.bat-file

    996029·text·5.9 KB·2008-04-24 17:48 UTC
    @echo off
    
    rem
    rem Sokoban.bat 
    rem (c) 2008 Aleksej Borisov aka Imp5
    rem
    
    rem testing for CHOICE
    set choice_supported=1
    choice /? > nul
    if %errorlevel% NEQ 0 set choice_supported=0
  • roundyz

    996028·java·1.4 KB·2008-04-24 17:48 UTC
    /**
     * add some sound
     */
     File buttonClickedSoundFile = new File("click.wav");
    
     // check file path
     System.out.println(buttonClickedSoundFile.getAbsolutePath());
    
     AudioInputStream
  • Someone

    996027·text·873 B·2008-04-24 17:48 UTC
    //int sockfd, numbytes; 
     char buf[MAXDATASIZE];
     //struct hostent *he;
     //struct sockaddr_in their_addr; // connector's address information 
     he=gethostbyname("localhost");
     if
  • Anonymous

    996026·text·1.0 KB·2008-04-24 17:48 UTC
    PGresult* pq_query(PGconn* psql, const char *format2, ...) { 
     char* format;
     strcpy(format, format2);
     printf("IN Pquery\n");
     va_list argv; 
     char *ptrQuery; 
     char* replace;
     printf("
  • Untitled

    996025·text·6.8 KB·2008-04-24 17:48 UTC
    Logfile of HijackThis v1.99.1
    Scan saved at 13:45:13, on 24/4/2008
    Platform: Windows XP SP2 (WinNT 5.01.2600)
    MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180)
    
    Running processes:
    C:\WINDOWS\Sy
  • Stuff

    996024·text·86 B·2008-04-24 17:48 UTC
    asdfasdff
    sdf
    sdf
    sd
    fsa
    fs
    gas
    ghs d
    r
    e 
    ae
    t r
    ds
    f 
    asdf
     sad
    f ds
  • Stuff

    996023·text·8 B·2008-04-24 17:47 UTC
    asdfasdf
  • Mine

    996017·php·812 B·2008-04-24 17:44 UTC
    private function groupInfoDO($gurl = null) { return (isset(self::$group_info) || self::$group_info = DS_DO_Factory::instance('group_info', $gurl, is_numeric($gurl)?DS_Groups_Constants::GROUP_ID:DS_Gro

older pastes →