All pastesPublic feed

Public feed

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

    2049673·text·185 B·2011-04-23 10:14 UTC
    function isadmin($userid) {
     global $vip_admin, $auth;
    
     if ((in_array($userid, $vip_admin)) && ($auth->acl_get('a_'))) { // Line 7
     return True;
     } else {
     return False;
     }
    }
  • Untitled

    2049670·php·159 B·2011-04-23 10:08 UTC
    function isadmin($userid) {
    
     if ((in_array($userid, $vip_admin)) && ($auth->acl_get('a_'))) { // Line 7
     return True;
     }
     else {
     return False;
     }
    }
  • bind

    2049667·text·1.6 KB·2011-04-23 09:44 UTC
    view "public" {
     match-clients { any; };
     recursion no;
    
     # public-only zones go here! 
    
     zone "fcit.com.au" {
     type master;
     file "sec/fcit.com.au.fw";
     };
    
     zone "rememberi
  • Anonymous

    2049662·text·247 B·2011-04-23 09:02 UTC
    Array:
    ; 0 1 2 3 4 5 6 7 8 9 
    .db 0b00111111,0b00000110,0b01011011,0b01001111,0b01100110,0b0110110
  • Someone

    2049660·text·5.0 KB·2011-04-23 08:57 UTC
    .include "m128def.inc"
    .cseg
    .org 0
    jmp RESET ; I"a*?a*o~i^a" i'a` i^a'?a`a'i^o`e^o' n~a'?i^n~a`
    jmp EXT_INT0 ; I"a*?a*o~i^a" i'a` i^a'?a`a'i^o`e^o' c,a`i"?i^n~a` IRQ0
    jmp EXT_INT1
  • Stuff

    2049656·text·4.0 KB·2011-04-23 08:35 UTC
    <--- SIP read from UDP:10.0.39.126:5060 --->
    OPTIONS sip:in_14376@sip-concentrator-1.noida.foo.com SIP/2.0
    Via: SIP/2.0/UDP 10.0.39.126:5060;rport;branch=z9hG4bK4220531641
    From: in_14376 <sip:in_14
  • Someone

    2049655·text·180 B·2011-04-23 08:32 UTC
    #!/bin/bash
    
    EXT=(*.flv *.mp* *.mkv)
    
    for i in ${EXT[*]}; do ffmpeg -i "$i" -acodec libfaac -ab 96k -vcodec libx264 -vpre normal -crf 22 -threads 2 "${i%.*}.mp4";done
    
    exit 0
  • Someone

    2049654·text·3.9 KB·2011-04-23 08:32 UTC
    bash-4.1$ bash -x coverter.sh 
    + mkdir /home/server/output
    mkdir: cannot create directory `/home/server/output': File exists
    + mkdir /home/server/input
    mkdir: cannot create directory `/home/server
  • xci

    2049651·text·593.3 KB·2011-04-23 08:20 UTC
    
        
  • xci

    2049650·text·399.2 KB·2011-04-23 08:19 UTC
    
        
  • xci

    2049649·text·7.9 KB·2011-04-23 08:19 UTC
    Aptitude 0.4.11.11: log report
    Fri, Apr 22 2011 20:26:49 +0100
    
    IMPORTANT: this log only lists intended actions; actions which fail due to
    dpkg problems may not be completed.
    
    Will install 0 packages,
  • xci

    2049648·text·1.8 KB·2011-04-23 08:19 UTC
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Reading extended state information...
    Initialising package states...
    "nvidia-glx-dev" is a virtual package provided by
  • xci

    2049647·text·24.7 KB·2011-04-23 08:19 UTC
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Reading extended state information...
    Initialising package states...
    Couldn't find any package whose name or descripti
  • Someone

    2049646·text·3.9 KB·2011-04-23 08:18 UTC
    bash-4.1$ bash -x coverter.sh 
    + mkdir /home/server/output
    mkdir: cannot create directory `/home/server/output': File exists
    + mkdir /home/server/input
    mkdir: cannot create directory `/home/server
  • lsneeds --micro pierce.jason

    2049645·text·564 B·2011-04-23 08:07 UTC
    [02:48:36] pierce.jason | hata_ph: I was building virtualbox-headless today(for
     no-X11 support), and had a doubt as to why it would
     want xter
  • Unnamed

    2049644·text·1.7 KB·2011-04-23 07:58 UTC
    linux-suse:/tmp # fdisk /dev/sdb
    
    WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
     switch off the mode (command 'c') and change display units to
     sectors (
  • Video converter.

    2049643·text·817 B·2011-04-23 07:52 UTC
    #!/bin/sh
    
    # This script was built for backup recovery purposes only.
    # No one, but the one who executes this script is responsible.
    # DO NOT USE THIS SCRIPT TO BREAK LAWS!!!
    #
    mkdir ~/output
    m
  • Video converter.

    2049642·text·811 B·2011-04-23 07:52 UTC
    #!/bin/sh
    
    # This script was built for backup recovery purposes only.
    # No one, but the one who executes this script is responsible.
    # DO NOT USE THIS SCRIPT TO BREAK LAWS!!!
    #
    mkdir ~/output
    m
  • Video converter.

    2049641·text·803 B·2011-04-23 07:49 UTC
    #!/bin/sh
    
    # This script was built for backup recovery purposes only.
    # No one, but the one who executes this script is responsible.
    # DO NOT USE THIS SCRIPT TO BREAK LAWS!!!
    #
    mkdir ~/output
    m
  • Someone

    2049633·text·3.7 KB·2011-04-23 07:37 UTC
    module s3(o, y, x1, x2, os);
     output o, y;
     input x1,x2,os;
     wire t1, t2, nos, z1,z2,z3, z4, a1, a2, a3;
     
     not(t1, x1);
     not(t2, x2);
     not(nos, os);
    
    and(z1, x1,

older pastes →