All pastesPublic feed

Public feed

Pastes people chose to make public. Author names hidden.
  • 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
  • Stylesheet Excel JSF Seam

    2076118·css·1.4 KB·2011-06-07 11:40 UTC
    .header {
     xls-force-type: text;
     xls-border: thin gray_80;
     xls-font-color: ocean_blue;
     xls-font-family: Verdana;
     xls-font-underline-style: single;
     xls-font-size: 10;
  • MasterKontrolz Commandlines

    2076114·text·351 B·2011-06-07 11:26 UTC
    -novblank 
    -notimefix
    -forcer2vb
    -noprecache
    -noswapdelay
    -norestrictions
    -nomemrestrict 
    -availablevidmem 2.0
    -percentvidmem 100
    //-disableimposters
    -framelimit 1
    -waterquality 5
    -waterre
  • Unnamed

    2076113·php·1.8 KB·2011-06-07 11:21 UTC
    <?php
    
    class Processor
    {
     private $mailingListsNew;
     private $mailingListsAll;
     private $emailIndex;
     private $db;
     
     public function __construct( $db, $mailingListsNew, $emailIndex )
  • Untitled

    2076112·text·1.8 KB·2011-06-07 11:21 UTC
    <?php
    
    class Processor
    {
     private $mailingListsNew;
     private $mailingListsAll;
     private $emailIndex;
     private $db;
     
     public function __construct( $db, $mailingListsNew, $emailIndex )
  • my dof

    2076108·text·649 B·2011-06-07 10:53 UTC
    //r1*=10.0;
    
     r0.w=abs(_c79.w);
     r3=_c4; //-0.5, -1.5, 1.5, 0.5
    
     float2 center;
     float distance;
     float focus;
     float farblur;
     float dof;
    
     distance=r0.z * r0.x - _c78.w; //dofDist.w
     di
  • Untitled

    2076106·sql·798 B·2011-06-07 10:45 UTC
    BEGIN
     DECLARE rowcount INT DEFAULT 0;
     DECLARE rowcount_temp INT DEFAULT 0;
     
     DELETE FROM friend
     
     WHERE character1_id = char_id
     AND character2_id = friend_id;
  • Untitled

    2076101·sql·601 B·2011-06-07 10:42 UTC
    BEGIN
     DECLARE rowcount INT DEFAULT 0;
     DECLARE rowcount_temp INT DEFAULT 0;
     
     DELETE FROM friend
     
     WHERE character1_id = char_id
     AND character2_id = friend_id;
  • Stuff

    2076096·text·579 B·2011-06-07 10:35 UTC
    import sys
    from vipsCC import *
    
    tilesize = 20
    
    try:
     im = VImage.VImage (sys.argv[1])
    
     # loop to create the tiles
     for y in range (0, im.Ysize(), tilesize):
     for x in range
  • Unnamed

    2076090·text·534 B·2011-06-07 10:26 UTC
    include <stdio.h>
    #include <stdlib.h>
    #include "parallel.h"
    
    int main(void) {
     int c;
    
     parallel_t * port;
     port = parallel_Init (0x378);
    
     while( 1 ) {
  • Untitled

    2076088·text·476 B·2011-06-07 10:22 UTC
    arrival@arrival.mooo.com (94) 
    12:17:35 -!- Irssi: Starting query in 94 with rill
    12:17:35 <rill> NEM UNOM
    12:17:51 <rill> nyomorek

older pastes →