New paste›Public feed

Public feed

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

    979587·text·450 B·2008-04-10 13:34 UTC
    #include <stdio.h>
    
    #define MAX 10
    
    int main()
    {
    
     int i,s,j,tmp,n[MAX]={4,2,5,1,3,6,9,8,7};
    
     for (i=0; i<MAX-1; i++) {
     for(s=0;s<MAX;++s) printf("%d ",n[s]);printf("\n");
     for (j=0;
  • Loggin class ideas

    979586·php·2.0 KB·2008-04-10 13:32 UTC
    Log class
     
    A new way of doing Logging and debugging.
     +----------+
     | Keywords |
     +----------+
    * Plugin based
    * Different output formats
     - HTML toolbar
     - javascript DOM
     - File
    * S
  • Vermischtes

    979583·text·3.4 KB·2008-04-10 13:31 UTC
    Graphics3D 800,600,32,2
    SetBuffer BackBuffer()
    ;########################################
    Include "sprite candy.bb"
    Include "blitzsys.bb"
    ;########################################
    Global Camera =
  • Untitled

    979582·text·1.1 KB·2008-04-10 13:29 UTC
    Ign cdrom://[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 kde-CD Binary-1 20080217-12:08] etch Release.gpg
    Ign cdrom://[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 kde-CD Binary-1 20080217-12:08
  • Untitled

    979580·text·56.3 KB·2008-04-10 13:28 UTC
    
        
  • Miscellany

    979578·perl·825 B·2008-04-10 13:26 UTC
    #!/usr/bin/perl
    
    use Net::SNMP;
    use strict;
    use warnings;
    
    my $community = "eX0gyN37";
    my $inputfilename = "/home/cjones/snmpscripts/hostipaddresses.txt";
    my $HOSTNAME_OID =
  • Untitled

    979575·cpp·708 B·2008-04-10 13:25 UTC
    // -*- mode: c++ -*-
    // $Id: ackermann.g++,v 1.4 2001/07/15 03:37:00 doug Exp $
    // http://www.bagley.org/~doug/shootout/
    
    //** This copy courtesy of http://www.kano.net/javabench/
    //** inline ac
  • Untitled

    979574·cpp·377 B·2008-04-10 13:25 UTC
    int main(int argc, char *argv[])
    {
    const int n = 8;
    int tab[n]={2,6,3,6,8,3,2,1};
    int* wsk = tab;
     for(int i=0; i<n; i++)
     for(int j=n-1; j>i; j--)
     if(*(wsk+j) < *(wsk+j-1
  • Unnamed

    979572·cpp·1.3 KB·2008-04-10 13:24 UTC
    // sort in Java
    // library (Collections) version written Jan 00 by Ulrich Stern
    
    //** This copy courtesy of http://verify.stanford.edu/uli/java_cpp.html
    //** Added Timer() code
    
    import java.uti
  • Something

    979571·text·3.3 KB·2008-04-10 13:24 UTC
    >[dobek]: info
    >[dobek]: exp
    
    Name: Sniper Krugler Giantfall, Smuggler Race: Elf Guild: Thief
    Gender: Male Age: 74 Circle: 97
    You were born on the 1st day of the 3rd month of Lirisa the Arche
  • Mine

    979570·perl·810 B·2008-04-10 13:24 UTC
    #!/usr/bin/perl
    
    use Net::SNMP;
    use strict;
    use warnings;
    
    my $community = "eX0gyN37";
    my $inputfilename = "/home/cjones/snmpscripts/hostipaddresses.txt";
    my $HOSTNAME_OID =
  • Mine

    979569·text·812 B·2008-04-10 13:24 UTC
    #!/usr/bin/perl
    
    use Net::SNMP;
    use strict;
    use warnings;
    
    my $community = "eX0gyN37";
    my $inputfilename = "/home/cjones/snmpscripts/hostipaddresses.txt";
    my $HOSTNAME_OID =
  • Stuff

    979567·text·2.1 KB·2008-04-10 13:22 UTC
    // writebyte (PDEAD + (*playerid - 1) * PSLOTSIZE, 0);
    // Number of polygons in the map.
    int polynum = read4bytes(NUMBERPOLYS);
    
    // Coords for the polygon, x1,y1,x2,y2,x3,y3.
    float px1[10000];
    f
  • Untitled

    979566·text·957 B·2008-04-10 13:20 UTC
    void Socket::WantToDisconnect()
    {
     sLog.outError(" Socket::WantToDisconnect() entered");
     if(!m_bConnected || m_bWantToDisconnect)
     {
     sLog.outError(" already \"in waiting\" or \"disconnected\
  • Stuff

    979565·lua·680 B·2008-04-10 13:20 UTC
    for k, v in pairs(player.GetAll()) do
     v:ChatPrint("Rendezvous is starting...")
    end
    require("socket")
    local conn = socket.connect("localhost", 1702)
    conn:settimeout(0)
    conn:setoption("keepalive"
  • illegalc0de

    979563·text·483 B·2008-04-10 13:19 UTC
    public void showAboutBox() {
     if (aboutBox == null) {
     JFrame mainFrame = Secure0ChatApp.getApplication().getMainFrame();
     aboutBox = new Secure0ChatAboutBox(mainFrame);
     a
  • sbouazis

    979562·text·2.5 KB·2008-04-10 13:18 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Thu Apr 10 15:17:56 CEST 2008
    
    !!Linux Distribution
    !!------------------
    
    U
  • Miscellany

    979557·text·689 B·2008-04-10 13:14 UTC
    #include <iostream>
    #include <cmath>
    
    using namespace std;
    
    int main(int argc, char *argv[])
    {
     const int Limit = 1000;
     const int Multiplier = 2;
     int In1, Tracker = 0;
  • Stuff

    979556·text·577 B·2008-04-10 13:13 UTC
    #include <iostream>
    
    using namespace std;
    
    int main(int argc, char *argv[])
    {
     int i; // declare counter variable, i, used in the for loop
     int total = 0; // declare & initialize vari
  • Stuff

    979555·text·313 B·2008-04-10 13:12 UTC
    #include <iostream>
    
    using namespace std;
    
    int main(int argc, char *argv[])
    {
    
     for (char bet = 'A'; bet <= 'Z'; bet++)
     { cout << bet << endl; }
     cout << "\n\n\n";
     for (ch

older pastes →