All pastesPublic feed

Public feed

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

    2069419·javascript·1.8 KB·2011-05-26 11:53 UTC
    function clear_blocks(num){
     var selector_num = num ? num : 1;
     var text_object = $('#txtblock_'+selector_num);
     var image_object = $('#imgblock_'+selector_num);
    
     if (image_object.le
  • Anonymous

    2069416·text·384 B·2011-05-26 11:44 UTC
    chrome.dll!DelayedLowerToken+0x510164
    chrome.dll!DelayedLowerToken+0x51509d
    chrome.dll!DelayedLowerToken+0x4fefd3
    chrome.dll!DelayedLowerToken+0x513ad4
    chrome.dll!DelayedLowerToken+0x505fd9
    chrom
  • Unnamed

    2069385·text·1.2 KB·2011-05-26 11:38 UTC
    /etc/apache2/sites-enabled# cat 000-default 
    NameVirtualHost *
    <VirtualHost *>
     ServerAdmin kzaportal.sabou@tss-yonder.com
    
     ErrorLog /var/log/apache2/error.log
    
     # Possible values include: deb
  • Someone

    2069383·python·1.1 KB·2011-05-26 11:32 UTC
    # Enable autocompletion and history. Originally from
    # http://igotgenes.blogspot.com/2009/01/tab-completion-and-history-in-python.html
    # but needed to tune it.
    
    import rlcompleter
    import atexit
  • Anonymous

    2069378·text·16.0 KB·2011-05-26 11:18 UTC
    -- Nobody picked up in 15000 ms
     -- Called SIP/209
     -- SIP/209-08fe7748 is ringing
    [May 26 12:11:18] NOTICE[16305]: chan_dahdi.c:9028 pri_dchannel: PRI got event: HDLC Bad FCS (8) on Prim
  • Anonymous

    2069377·text·15.8 KB·2011-05-26 11:17 UTC
    [May 26 12:11:21] WARNING[16306]: chan_dahdi.c:4090 handle_alarms: Detected alarm on channel 1: Yellow Alarm
    [May 26 12:11:21] ERROR[13944]: chan_dahdi.c:8735 dahdi_pri_error: Write to 46 failed: U
  • Stuff

    2069374·text·601 B·2011-05-26 11:10 UTC
    MH/s data taken from https://en.bitcoin.it/wiki/Mining_hardware_comparison on 5/25/2011 and mixed with price estimates from newegg.com to estimate $/MH/s:
    
    $1.15/MH/s = $735 = 670 MH/s = ATI 6990
    $
  • Mine

    2069372·text·844 B·2011-05-26 10:59 UTC
    Hi,
    
    Thanks for your reply. I found the last part of your message to be pretty damn rude, considering I thought I was doing the right thing here. A 'no, but it is appreciated' or a 'no, but thank yo
  • Anonymous

    2069368·diff·519 B·2011-05-26 10:46 UTC
    Fixed bug of publish auth
    
    diff --git a/apps/erlyvideo/src/auth/apps_rewrite_publish.erl b/apps/erlyvideo/src/auth/apps_rewrite_publish.erl
    index b0e4a0b..0638722 100644
    --- a/apps/erlyvideo/src
  • BHW hotlink htaccess

    2069366·text·152 B·2011-05-26 10:40 UTC
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain\.com/ [NC]
    RewriteRule ^(.*\.jpg)$ /hotlink.php?fn=$1 [L]
  • Mine

    2069364·text·609 B·2011-05-26 10:36 UTC
    GtkWidget* dialog = gtk_print_unix_dialog_new(NULL, NULL);
     GtkPrintSettings* settings =
     gtk_print_unix_dialog_get_settings(GTK_PRINT_UNIX_DIALOG(dialog));
     GtkPageSetup* page_setup =
  • Anonymous

    2069361·bash·762 B·2011-05-26 10:16 UTC
    #!/bin/bash
    ME=`readlink -f $0`
    
    if [ "`hostname -f`" != "web1.leadreporter.com" ]; then
     echo "This script must be run from web1.leadreporter.com"
     exit 1
    fi
    
    if [ "`whoami`" !=
  • Untitled

    2069360·text·4 B·2011-05-26 10:15 UTC
    Nope
  • Miscellany

    2069359·text·4 B·2011-05-26 10:11 UTC
    test
  • Miscellany

    2069358·text·54.5 KB·2011-05-26 10:09 UTC
    
        
  • Anonymous

    2069354·text·9.5 KB·2011-05-26 10:06 UTC
    r300: texture_desc_init: The buffer is not large enough. Got: 1216512, Need: 5242880, Info:
    r300: texture_desc_init: Macro: NO, Micro: NO, Pitch: 1280, Dim: 1280x1024x1, LastLevel: 0, Size: 5242880
  • Czytelnicy i Pisarze

    2069351·ada·1.3 KB·2011-05-26 09:34 UTC
    with Ada.Text_IO, Ada.Integer_Text_IO;
    use Ada.Text_IO, Ada.Integer_Text_IO;
    
    procedure beznumerka is
    
    task type Pisarz (num: Integer);
    
    task type Czytelnik (id: Integer);
    
    task type czytel
  • Something

    2069347·text·1.2 KB·2011-05-26 09:32 UTC
    [root@fsb07 mnt]# hexdump -C /tmp/start 
    00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    00004200 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |..............
  • Anonymous

    2069344·text·2.8 KB·2011-05-26 09:30 UTC
    Hello, I'm Rob. I'm the guy who actually owns the server, and Ryan has forwarded your email to me.
    
    Luckily enough, we do keep logs of EVERYTHING, so it's normally pretty easy to find out the truth
  • php class test

    2069339·text·5.3 KB·2011-05-26 09:11 UTC
    <?php
    
    // define abstract class HTMLElement
    abstract class HTMLElement{
     protected $attributes;
     protected function __construct($attributes){
     if(!is_array($attributes)){

older pastes →