All pastesPublic feed

Public feed

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

    2068816·text·11.0 KB·2011-05-25 06:38 UTC
    <?php
    require 'settings.php';
    /* Update and get data from vnstat
     * This assumes that vnstat is executable on the server
     * and that a database exists. */
    $fd = popen("vnstat --dumpdb -i $interfa
  • Mine

    2068809·text·897 B·2011-05-25 06:03 UTC
    <?php
    function video($videoid,$wat)
    {
     global $wpdb;
     $videoinfo = $wpdb->get_row("SELECT * FROM `flv_player_videos_list` WHERE `id` = '$videoid'");
     return $videoinfo->$wat;
    }
    function videoli
  • Unnamed

    2068808·text·3.2 KB·2011-05-25 06:02 UTC
    <?php
    /*
    Template Name: Videos
    */
    $videovar = $_GET['id'];
    $hd = $_GET['hd'];
    ?>
    
    <?php get_header(); ?>
    
     <div id="contentcontainer">
     <div id="content">
     <h2><?php the_title(); ?></h2>
  • Mine

    2068806·text·3.5 KB·2011-05-25 05:56 UTC
    $ ./manage.py migrate
    Running migrations for indexer:
     - Migrating forwards to 0001_initial.
     > indexer:0001_initial
     - Loading initial data for indexer.
    No fixtures found.
    Running migrations fo
  • Unnamed

    2068804·text·369 B·2011-05-25 05:52 UTC
    #include <OGRE/Ogre.h> 
    #include <OIS/OIS.h>
    #include <boost/asio.hpp> 
    #include <boost/thread.hpp> 
    #include <boost/lexical_cast.hpp> 
    #include <boost/timer.hpp> 
    #include <iostream> 
    #include
  • Segatus

    2068803·text·45.7 KB·2011-05-25 05:48 UTC
    
        
  • Anonymous

    2068801·text·1.7 KB·2011-05-25 05:45 UTC
    #MR1
    ip multicast-routing distributed
    port-channel load-balance src-ip
    !
    vlan 4
     name приходит от прова мультикаст
    !
    vlan 11
     name TV с MR1 на MR2
    !
    interface FastEthernet0/7
     switchport tr
  • Mine

    2068796·text·698 B·2011-05-25 05:27 UTC
    [root@desktop rpm-gpg]# xrandr 
    Screen 0: minimum 320 x 200, current 2304 x 1109, maximum 8192 x 8192
    DVI-I-1 connected 1024x768+1280+341 (normal left inverted right x axis y axis) 30mm x 22mm
     1
  • Mine

    2068785·text·501 B·2011-05-25 05:07 UTC
    E: aoemobs
    V: AoeRange
    L Assign AoERange = 200
    L MobFunctor aoemobs (alive and attackable and distance < AoERange) 
    ?autoshock T(500) (skillCoolTime($ShockStomp) == 0) and (pmp(me) > 20) and (mobs
  • Something

    2068776·text·2.7 KB·2011-05-25 04:30 UTC
    Dear Sirs,
    I have used a HTC phone in some form since around the turn of the century. I first modded a phone when i had the Dopod D810- WM phone. Then, as i loved the quality of phones HTC produced
  • Miscellany

    2068772·text·1.9 KB·2011-05-25 04:13 UTC
    From e686946ad01c5ef9fcaf46e7b06f85fd5c742175 Mon Sep 17 00:00:00 2001
    From: Tom Stellard <tstellar@gmail.com>
    Date: Tue, 24 May 2011 21:11:03 -0700
    Subject: [PATCH] r300g: Fix non-dri builds
    
    Th
  • Untitled

    2068769·text·7.4 KB·2011-05-25 04:07 UTC
    Terms and Conditions
    
    General/Overview
    
    The following Terms of Service shall apply exclusively to the business relationship between Bid2Game, its internet platform www.bid2game.com, and our users.
  • Stuff

    2068765·text·351 B·2011-05-25 03:57 UTC
    let rec get_smallest li curr_idx small_idx = 
     let end_idx = (List.length li) - 1 in 
    
     match curr_idx with 
     end_idx -> small_idx
     | _ -> if li.[curr_idx] < li.[small_idx]
  • Something

    2068764·text·6.1 KB·2011-05-25 03:50 UTC
    Terms and Conditions
    
    General/Overview
    
    The following Terms of Service shall apply exclusively to the business relationship between Bid2Game, its internet platform www.bid2game.com, and our users.
  • Someone

    2068762·text·775 B·2011-05-25 03:44 UTC
    gpart create -s GPT ad0
    gpart add -t freebsd-boot -s 128 ad0
    gpart add -t freebsd-swap -s 2G ad0
    gpart add -t freebsd-ufs ad0
    gpart bootcode -b /dist/boot/pmbr -p /dist/boot/gptboot -i 1 ad0
    newf
  • Mine

    2068759·python·289 B·2011-05-25 03:31 UTC
    winner = cats[int(response_header[argmax(votes[cat][obj][rot]["array"].sum(0))])]
    
     if votes[cat][obj]["winners"].has_key(winner):
     votes[cat][obj]["winners"][
  • Drone4four

    2068748·text·1.4 KB·2011-05-25 02:37 UTC
    bash-4.1# fdisk -l
    
    Disk /dev/sda: 320.1 GB, 320071851520 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625140335 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/p
  • Someone

    2068745·text·393 B·2011-05-25 02:29 UTC
    <HEAD>
    <SCRIPT language="JavaScript">
    <!--
    var browserName=navigator.appName; 
    if (browserName=="Netscape")
    { 
    window.location="http://www.someplace.com/ns.html";
    }
    else 
    { 
     if (browserName
  • jamesjedimaster

    2068744·text·814 B·2011-05-25 02:24 UTC
    jcr@tuuktux:~$ cat progs/rot13.c 
    #include <stdio.h>
    #include <string.h>
    
    int bintodec(int binnum)
    {
     int total = 0;
     int power = 1;
    
     while(binnum > 0)
     {
     total += binnum % 10 * power;
  • make

    2068734·text·1.5 KB·2011-05-25 01:44 UTC
    make
    make all-recursive
    make[1]: Entering directory `/home/changedsoul/install_apps/Compile_Folder/magicolor2530DL-2.1.0'
    Making all in src
    make[2]: Entering directory `/home/changedsoul/install_

older pastes →