All pastesPublic feed

Public feed

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

    2047068·text·634 B·2011-04-16 07:40 UTC
    #define MY_LUA_FUNCS
    [lua]
     code = << 
    beastGoldValues= {3, 5, 10, 15, 25, 50, 100, 200}
    
    function beastDie(event)
     local event_data = wesnoth.current.event_context
     local side=event_data.un
  • Mine

    2047067·text·1.8 KB·2011-04-16 07:36 UTC
    Behind the door was a spiral staircase that went down some twenty feet. At the bottom was a large window that looked into the tank. Fubar was already at the bottom of the stairs, even though I went fi
  • Anonymous

    2047064·text·224.7 KB·2011-04-16 07:13 UTC
    
        
  • Stuff

    2047063·text·154.7 KB·2011-04-16 07:10 UTC
    
        
  • Someone

    2047051·c·168 B·2011-04-16 05:34 UTC
    #include <stdio.h>
    #include <pcap.h>
    
    main(){
    #ifdef _NET_BPF_H_
     printf("net/bpf.h is included.\n");
    #else
     printf("net/bpf.h is *not* included.\n");
    #endif
    }
  • Someone

    2047050·text·168 B·2011-04-16 05:33 UTC
    #include <stdio.h>
    #include <pcap.h>
    
    main(){
    #ifdef _NET_BPF_H_
     printf("net/bpf.h is included.\n");
    #else
     printf("net/bpf.h is *not* included.\n");
    #endif
    }
  • Untitled

    2047042·text·1.9 KB·2011-04-16 03:56 UTC
    signed int __thiscall CTradeWnd__DropItemIntoTrade(void *this)
    {
     void *v1; // edi@1
     signed int result; // eax@2
     signed int v3; // esi@6
     int v4; // edi@7
     int v5; // ecx@8
     signed int
  • lsneeds-micro

    2047035·text·125 B·2011-04-16 02:49 UTC
    for i in $(find -type f); do echo $(ldd $i | grep ldap >> lib.log; echo -e "$i\n\n" >> lib.log); done
    grep -a2 ldap lib.log
  • Unnamed

    2047033·text·26.7 KB·2011-04-16 02:34 UTC
    /* 10_fragment_lighting.c - OpenGL-based per-fragment lighting example
     using Cg program from Chapter 5 of "The Cg Tutorial" (Addison-Wesley,
     ISBN 0321194969). */
    
    /* Requires the OpenGL Ut
  • Stuff

    2047032·text·2.0 KB·2011-04-16 02:31 UTC
    import java.awt.*;
    import net.c2d.sharpf2.api.*;
    import net.c2d.sharpf2.api.wrappers.*;
    import net.c2d.sharpf2.api.model.*;
    
    /**
     *
     * @author Rick
     */
    @ScriptData(
    name = "VarrockCopperMine
  • Someone

    2047031·text·3.2 KB·2011-04-16 02:30 UTC
    Well I do not believe in love simply because i do not think humans CAN love.
    I believe that love can exist, just humans do not have the capacity to love.
    
    My definition of love would be a complete
  • Something

    2047028·text·1.7 KB·2011-04-16 02:23 UTC
    // This is C5E2v_fragmentLighting from "The Cg Tutorial" (Addison-Wesley, ISBN
    // 0321194969) by Randima Fernando and Mark J. Kilgard. See page 124.
    
    void C5E2v_fragmentLighting(float4 position :
  • Anonymous

    2047026·text·1.4 KB·2011-04-16 02:23 UTC
    // This is C5E3f_basicLight from "The Cg Tutorial" (Addison-Wesley, ISBN
    // 0321194969) by Randima Fernando and Mark J. Kilgard. See page 125.
    
    float3 expand(float3 v)
    {
     return (v-0.5)*2; //
  • Stuff

    2047022·text·4.5 KB·2011-04-16 01:18 UTC
    Journal Entry of Mahoney, Explorer assigned to the Sol Sector, 
    
    Dated October the 5th, the 35th year of the Reign of Ikona the 
    
    Wise.
    
     I use the proper dating, to honour our emperor in case
  • Stuff

    2047021·text·1.3 KB·2011-04-16 01:15 UTC
    Apr 15 21:13:34 drawesome ovpn-lester[18960]: OPTIONS IMPORT: timers and/or timeouts modified
    Apr 15 21:13:34 drawesome ovpn-lester[18960]: OPTIONS IMPORT: --ifconfig/up options modified
    Apr 15 21:1
  • Anonymous

    2047020·asm·15.8 KB·2011-04-16 01:14 UTC
    ; ---------------------------------------------------------------------------
    ; SUBROUTINE
    ;
    ; Decompresses sprite using RBY compression (e.g. Pokemon and trainer pics)
    ;
    ; Documentation on the c
  • Something

    2047019·text·1.9 KB·2011-04-16 01:02 UTC
    [drawesome:~/Documents/src/OpenWRT/trunk/trunk/feeds/batman/batman-adv-devel/patches] ryan$ cat 001-fix-gw-error.patch 
    --- a/sys.c
    +++ b/sys.c
    @@ -420,10 +420,10 @@ int handle_gw_setting(char *mes
  • Untitled

    2047018·text·22.3 KB·2011-04-16 00:56 UTC
    $ strace -f ldd /usr/lib32/dri/i965_dri.so 2>&1 | grep lib
    execve("/usr/bin/ldd", ["ldd", "/usr/lib32/dri/i965_dri.so"], [/* 44 vars */]) = 0
    open("/lib/libncurses.so.5", O_RDONLY) = 3
    open("/lib/
  • Untitled

    2047017·text·1.4 KB·2011-04-16 00:30 UTC
    I started re-working my tracker last year for a public free release but I had
    to put this project aside.
    
    I've been busy with work weeks of over 100 hours/week leaving less than
    nothing for other
  • psclient

    2047014·text·772 B·2011-04-16 00:21 UTC
    Fri Apr 15 20:19:04 2011, <c:\development\planeshift\src\common\sound\system.cpp:44 SoundSystem::Initialize SEVERE>
    Fri Apr 15 20:19:04 2011, Failed to get a sound global listener!
    Fri Apr 15 20:19:

older pastes →