New paste›Public feed

Public feed

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

    971543·text·610 B·2008-04-04 20:41 UTC
    use strict;
    use Net::SNMP;
    use Socket;
    
    my $MIB1 = "1.3.6.1.2.1.2.2.1";
    my $HOST = "128.128.2.10";
    my $COMM = "public";
    my $SNMP = 'snmpv2c';
    
    my ($session, $error) = Net::SNMP->session(
  • Anonymous

    971542·text·12.3 KB·2008-04-04 20:41 UTC
    #
    # old_revision [fcd1afad50b8cd806b06a49e3c34db85544ea088]
    #
    # patch "packages/images/initramfs-bootmenu-image.bb"
    # from [f8400686cddb5a75ee1d9aa3f473e7514f446f1f]
    # to [202876908d9de00196a
  • Anonymous

    971541·text·613 B·2008-04-04 20:41 UTC
    <?php
    
    $data = '
     <span class="type">string</span> <span class="methodname"><b><b>fgets</b></b></span>
     ( <span class="methodparam"><span class="type">resource</span> <tt class="parameter">$h
  • Something

    971539·text·404 B·2008-04-04 20:40 UTC
    group =$$('input[type!="image"]');
    console.log(group);
    
    group.each(function(e){ 
    console.log(e);
    e.setStyle({border: '1px solid #F00'}); });
    
    ----
    console
    
    >>> group =$$('input[type!="im
  • Mine

    971538·text·5.2 KB·2008-04-04 20:39 UTC
    
        
  • Miscellany

    971537·text·9.7 KB·2008-04-04 20:39 UTC
    Viljatilanne ww-kylässä (0|-77) perjantaina 23:39
    
    Lähetä viljaa 5k-20k erissä.
    
    Siilo TYHJÄNÄ ennen 23:44 yhteensä 1 minuuttia, sotilaita kuolee n. 150 yksikköä
    Siilo TYHJÄNÄ ennen 23:45 yhteens
  • Untitled

    971534·php·1022 B·2008-04-04 20:37 UTC
    function _phptemplate_variables($hook, $vars) {
     switch ($hook) {
     case 'page':
     // unsets css for all modules and cores
     $vars['css'] = _HBR_theme_unset_css($vars['css']);
     // adds in custom
  • Something

    971533·text·503 B·2008-04-04 20:37 UTC
    <script type='text/javascript'>
     Element.hide('HeadImg1');
     Element.hide('HeadImg2');
     Element.hide('HeadImg3');
    
     new Effect.Appear('HeadImg1', {duration:2});
     new Effect.Appear('HeadImg2', {du
  • Someone

    971530·text·462 B·2008-04-04 20:33 UTC
    (Reading database ... 151118 files and directories currently installed.)
    Unpacking transmission-gtk (from transmission-gtk_1.10-1~getdeb1_i386.deb) ...
    dpkg: error processing transmission-gtk_1.10-1
  • bonaparte

    971529·sql·757 B·2008-04-04 20:33 UTC
    select s.sid, s.name, r.rid, r.rdate, c.name, s.status from student as s, registration as r, student_course_interests as sc, course as c where s.sid=r.sid and s.sid=sc.sid and c.cid=sc.cid;
    
    //Maybe
  • Jemand

    971527·diff·2.7 KB·2008-04-04 20:26 UTC
    Index: src/game/GuildHandler.cpp
    ===================================================================
    --- src/game/GuildHandler.cpp (revision 5545)
    +++ src/game/GuildHandler.cpp (working copy)
    @@ -
  • Stuff

    971525·text·3.1 KB·2008-04-04 20:24 UTC
    # Clean old iptables 
    iptables -F 
    iptables -X 
    iptables -Z
    
    # Default forward policy to DROP
    
    iptables -P OUTPUT ACCEPT
    iptables -P INPUT DROP
    iptables -P FORWARD DROP
    
    # Loopback -
  • russian

    971523·text·14 B·2008-04-04 20:20 UTC
    Русский
  • Someone

    971522·text·5.6 KB·2008-04-04 20:18 UTC
    ▐ ▄ ▄▌ ▄■ ■▄ ▀▐▓▄ ▄▌
     ███ ▄ █▌ ▐█ ▄ ███
     ▄█▐ ▀▓▓██▄ ▄
  • Mine

    971521·text·238 B·2008-04-04 20:18 UTC
    var group = $$('input[type!="image"]'); 
    
    for(i=0; i < group.length; i++) {
     group[i].style.border = '1px solid #000000';
    }
    
    //but I can't use 
    
    group.each(function(s){s.style.border='1px soli
  • Stuff

    971520·text·13 B·2008-04-04 20:17 UTC
    Ждите...
  • SimCity Societies (RIP/2007)

    971516·text·12.0 KB·2008-04-04 20:11 UTC
    _________ __________ ___________ 
     [RRRRRRRRR] [FFFFFFFFFF] [GGGGGGGGGGG]
     |RRRRRRRRR| |FFFFFFFFFF] |GGGGGGGGGGG]
     |RRR RRR| |FFFF |GGG|--
  • Unbenannt

    971515·text·2.9 KB·2008-04-04 20:10 UTC
    ########## MISCSERV ##########
    
    set cmd_cmdchar "!"
    
    bind pub m|m [string trim $cmd_cmdchar]reload pub_do_reload
    bind pub m|m [string trim $cmd_cmdchar]restart pub:restart
    bind pub m|m [string
  • Stuff

    971514·text·4.4 KB·2008-04-04 20:10 UTC
    An Inspector Calls Essay - Sam Ducker
    
    An Inspector Calls is a play set in 1912, several years before the start of World War 1. At this time people were optimistic of a new world, thinking war is n
  • test_shmseg_mmap

    971513·c·6.4 KB·2008-04-04 20:09 UTC
    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>
    #include <string.h>
    #include <sys/types.h>
    #include <sys/stat.h>
    #include <sys/ipc.h>
    #include <sys/shm.h>
    #include <sys/mman.h>
    #in

older pastes →