New paste›Public feed

Public feed

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

    930622·text·759 B·2008-03-06 19:03 UTC
    template < class T >
    class Property
    { 
     public:
     virtual void set(T const& x) { t = x; }
     virtual T get() { return t; }
     public:
     void operator = (T const& x) { set
  • Anonymous

    930621·text·3.6 KB·2008-03-06 19:03 UTC
    [Wed Mar 05 10:52:06 2008] [notice] caught SIGTERM, shutting down
    [Wed Mar 05 10:52:07 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
    [Wed Mar 05 10:52:07 2008] [warn] m
  • Something

    930620·ruby·274 B·2008-03-06 19:02 UTC
    def instanciator(class_or_string)
     if class_or_string.instance_of?(String)
     return Kernel.get_const(class_or_string).new
     else
     return class_or_string.new
    end
    
    klass = "MyClass"
    o = in
  • Mine

    930619·text·3.7 KB·2008-03-06 19:02 UTC
    [ext-group]
    include => ext-group-custom
    exten => 299,1,Macro(user-callerid,)
    exten => 299,n,GotoIf($["${CALLERID(name):0:${LEN(${RGPREFIX})}}" != "${RGPREFIX}"]?NEWPREFIX)
    exten => 299,n,Set(CALLE
  • Untitled

    930618·text·29.5 KB·2008-03-06 19:00 UTC
    UPDATE `creature_template` SET `lootid` = '18371' WHERE `entry` = '18371';
    DELETE FROM `creature_loot_template` WHERE `entry` = '18371';
    INSERT INTO `creature_loot_template` (`entry`, `item`, `chanc
  • Vermischtes

    930615·text·69 B·2008-03-06 18:59 UTC
    #!/bin/bash
    
    for i
    do 
     ls -sf $1 /usr/bin/$1
    done
  • Mine

    930614·cpp·1.5 KB·2008-03-06 18:58 UTC
    #include <LCD4Bit.h>
    #include <stdio.h> 
    
    // Needed to set the AREF
    #ifndef cbi
    #define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
    #endif
    #ifndef sbi
    #define sbi(sfr, bit) (_SFR_BYTE(sfr) |=
  • Someone

    930610·text·3.4 KB·2008-03-06 18:54 UTC
    # /etc/X11/xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit t
  • Someone

    930608·javascript·917 B·2008-03-06 18:53 UTC
    loader: function(el){
     var obj = wm.deserializeUrl(el.href);
     var pgString = '?page=' + obj['page'];
     var drawerwidth = $('#drawer').css('width');
     var labelwidth = $('#drawlabel').css('wi
  • Anonymous

    930607·text·2.8 KB·2008-03-06 18:53 UTC
    import java.applet.*; 
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.Action
  • Mine

    930606·cpp·1.5 KB·2008-03-06 18:52 UTC
    #include <LCD4Bit.h>
    #include <stdio.h> 
    
    // Needed to set the AREF
    #ifndef cbi
    #define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
    #endif
    #ifndef sbi
    #define sbi(sfr, bit) (_SFR_BYTE(sfr) |=
  • Someone

    930604·text·3.4 KB·2008-03-06 18:51 UTC
    Ders (4) Eğitim konusu ; Chanserv Akick
    
     Chanserv Akick komutu hakkında detaylı bilgi ;"
     önbilgi : Akick belirtilen mask'ın kanala girişini önlemek için kullanılır. Aşşağıda bu komut ile neler y
  • Untitled

    930602·text·614 B·2008-03-06 18:50 UTC
    ;; QUESTION SECTION:
    ;mechbunny.com. IN MX
    
    ;; ANSWER SECTION:
    mechbunny.com. 43200 IN MX 10 ASPMX.L.GOOGLE.com.
    mechbunny.com. 43200 IN
  • yekta

    930599·text·29.2 KB·2008-03-06 18:45 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Thu Mar 6 20:45:31 EET 2008
    
    !!Linux Distribution
    !!------------------
    
    Ub
  • Mine

    930596·text·10.8 KB·2008-03-06 18:42 UTC
    [ext-local]
    include => ext-local-custom
    exten => 11,1,Macro(exten-vm,11,11)
    exten => 11,n,Hangup
    exten => 11,hint,SIP/11
    exten => ${VM_PREFIX}11,1,Macro(vm,11,DIRECTDIAL)
    exten => ${VM_PREFIX}11
  • Anonymous

    930594·text·5.2 KB·2008-03-06 18:38 UTC
    debian4:/opt/hadoop-0.15.3/logs# cat /etc/hosts
    127.0.0.1 localhost debian4.khaz debian4
    
    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
  • Untitled

    930593·text·40.8 KB·2008-03-06 18:36 UTC
    
        
  • Stuff

    930591·text·2.5 KB·2008-03-06 18:35 UTC
    -= Registered Asterisk Dial Plan Hints =-
     55555555555 : SIP/55555555555 State:Unavailable Watchers 0
     42 : SIP/42 State:Unavailable Wat
  • Unnamed

    930590·text·578 B·2008-03-06 18:33 UTC
    No, you haven’t won a “free” iPod. However, it has come to my attention that you have gotten the highest mark (96) in the computing module 1 examination. I got one mark less than you – 95. Again, cong
  • Unnamed

    930588·text·8.0 KB·2008-03-06 18:32 UTC
    #include <sys/wait.h>
    #include <sys/fcntl.h>
    #include <sys/types.h>
    #include <sys/param.h>
    
    #include <err.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <unistd.h>
    #i

older pastes →