New paste›Public feed

Public feed

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

    976575·text·1.1 KB·2008-04-08 08:40 UTC
    #!/bin/sh
    
    # (C) 2008 Michael Haas
    # Licensed under the GPL Version 3
    
    # warning: the file generated by this script cannot span multiple days.
    
    # how many shows to generate
    AMOUNT=100
    
    # dif
  • clueless

    976571·text·274 B·2008-04-08 08:28 UTC
    Traceback (most recent call last):
     File "scan-whitelist.py", line 42, in <module>
     msg=whitelist.get_message(key)
     File "/usr/lib/python2.5/mailbox.py", line 325, in get_message
     msg.set_subd
  • clueless

    976570·text·1.2 KB·2008-04-08 08:27 UTC
    #/usr/bin/env python2.5
    
    # David Bremner 2007/10/10
    # placed in the public domain
    
    from mailbox import Maildir
    
    from email import utils
    
    import os
    import time
    import datetime
    import logging
    import fc
  • Stuff

    976569·cpp·1.6 KB·2008-04-08 08:22 UTC
    class theBall
    {
     public:
     int x;
     int y;
     int xdirection;
     int ydirection;
     int speed;
     float xvelocity;
     float yvelocity;
    
    };
    
    class thePoints
    {
     public:
     int x[100];
     int y
  • Unnamed

    976568·text·288 B·2008-04-08 08:21 UTC
    // THIS SUCKS. STUPID IDIOTIC FUCKING DESIGN MANDATED BY THE TEACHING ASSISTANT.
    
    public interface TeamInterface {
     boolean isFieldPlayersNumberCorrect();
    }
    
    class Team implements TeamInterfa
  • Stuff

    976561·text·2.1 KB·2008-04-08 08:07 UTC
    MiniISA has four registers: $0, $1, $2 and $r, represented as 00, 01, 10 and 11
    respectively. $r stands for "result", and is as such the register into which
    the results of math operations are placed
  • Mine

    976560·text·34 B·2008-04-08 08:05 UTC
    54345
    42124
    31013 
    42124
    54345
  • Untitled

    976558·text·329 B·2008-04-08 08:03 UTC
    public void add(String item,int urgency) {
     
     ToDoListItem todo = new ToDoListItem(item,urgency);
    
     int insert=0;
     for (int i = 0; i > list.size(); i++){
     int index = list.i
  • yamama777

    976557·text·71.2 KB·2008-04-08 08:02 UTC
    
        
  • Untitled

    976556·text·315 B·2008-04-08 08:01 UTC
    public void add(String item,int urgency) {
     
     ToDoListItem todo = new ToDoListItem(item,urgency);
    
     for (int i = 0; i > list.size(); i++){
     int index = list.indexOf(todo)-1;
     if(list.get
  • Unnamed

    976555·text·1.1 KB·2008-04-08 08:00 UTC
    Euclidean Distance by rank:
    
    | 7 | 6 | 6 | 5 | 5 | 5 | 5 | 5 | 6 | 6 | 7 | 
    ----------------------------------------------
    | 6 | 6 | 5 | 4 | 4 | 4 | 4 | 4 | 5 | 6 | 6 | 
    -------------------------
  • Stuff

    976554·text·2.0 KB·2008-04-08 07:58 UTC
    MiniISA has four registers: $0, $1, $2 and $r, represented as 00, 01, 10 and 11
    respectively. The special register $01 is actually the 16-bit representation of
    registers $0 and $1, with $0 as the hi
  • Untitled

    976553·text·6.7 KB·2008-04-08 07:57 UTC
    #!/bin/sh
    #
    # /etc/init.d/tomcat5.5 -- startup script for the Tomcat 5 servlet engine
    #
    # Written by Miquel van Smoorenburg <miquels@cistron.nl>.
    # Modified for Debian GNU/Linux by Ian Murdock <i
  • Anonymous

    976549·text·1.8 KB·2008-04-08 07:48 UTC
    ;#include <Array.au3> 
    Dim $grid[11][11][2]
    For $y = -5 to 5 step 1
     For $x = -5 to 5 step 1
     $grid[$x + 5][$y + 5][0] = Sqrt((Abs($x)^2) + (Abs($y)^2))
     Next
    Next
    
    Dim $CurrentDistance[1]
  • Stuff

    976548·text·1.3 KB·2008-04-08 07:46 UTC
    MiniISA has four registers: $0, $1, $2 and $r, represented as 00, 01, 10 and 11
    respectively. The special register $01 is actually the 16-bit representation of
    registers $0 and $1, with $0 as the hi
  • Miscellany

    976546·text·4.5 KB·2008-04-08 07:42 UTC
    UPDATE `items` SET `entry` = '91001', `class` = '2', `subclass` = '15', `field4` = '-1', `name1` = 'Silent Tempest', `name2` = '', `name3` = '', `name4` = '', `displayid` = '47733', `quality` = '6', `
  • Stuff

    976544·text·1.1 KB·2008-04-08 07:41 UTC
    MiniISA has four registers: $0, $1, $2 and $r, represented as 00, 01, 10 and 11
    respectively.
    
    0000aaxx load $a load into register a from address in $0$1
    0001aaxx store $a
  • Mine

    976541·text·1.6 KB·2008-04-08 07:37 UTC
    try(); {
     $q= $conn->insert('
     into blog (
     timestamp,
     title,
     entry,
  • Something

    976540·csharp·15.5 KB·2008-04-08 07:37 UTC
    using System;
    using System.Collections;
    using System.Reflection;
    
    namespace NPhilosopher {
     public variant NAssembly {
     | Assembly {
     AssemblyName : string;
     Types : list [NAssembly];
  • Stuff

    976538·text·916 B·2008-04-08 07:35 UTC
    MiniISA has four registers: $1, $1, $2 and $r, represented as 00, 01, 10 and 11
    respectively.
    
    0000aaxx load $a load into register a from address in $0$1
    0001aaxx store $a

older pastes →