New paste›Public feed

Public feed

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

    923841·text·445 B·2008-02-29 21:59 UTC
    $page .= "</th><th><a id='ihint$i' onmouseover='tooltip_show(\"";
     /*
     Se debe hacer una lista de las tropas
     */
     $fleet = explode(";",$f['fleet_array']);
     $e=0;
     foreach($fleet as $a
  • Stuff

    923839·text·404 B·2008-02-29 21:58 UTC
    rrdtool graph test.png -F -E --height=100 --width=500 --vertical-label=pages \
    "DEF:MSSQL_Free_Pages-raw=MSSQL Free Pages_MSSQL Free Pages.rrd:ds0:AVERAGE" \
    CDEF:MSSQL_Free_Pages=MSSQL_Free_Pages-r
  • Something

    923838·text·6 B·2008-02-29 21:58 UTC
    asdasf
  • Stuff

    923833·text·274 B·2008-02-29 21:56 UTC
    apps/aco/aco_1.00_i686-pc-linux-gnu/
    apps/aco/aco_1.00_i686-pc-linux-gnu/aco_1.00_i686-pc-linux-gnu <- this is the wrapper
    apps/aco/aco_1.00_i686-pc-linux-gnu/worker_1.00_i686-pc-linux-gnu (this fil
  • My grub config

    923832·text·927 B·2008-02-29 21:55 UTC
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You have a /boot partition. This means that
    # all kernel and in
  • Stuff

    923831·php·821 B·2008-02-29 21:55 UTC
    function DBS($table, $select, $where="") {
     global $db;
     return mysql_query("SELECT $select FROM $table $where", $db) or die(mysql_error());
     }
     
     function DBU($table, $array, $where="") {
  • Stuff

    923830·text·821 B·2008-02-29 21:55 UTC
    function DBS($table, $select, $where="") {
     global $db;
     return mysql_query("SELECT $select FROM $table $where", $db) or die(mysql_error());
     }
     
     function DBU($table, $array, $where="") {
  • Untitled

    923829·php·1.2 KB·2008-02-29 21:53 UTC
    <?php
    public class NewsPost 
    {
     public $dbLink;
     public $postID;
     
     public function __construct($id, $link) {
     $this->postID = $id;
     $this->dbLink = $link;
     }
     
     public function get()
  • Elsand

    923827·apache·595 B·2008-02-29 21:51 UTC
    RewriteEngine on
    RewriteOptions Inherit
    
    #Check to see if browser can accept gzip files.
    ReWriteCond %{HTTP:accept-encoding} (gzip.*)
    
    #make sure there's no trailing .gz on the url
    ReWriteCond
  • Someone

    923826·text·4.9 KB·2008-02-29 21:50 UTC
    <?php
    //
    //Be sure to edit your own elements
    //
    ?>
    
    <style type="text/css">
    
    .bottomBlock, #comments_wrapper, .rss_item_header, .topMenuItem, .friends_thumb_1, .friends_thumb_2, .photo_title,
  • Stuff

    923825·text·1.5 KB·2008-02-29 21:50 UTC
    laurent@debian64:~$ cat /etc/X11/xorg.conf
    # xorg.conf (X.Org X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values fro
  • Stuff

    923823·java·6.6 KB·2008-02-29 21:48 UTC
    import java.io.*;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Scanner;
    
    public class Score {
     
     public static void main(String[] args) {
  • Stuff

    923822·text·1.2 KB·2008-02-29 21:48 UTC
    function tooltip_findPosX(obj)
    
    {
    
     var curleft = 0;
    
     if (obj.offsetParent)
    
     {
    
     while (obj.offsetParent)
    
     {
    
     curleft += obj.offsetLeft;
    
     obj = obj.offsetPare
  • Unnamed

    923821·text·268 B·2008-02-29 21:48 UTC
    [root@localhost /]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
     65G 61G 1004M 99% /
    /dev/sda1 99M 24M 70
  • Miscellany

    923818·text·355 B·2008-02-29 21:45 UTC
    CREATE TABLE shoutbox (
     id smallint(6) NOT NULL auto_increment,
     userid smallint(6) NOT NULL default '0',
     username varchar(25) NOT NULL default '',
     `date` int(11) NOT NU
  • Miscellany

    923817·text·7.4 KB·2008-02-29 21:44 UTC
    debug on LOCAL
    
    Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
     Timestamp: 00004ms SCall: 00006 DCall: 00000 [200.91.75.45:4569]
     VERSION : 2
     CALLED N
  • Anonymous

    923814·text·604 B·2008-02-29 21:41 UTC
    Alias gone {
     /set %time $asctime
     /set %onick $me
     /set %why $2-
     /set %nick $1
     /nick %nick
     /amsg 7I am now away: 4«7 Reason:10 %why 4»
    /away « Reason: %why » « Left at: %time »
  • Stuff

    923812·text·730 B·2008-02-29 21:40 UTC
    trying to get NSTX to work I double checked everything and the only thing I can think is I did not do this part right in unix
    
    from : http://thomer.com/howtos/nstx.html
    in rc.conf I did gateway_ena
  • Someone

    923805·c·149 B·2008-02-29 21:35 UTC
    int num = 28;
    //will round to 32
    
    int exponent = (int)(log(num) / log(2));
    exponent += 1;
    int pow2 = pow(2, exponent);
    //pow2 should contain 32
  • Miscellany

    923803·text·456 B·2008-02-29 21:32 UTC
    rrdtool graph test.png \
    -F -E --height=100 --width=500 --vertical-label=Mailings \
    DEF:sending_jsp_numsending-raw=./show_sending.jsp_numsending.rrd:ds0:AVERAGE \
    CDEF:sending_jsp_numsending=sendin

older pastes →