All pastesPublic feed

Public feed

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

    2047104·python·603 B·2011-04-16 09:52 UTC
    #Acid shield effect
    
    event_hooks = ON_DAMAGE, ON_DEATH, ON_TIMER
    
    on_apply():
     ent.temp.str += 3
     ent.temp.con += 2
    
    on_clear():
     ent.temp.str -= 3
     ent.temp.con -= 2
    
    acid_shield_on_damag
  • Orb

    2047103·text·573 B·2011-04-16 09:52 UTC
    #Acid shield effect
    
    event_hooks = ON_DAMAGE, ON_DEATH, ON_TIMER
    
    on_apply():
     ent.temp.str += 3
     ent.temp.con += 2
    
    on_clear():
     ent.temp.str -= 3
     ent.temp.con -= 2
    
    acid_shield_on_damage(damager):
  • Orb

    2047098·python·11.6 KB·2011-04-16 09:38 UTC
    #!/usr/bin/python
    # Written by Stephane Graber <stgraber@stgraber.org>
    # Daniel Bartlett <dan@f-box.org>
    # Last modification : Mon Jan 28 22:33:23 CET 2008
    
    # This program is free soft
  • Orb

    2047097·text·11.3 KB·2011-04-16 09:36 UTC
    #!/usr/bin/python
    # Written by Stephane Graber <stgraber@stgraber.org>
    # Daniel Bartlett <dan@f-box.org>
    # Last modification : Mon Jan 28 22:33:23 CET 2008
    
    # This program is free software;
  • Something

    2047096·text·1.1 KB·2011-04-16 09:36 UTC
    public Point worldToScreen(int x, int y, int z) {
     Toolkit render = provider.getClient().getToolkit();
     float _z = (render.getViewport().getZOffset() + ((int) (render.getViewport()
  • Orb

    2047094·text·6 B·2011-04-16 09:20 UTC
    test3
  • Orb

    2047092·text·5 B·2011-04-16 09:19 UTC
    test
  • Orb

    2047090·text·5 B·2011-04-16 09:16 UTC
    test
  • Something

    2047089·text·52.6 KB·2011-04-16 09:09 UTC
    
        
  • Orb

    2047088·text·23 B·2011-04-16 09:08 UTC
    /usr/local/bin/pasteit
  • Anonymous

    2047087·php·1.5 KB·2011-04-16 09:01 UTC
    <?php
    
    class CurlRESTClient {
     var $curl;
     var $baseUrl;
     
     public function __construct($baseUrl = NULL) {
     if (isset($baseUrl))
     $this->baseUrl = $baseUrl;
     }
     
     private function initRe
  • orb

    2047083·text·5 B·2011-04-16 08:49 UTC
    test
  • orb

    2047082·text·5 B·2011-04-16 08:49 UTC
    test
  • Unnamed

    2047075·text·1.0 KB·2011-04-16 08:17 UTC
    <div style="overflow:scroll;width:100px;height:80px;">
    <table >
    <tr><td class="cell">elem0,0</div><td class="cell">elem0,1</div><td class="cell">elem0,2</div><td class="cell">elem0,3</div><td class=
  • Unnamed

    2047073·text·1.0 KB·2011-04-16 08:13 UTC
    <div style="overflow:scroll,width:100px,height:80px;">
    <table >
    <tr><td class="cell">elem0,0</div><td class="cell">elem0,1</div><td class="cell">elem0,2</div><td class="cell">elem0,3</div><td class=
  • 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
    }

older pastes →