All pastesPublic feed

Public feed

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

    2045190·text·599 B·2011-04-11 18:44 UTC
    data Males;
     keep Freq Years Censored;
     retain Years -.5;
     input fail withdraw @@;
     Years + 1;
     Censored=0;
     Freq=fail;
     output;
     Censored=1;
     Freq=withdraw;
     output;
  • Miscellany

    2045186·text·2.8 KB·2011-04-11 18:21 UTC
    From: John Feeney <jfeeney@redhat.com>
    Date: Fri, 3 Sep 2010 21:12:22 -0400
    Subject: [misc] move dev_name to device.h
    Message-id: <4C8164B6.5020008@redhat.com>
    Patchwork-id: 28136
    O-Subject: [RHE
  • Something

    2045179·text·918 B·2011-04-11 18:11 UTC
    def boundary(ls,inpoint,color1,img,w,h,win):
     outline="green"
     inside=color1
     for i in ls:
     bresenhamthick.draw_line(img,i.getP1(),i.getP2(),outline,win)
     stackx=[]
     stacky
  • Anonymous

    2045175·text·1.2 KB·2011-04-11 17:39 UTC
    function getFoundationTransferableList($params) {
     $op = 'GetFoundationTransferableList';
     $getdata = array(
     "foundation" => $params['foundation'],
     "start" => $params['start'],
  • Unnamed

    2045171·php·922 B·2011-04-11 17:09 UTC
    <?php
    
    class dtc
    {
     protected static $instance = null;
     
     public static function get_instance()
     {
     if(is_null(dtc::$instance)) dtc::$instance = new dtc();
     return dtc::$instance;
     }
  • Unnamed

    2045168·text·381 B·2011-04-11 17:06 UTC
    [halakar@onestoppcdoc001 ~]$ w
     13:06:10 up 17 days, 5:19, 3 users, load average: 0.00, 0.00, 0.01
    USER TTY LOGIN@ IDLE JCPU PCPU WHAT
    halakar :0 25Mar11 ?xdm? 15:37m
  • Unnamed

    2045167·php·408 B·2011-04-11 17:05 UTC
    <?php
    
    //...
    
     public function begin()
     {
     $this->tx = array();
     }
     
     public function commit()
     {
     }
     
     public function rollback()
     {
     foreach($this->tx as $k => $v) $this->data[$k] =
  • Stuff

    2045165·cpp·26.9 KB·2011-04-11 17:01 UTC
    /*
     * ============================================================================
     *
     * Rotoblin
     *
     * File: rotoblin.survivorexploitfixes.sp
     * Type: Module
     * Description: Fixes some
  • Unnamed

    2045163·text·8.5 KB·2011-04-11 16:58 UTC
    #!/bin/bash
    clear;
    echo "Welcome to Rosspace OS installation CD.";
    
    exit_menu=0;
    while [ $exit_menu -ne 1 ]
    do
     echo "Select what do you want to do.";
     echo "[a] start installation routine (
  • Unnamed

    2045162·php·789 B·2011-04-11 16:58 UTC
    <?php
    
    class dtc
    {
     protected static $instance = null;
     
     public static function get_instance()
     {
     if(is_null(dtc::$instance)) dtc::$instance = new dtc();
     return dtc::$instance;
     }
  • Untitled

    2045161·text·324 B·2011-04-11 16:42 UTC
    BUILD FAILED
    /home/testserver/git/marauroa/build.xml:150: Warning: Could not find file /home/testserver/git/marauroa/AUTHORS to copy.
    
    Total time: 16 seconds
    Cannot find games/stendhal/log4j.prope
  • Miscellany

    2045159·text·53.7 KB·2011-04-11 16:23 UTC
    
        
  • Unnamed

    2045156·text·28.3 KB·2011-04-11 16:08 UTC
    Process: Safari [195]
    Path: /Applications/Safari.app/Contents/MacOS/Safari
    Identifier: com.apple.Safari
    Version: 5.0.4 (5533.20.27)
    Build Info: WebBrowser-7533
  • root

    2045151·text·17.7 KB·2011-04-11 15:55 UTC
    report:
     -
     package: libglade-java-devel
     version: 3
     status: broken
     reasons:
     -
     missing:
     pkg:
     package: libglade-java-devel
     version: 3
     missingdep: devel(libgnomejava-
  • Unnamed

    2045149·text·794 B·2011-04-11 15:49 UTC
    [root@n-62-15-41 ~]# sh -x /ctools/bin/get-watts 
    #!/bin/bash
    
    hostname=`hostname --short`
    node_size=1
    
    case $hostname in
    n-62-12-*)
     nodes_per_chassis=4
     ;;
    n-62-13-*)
  • Unnamed

    2045148·php·1.1 KB·2011-04-11 15:30 UTC
    $sql = 'SELECT id FROM ' . $config['tbl_prefix'] . 'reservations WHERE car_id = ' . $car_id . ' AND \'' . $start_date . ' ' . $start_time . '\' BETWEEN start_datetime AND end_datetime AND \'' . $end_
  • Unnamed

    2045147·text·1.1 KB·2011-04-11 15:30 UTC
    $sql = 'SELECT id FROM ' . $config['tbl_prefix'] . 'reservations WHERE car_id = ' . $car_id . ' AND \'' . $start_date . ' ' . $start_time . '\' BETWEEN start_datetime AND end_datetime AND \'' . $end_
  • Mine

    2045145·sql·1.3 KB·2011-04-11 15:25 UTC
    mysql> select * from corfu44_reservations;
    +----+--------+-----------+-------+---------------------+---------------------+-------------+-----------+----------+--------+--------+----------+-----
    ----
  • Stuff

    2045144·text·328 B·2011-04-11 15:23 UTC
    public class EventServiceTest extends ServiceTestCase<EventService> {
     
     private static final String TAG = EventServiceTest.class.getCanonicalName();
     
     private TestResultReceiver mResultReceiver
  • Untitled

    2045141·javascript·454 B·2011-04-11 14:52 UTC
    $(document).ready(function() {
     page_height();
    });
    
    $(window).resize(function() {
     page_height();
    });
    
    function page_height() {
     //get the #page-container height so we can adjust the height

older pastes →