New paste›Public feed

Public feed

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

    930776·text·9.4 KB·2008-03-06 20:42 UTC
    I ran smartctl utility on both of my HDDs:
    # smartctl -a /dev/hdb
    smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
    Home page is http://smartmontools.sourceforge.net/
    
    ==
  • Someone

    930775·text·4.8 KB·2008-03-06 20:42 UTC
    import java.util.ArrayList;
    
    public class PlayerIMPL implements Player, Runnable
    { 
     //fields
     private ArrayList <PlayerIMPL> players; //the array of players
     private int chips = 0;
  • Stuff

    930774·text·769 B·2008-03-06 20:41 UTC
    if ($funcarg =~ /^distribute\s+(.*)\s+(.*)\s+(.*)\s+(.*)\s+(.*)/) {
     my $charset = $1;
     my $mincount = $2;
     my $maxcount = $3;
     my $hash = $4;
     my $hashtype = $5;
     sendraw($IRC_cur_socket,
  • Miscellany

    930773·text·516 B·2008-03-06 20:41 UTC
    #include <png.h>
    #include <allegro.h>
    #include <loadpng.h>
    #include <cstdio>
    
    int main(void)
    {
     allegro_init();
     install_keyboard();
    
     set_color_depth(16);
     if (set_gfx_mode(GFX_AUTODETECT_
  • Mine

    930771·text·746 B·2008-03-06 20:40 UTC
    <link rel="stylesheet" type="text/css" href="style.css" />
    <script type="text/javascript" src="http://localhost/ajaxtest/xmlhttp.js"></script>
    <script type="text/javascript" src="http://localhost/aj
  • Miscellany

    930769·text·1.0 KB·2008-03-06 20:39 UTC
    #include <fcntl.h>
    
    #include <unistd.h>
    
    #include <stdio.h>
    
    #include <sys/types.h>
    
    #include <sys/stat.h>
    
    #include <stdlib.h>
    
    #define BUFSIZE 4096
    
    int main(int argc, char **a
  • pthread __thread test

    930763·c·2.2 KB·2008-03-06 20:33 UTC
    #include <check.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <pthread.h>
    
    #define threadtest(attribute, varname, procname) \
     attribute int varname; \
     void *procname(void *arg) { \
  • Unnamed

    930762·text·501 B·2008-03-06 20:32 UTC
    root@OpenWrt:~# wget http://192.168.1.5:8001/uvc-streamer_1-1_mipsel.ipk
    Connecting to 192.168.1.5:8001 (192.168.1.5:8001)
    uvc-streamer_1-1_mip 93% |************************************************
  • Unnamed

    930761·text·1.0 KB·2008-03-06 20:32 UTC
    Question 1.) 
     a.) Q: R6, first part. 
     A: Yes.
    
     b.) Q: R7, first part.
     A: Yes.
    
     c.) Q: R9.
     A: 1.c.1 - Sequence numbers are required for a receiver to 
     find ou
  • Something

    930760·text·1.3 KB·2008-03-06 20:32 UTC
    I just want a way to have parameterizable re-usable blocks of html. However, these "blocks" must be python object (I want to store them in the ZODB, so it must not be macros, which are ZPT-only dialec
  • Mine

    930758·apache·314 B·2008-03-06 20:31 UTC
    ScriptAlias /cgi-bin/ "/usr/share/marcel/cgi-bin/"
    <Location /admin>
     RewriteEngine on
     RewriteRule /admin/(.*) /cgi-bin/marcel/$1 [L,R]
    </Location>
    
    <Directory "/usr/share/ma
  • Someone

    930757·text·691 B·2008-03-06 20:31 UTC
    root@OpenWrt:~# ls /
    * µ°{ home rom
    - jffs root
    bin
  • Unnamed

    930755·html·2.0 KB·2008-03-06 20:30 UTC
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html><head>
    
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title
  • Stuff

    930751·text·139 B·2008-03-06 20:28 UTC
    http://www.linuxtopia.org/online_books/centos5/centos5_administration_guide/centos5_s1-ssh-beyondshell.html#s3-openssh-ssh-agent-with-gnome
  • Vermischtes

    930750·text·531 B·2008-03-06 20:27 UTC
    ath0 IEEE 802.11a ESSID:"linksys_SES_52573" Nickname:""
     Mode:Managed Frequency:5.54 GHz Access Point: Not-Associated 
     Bit Rate:1 Mb/s Tx-Power:0 dBm Sensitivity=1/
  • Something

    930748·text·1.5 KB·2008-03-06 20:26 UTC
    'postVarSets' => array(
     '_DEFAULT' => array(
     // news archive parameters
     array(
     array( 
     'GETvar
  • Stuff

    930747·javascript·605 B·2008-03-06 20:25 UTC
    function deleteReport ( id, order, month, year, teacher, lang ) {
     if (lang==0) {
     inputBox = confirm("האם את/ה בטוח/ה שברצונך למחוק את הדו\"ח הנ\"ל?");
     } else {
     inpu
  • sudoku

    930745·pli·1.9 KB·2008-03-06 20:25 UTC
    :- use_module(library('clp/bounds')).
    :- use_module(library('lists')).
    
    % Our general constraint is that each set of 9 (row, column or 3x3 grid) is made
    % up from the numbers 1-9, and each number
  • Mine

    930743·text·704 B·2008-03-06 20:24 UTC
    cat /proc/interrupts 
     CPU0 CPU1 
     0: 656631 29147 XT-PIC timer
     1: 4 4 XT-PIC i8042
     2: 0 0 XT-P
  • sudoku

    930742·text·1.9 KB·2008-03-06 20:24 UTC
    :- use_module(library('clp/bounds')).
    :- use_module(library('lists')).
    
    % Our general constraint is that each set of 9 (row, column or 3x3 grid) is made
    % up from the numbers 1-9, and each number

older pastes →