All pastes›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • 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)){
  • Miscellany

    2069338·text·366 B·2011-05-26 09:10 UTC
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
     <match target="font">
     <test name="family" qual="any" >
     <string>ProFontWindows</stri
  • Miscellany

    2069337·text·274 B·2011-05-26 09:09 UTC
    <match target="font">
     <test name="family" qual="any" >
     <string>ProFontWindows</string>
     </test> 
     <edit name="antialias" mode="assign">
  • Unnamed

    2069336·text·308 B·2011-05-26 09:03 UTC
    using System;
    
    class A
    {
    public virtual void X(int r=10, bool b=true)
    {
    Console.WriteLine("r={0}, b={1}", r, b);
    }
    }
    
    class B: A
    {
    public override void X(int r=5, bool b=false)
    {
    Console
  • Miscellany

    2069334·text·571 B·2011-05-26 08:51 UTC
    должно быть так
    
    static void trx_cmd_wr(alt_u32 trx, alt_u32 addr, alt_u32 mode, alt_u64 data)
    {
     alt_u32 fifo = (trx == 0 ? RG_TRXA_CMD : trx - 1);
    
     trx_iowr(fifo, (alt_u32)(data & 0xfff
  • Untitled

    2069333·text·1.4 KB·2011-05-26 08:48 UTC
    <C>
     <P G="0,10" />
     <Z>
     <S>
     <S X="50" Y="281" L="100" H="237" P="0,0,0.3,0.2,0,0,0,0" T="0" />
     <S X="750" Y="281" L="100" H="237" P="0,0,0.3,0.2,0,0,0,0" T="0" />
     <S X="395" Y="586"

older pastes →