All pastesPublic feed

Public feed

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

    2076236·text·5.2 KB·2011-06-07 15:56 UTC
    <RayTracer>
     <scene name="Android !">
     <eye>
     <pos_x>0</pos_x>
     <pos_y>0</pos_y>
     <pos_z>200</pos_z>
     <rot_x>0</rot_x>
     <rot_y>0</rot_y>
     <rot_z>0</rot_z>
  • Someone

    2076229·text·3.4 KB·2011-06-07 15:40 UTC
    iotop
    Total DISK READ: 0.00 B/s | Total DISK WRITE: 630.33 K/s
     TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND
    17066 be/4 root 0.00 B/s 0.00 B/s 0.00 % 97.65 % [pd
  • Miscellany

    2076220·text·3.6 KB·2011-06-07 15:12 UTC
    # sudoers.erb
    ## Networking
    Cmnd_Alias NETWORKING = /sbin/route, /sbin/ifconfig, /bin/ping, /sbin/dhclient, /usr/bin/net, /sbin/iptables, /usr/bin/rfcomm, /usr/bin/wvdial, /sbin/iwconfig, /sbin/mii-
  • Something

    2076218·text·11.5 KB·2011-06-07 15:09 UTC
    well i'm all fed and watered. i had some cereal (a 3/4 bowl of Weetos) and a toast (warburtons, toastie, miniloaf, buttered and sliced into two rectangular halves). then i had a glass of water and cam
  • Something

    2076208·csharp·542 B·2011-06-07 14:57 UTC
    using UnityEngine;
    using System.Collections;
    
    public class FPSdisplay : MonoBehaviour {
     
     float updatePeriod = 0.5f;
     float nextUpdate = 0.0f;
     float frames = 0.0f;
     float fps = 0.0f;
     
     //
  • Miscellany

    2076206·text·2.0 KB·2011-06-07 14:56 UTC
    # sudoers.erb
    ## Networking
    Cmnd_Alias NETWORKING = /sbin/route, /sbin/ifconfig, /bin/ping, /sbin/dhclient, /usr/bin/net, /sbin/iptables, /usr/bin/rfcomm, /usr/bin/wvdial, /sbin/iwconfig, /sbin/mii-
  • Miscellany

    2076196·text·1.1 KB·2011-06-07 14:25 UTC
    // PRE DEFINED VALUES
     
     var workdays = '255';
     var fuelprice = '1.50';
     var GCR_Discount = '0.02';
     
     // USER INPUT
     
     var active_vehicles_in_fleet = $('#input-1').val
  • Someone

    2076195·text·792 B·2011-06-07 14:21 UTC
    ____ ___ _ _ _ _ _____ _____ _____ _____ _____ 
     | __ ) / _ \| \ | | \ | | ____| | ___| ____|_ _| ____|
     | _ \| | | | \| | \| | _| | |_ | _| | |
  • Kazun

    2076189·csharp·1.3 KB·2011-06-07 13:59 UTC
    $output = @'
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <style>BODY{backgrou
  • Mine

    2076175·text·181 B·2011-06-07 13:42 UTC
    service {
     'corp-myapp':
     ensure => running,
     hasstatus => true,
     enable => true,
     subscribe => File["/opt/myapp/instances/${instance}/conf/system.properties"]
     }
  • Unnamed

    2076172·text·776 B·2011-06-07 13:38 UTC
    $associates_sites = $wpdb->get_results("SELECT blog_id FROM wp_blogs");
     if (!$associates_sites) {
     echo 'there was an error querying the Wordpress database';
     exit;
     } else
  • Something

    2076158·text·11.5 KB·2011-06-07 13:05 UTC
    - 2011.Jun.07 - 14:44:16- • Info» Netsplit on (IRCnet/atw.irc.hu) on (Tuesday, June 7th 2011, 14:44:16)...
    - 2011.Jun.07 - 14:44:37- • Info» The following users have been split:
    - 2011.Jun.07 - 14:4
  • Stuff

    2076156·text·1.0 KB·2011-06-07 13:00 UTC
    using System; 
    
    public class UserMainCode 
    { 
     //Assume following return types while writing the code for this question. 
     public static int output1; 
     
     public static void GetB
  • Unnamed

    2076155·text·11.1 KB·2011-06-07 12:54 UTC
    Jun 7 14:52:05 BLAH python[646] <Error>: kCGErrorInvalidConnection: CGSPackagesGetWorkspaceType: Invalid connection
    Jun 7 14:52:05 BLAH python[646] <Error>: kCGErrorFailure: Set a breakpoint @ CGEr
  • vgrabbj

    2076150·text·480 B·2011-06-07 12:46 UTC
    $ cat check/vgrabbj.feh 
    
    #!/bin/bash
    let "NUMB=$(ls -l /home/user/pix/webcam/|wc -l)+1"
    NUMB="/home/user/pix/webcam/webcam-$NUMB.jpg"
    vgrabbj -c /etc/vgrabbj.conf.lenovo -f $NUMB
    sleep 3
    feh $
  • using directive in C++

    2076143·cpp·1.1 KB·2011-06-07 12:31 UTC
    // This example shows how the “using” directive works in C++.
    //
    // Even if this example use a function, it is the same principle for any
    // identifiers (variable, namespace, class, type, …
  • Something

    2076141·text·734 B·2011-06-07 12:27 UTC
    12
    Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Windows\System32\j
    acob.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
     at java.lang.ClassLoader$NativeLibrary.load(
  • Someone

    2076139·text·40.9 KB·2011-06-07 12:22 UTC
    
        
  • Mine

    2076126·python·1.2 KB·2011-06-07 11:47 UTC
    File "/home/kzaportal/pyenv/lib/python2.5/site-packages/django/core/handlers/base.py" in get_response
     111. response = callback(request, *callback_args, **callback_kwargs)
    F
  • Excel sample Seam JSF

    2076120·text·4.4 KB·2011-06-07 11:42 UTC
    <html xmlns="http://www.w3.org/1999/xhtml"
     xmlns:s="http://jboss.com/products/seam/taglib"
     xmlns:excel="http://jboss.com/products/seam/excel"
     xmlns:f="http://java.sun.com/jsf/core

older pastes →