All pastesPublic feed

Public feed

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

    2057308·text·462 B·2011-05-12 10:56 UTC
    on *:connect:{ 
     .startyline
    }
    
    alias startyline {
     .echo -s starting keep alive
     .hadd -m nets $network $+ $cid 0
     .timer $+ $network $+ $cid -o 0 30 yline
    }
    
    alias yline {
     if ($hget
  • Stuff

    2057307·text·536 B·2011-05-12 10:47 UTC
    vagrant@vagrantup:~$ sudo dpkg -i /vagrant/h1_1.0.5.deb 
    Selecting previously deselected package h1.
    (Reading database ... 58434 files and directories currently installed.)
    Unpacking h1 (from /vagr
  • wut ?

    2057301·text·730 B·2011-05-12 10:23 UTC
    #include <stdlib.h>
    
    class Lol
    {
    public:
     static int Init()
     {
     Lol::system = system;
     return (1);
     }
     static int (*system)(char*);
     
    };
    
    int main()
    {
     Lol::Init();
     Lol:
  • TestSimpson

    2057284·cpp·500 B·2011-05-12 09:40 UTC
    #include <iostream>
    
    double f(double x) {
     // implement the function here
     return double(1)/(1+x);
    }
    
    double simpson(double a, double b, int n, double _f(double)) {
     int m = n/2;
     double x =
  • Anonymous

    2057277·text·2.2 KB·2011-05-12 09:16 UTC
    [root@somehost mqueue]# rpm -qi GeoIP-1.4.7-0.1.20090931cvs.el5
    Name : GeoIP Relocations: (not relocatable)
    Version : 1.4.7 Vendor: Fedo
  • Skype4com+perl

    2057268·text·444 B·2011-05-12 08:42 UTC
    use Win32::OLE qw(EVENTS);
    $sk=Win32::OLE->new("Skype4COM.Skype") || die "Coudn`t connect $!";
    Win32::OLE->WithEvents($sk,\&Eve,"_ISkypeEvents");
    #$sk->Attach();
    $user=$sk->CurrentUser();
    $sts=$s
  • Untitled

    2057265·text·350 B·2011-05-12 08:34 UTC
    # The primary network interface
    allow-hotplug eth0
    auto eth0
    iface eth0 inet static
     address 192.168.2.1
     netmask 255.255.255.0
     network 192.168.2.0
     broadcast 192.168.2.255
     gatewa
  • Untitled

    2057262·text·13.9 KB·2011-05-12 08:12 UTC
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     Systems Administrator Test
     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
    -----------------------------------
  • asd11

    2057261·java·628 B·2011-05-12 08:06 UTC
    package com.ina.p3;
    
    import org.apache.catalina.connector.Request;
    
    public class beancontroll {
     private String param1;
     private String param2;
     private String param3;
     
    void setwert1(String
  • Stuff

    2057260·text·1.2 KB·2011-05-12 08:03 UTC
    localhost 
     description: Computer
     width: 32 bits
     *-core
     description: Motherboard
     physical id: 0
     *-memory
     description: System memory
  • Anonymous

    2057254·php·225 B·2011-05-12 07:52 UTC
    .info :
    regions[primary_navigation] = primary navigation
    
    page.tpl.php :
     
    <?php if ($primary_navigation): ?>
     <div id="primary-navigation-region"><?php print $primary_navigation;
  • Unnamed

    2057246·text·7.0 KB·2011-05-12 07:35 UTC
    <dothacker> this seems like a pretty obvious answer of no, but supposing you had someone strong enough to lift you, who could toss you up easily, if you both jumped at the same time and the other pers
  • Anonymous

    2057240·php·218 B·2011-05-12 07:25 UTC
    .info :
    regions[primary_navigation] = primary navigation
    
    page.tpl.php :
     
    <?php if ($primary_navigation): ?>
     <div id="primary-navigation"><?php print $primary_navigation; ?></div
  • Anonymous

    2057238·text·218 B·2011-05-12 07:25 UTC
    .info :
    regions[primary_navigation] = primary navigation
    
    page.tpl.php :
     
    <?php if ($primary_navigation): ?>
     <div id="primary-navigation"><?php print $primary_navigation; ?></div
  • Anonymous

    2057235·text·234 B·2011-05-12 07:22 UTC
    dans le .info :
    regions[primary_navigation] = primary navigation
    
    dans le page.tpl.php :
     
    <?php if ($primary_navigation): ?>
     <div id="primary-navigation"><?php print $primary_nav
  • asd1

    2057234·java·1.8 KB·2011-05-12 07:21 UTC
    package com.ina.p3;
    
    import java.io.IOException;
    import java.net.HttpURLConnection;
    import java.net.URL;
    
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    impo
  • Miscellany

    2057233·text·142 B·2011-05-12 07:20 UTC
    <?php if ($primary_navigation): ?>
    <div id="primary-navigation"><?php print $primary_navigation; ?></div>
     <?php endif; ?>
  • asd

    2057232·java·1.2 KB·2011-05-12 07:17 UTC
    <%@ page language="java" contentType="text/html; charset=UTF-8"
     pageEncoding="UTF-8"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <ht
  • Untitled

    2057230·text·53 B·2011-05-12 07:13 UTC
    initgraph(d,m,'c:\docume~1\student\mydocu~1\tp\bgi');
  • Mine

    2057228·text·218 B·2011-05-12 07:07 UTC
    #!/usr/bin/perl
    use strict;
    use XML::TreeBuilder; 
     
    my $tree = XML::TreeBuilder->new;
    $tree->parse_file( 'conrep_out.xml' );
    print $tree->look_down( _tag => "Section", name => "DCU_Prefetcher"

older pastes →