All pastes›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • 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
    }
  • 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

older pastes →