All pastesPublic feed

Public feed

Pastes people chose to make public. Author names hidden.
  • 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"
  • Anonymous

    2069331·text·1.8 KB·2011-05-26 08:40 UTC
    (01:08:49pm) * Markb03 (Blood@PWTorrents-824B877B.bb.sky.com) has joined #PWTorrents
    (01:08:49pm) * PWT sets mode: +v Markb03
    (01:08:52pm) <Markb03> hi hi
    (01:08:59pm) * Markb03 kisses brainbug
    (0
  • Untitled

    2069328·text·570 B·2011-05-26 08:18 UTC
    diff --git a/CRM/Core/I18n.php b/CRM/Core/I18n.php
    index 5364129..335c22f 100644
    --- a/CRM/Core/I18n.php
    +++ b/CRM/Core/I18n.php
    @@ -56,7 +56,7 @@ class CRM_Core_I18n
     if ($locale != '' a
  • Untitled

    2069325·text·480 B·2011-05-26 08:17 UTC
    diff --git a/CRM/Core/BAO/Setting.php b/CRM/Core/BAO/Setting.php
    index 292f63a..3d5f6b6 100644
    --- a/CRM/Core/BAO/Setting.php
    +++ b/CRM/Core/BAO/Setting.php
    @@ -205,6 +205,10 @@ class CRM_Core_BAO

older pastes →