New paste›Public feed

Public feed

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

    977984·text·1.7 KB·2008-04-09 06:13 UTC
    import java.util.Random;
    
    class selectionsort {
    
     private static final int MAX = 10;
    
     public static int array[] = new int[MAX];
    
     public static void main(String[] args){
  • Mine

    977982·ruby·1.4 KB·2008-04-09 06:10 UTC
    #!/usr/bin/ruby
    
    def sum_all_doubles(tens)
     sum=0
     1.upto(tens) do |i|
     (1..9).each do |n|
     sum+=(n.to_s*i).to_i
     end
     end
     sum
    end
    
    def run()
     sum
  • Mine

    977981·text·1.4 KB·2008-04-09 06:10 UTC
    #!/usr/bin/ruby
    
    def sum_all_doubles(tens)
     sum=0
     1.upto(tens) do |i|
     (1..9).each do |n|
     sum+=(n.to_s*i).to_i
     end
     end
     sum
    end
    
    def run()
     sum
  • Stuff

    977980·text·916 B·2008-04-09 06:08 UTC
    sudo /opt/local/bin/port install irssi
    ---> Configuring expat
    Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macp
  • root

    977976·text·74.4 KB·2008-04-09 06:05 UTC
    
        
  • Stuff

    977973·text·401 B·2008-04-09 06:03 UTC
    test -r /sw/bin/init.sh && . /sw/bin/init.sh
    #
    # Your previous .profile (if any) is saved as .profile.mpsaved
    # Setting the path for MacPorts.
    export PATH=/opt/local/bin:/opt/local/sbin:$PATH
  • Untitled

    977971·text·13.7 KB·2008-04-09 05:58 UTC
    2008-04-09 01:19:00 Local7.Notice 192.168.0.1 55504: Apr 9 01:18:56.619: %SYS-5-CONFIG_I: Configured from console by vty0 (192.168.0.107)
    2008-04-09 01:19:00 Local7.Notice 192.168.0.1 55505: Apr 9
  • Stuff

    977970·text·849 B·2008-04-09 05:58 UTC
    /*Erik Dunn
     Programming Languages 
     4-4-08
     */
    
    import java.util.Random;
    import java.util.*;
    
    public class selectionsort { 
     public static void main(String[] args){
     int i;
     /
  • Something

    977967·text·830 B·2008-04-09 05:57 UTC
    http://dev.mysql.com/doc/mysql/en/backing-up.html for more information.
    080409 13:45:45 InnoDB: Error: page 6464 log sequence number 0 195366686
    InnoDB: is in the future! Current system log sequence
  • Anonym

    977966·text·4.3 KB·2008-04-09 05:55 UTC
    09.04.2008 07:48:18 - SCHWERWIEGEND [jd.controlling.SingleDownloadController(handlePlugin)] -> GOGO JAC!
    09.04.2008 07:48:39 - WARNUNG [jd.controlling.SingleDownloadController(handlePlugin)] -> Threa
  • processos

    977964·text·11.5 KB·2008-04-09 05:52 UTC
    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1 0.0 0.0 1784 816 ? Ss Apr08 0:01 /sbin/init
    root 2 0.0 0.0 0 0 ? S<
  • rand

    977963·bash·547 B·2008-04-09 05:50 UTC
    #! /bin/sh
    
    lb=0
    ub=32768
    
    if [ $# -eq 1 ]; then
     ub="$1"
    elif [ $# -eq 2 ]; then
     lb="$1"
     ub="$2"
    elif [ $# -ne 0 ]; then
     echo "Usage: $0 [[lower_bound] upper
  • Untitled

    977962·text·1.7 KB·2008-04-09 05:49 UTC
    Example (xor decoding already applied), start of game server interaction.
    Legend:
     < - packet from client to server.
     > - packet from server to client.
    XXX: - packet size.
    
    Code:
    1) < 265: 0e
  • Someone

    977960·text·37.9 KB·2008-04-09 05:48 UTC
    
        
  • Unnamed

    977957·text·341 B·2008-04-09 05:45 UTC
    on3g@delorian:~$ despace
    S.ficheros Tamaño Usado Disp Uso% Montado en
    /dev/sda1 4.7G 4.4G 98M 98% /
    tmpfs 1010M 0 1010M 0% /lib/init/rw
    udev
  • Unnamed

    977956·text·2.6 KB·2008-04-09 05:45 UTC
    # lspci
    00:00.0 Host bridge: Broadcom GCNB-LE Host Bridge (rev 32)
    00:00.1 Host bridge: Broadcom GCNB-LE Host Bridge
    00:07.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
    00:08.
  • Unnamed

    977955·text·343 B·2008-04-09 05:43 UTC
    on3g@delorian:~$ despace
    S.ficheros Tamaño Usado Disp Uso% Montado en
    /dev/sda1 4.7G 4.4G 98M 98% /
    tmpfs 1010M 0 1010M 0% /lib/init/rw
    udev
  • joe

    977951·text·15.9 KB·2008-04-09 05:40 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Wed Apr 9 12:45:45 WIT 2008
    
    !!Linux Distribution
    !!------------------
    
    We
  • tobz

    977946·csharp·4.2 KB·2008-04-09 05:31 UTC
    /*************************************************************************
     *
     * file : RepeatingTimer.cs
     * copyright : (C) The WCell Team
     * email : info@wcell.org
     * last changed :
  • Stuff

    977936·text·333 B·2008-04-09 05:20 UTC
    void ScriptedAI::DoZoneInCombat(Unit* pUnit)
    {
     if (!pUnit)
     pUnit = m_creature;
    
     /*std::list<Player*>::iterator i;
    
     for (i = m_creature->GetMap()->GetPlayers().begin();i != m

older pastes →