New paste›Public feed

Public feed

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

    996362·php·492 B·2008-04-24 21:50 UTC
    // if env var is set and no session var, then not accepted
    if (getenv('PHP_ckset') == true && !isset($_SESSION['foo'])){
     echo 'cookies not accepted';
    }
    // if env var isn't set, and no session var
  • Something

    996361·text·1.8 KB·2008-04-24 21:50 UTC
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 
    <html>
     <head>
     <META http-equiv="Content-Type" content="text/html; charset=utf-16">
     <style type
  • Something

    996358·php·492 B·2008-04-24 21:48 UTC
    // if env var is set and no session var, then not accepted
    if (getenv('PHP_ckset') == true && !isset($_SESSION['foo'])){
     echo 'cookies not accepted';
    }
    // if env var isn't set, and no session var
  • Someone

    996357·text·362 B·2008-04-24 21:47 UTC
    Ant || Otoom || says (22:45):
    People say Delphi is nice, / easy.
    Ant || Otoom || says (22:45):
    Good for trojans.
    Rhys says (22:45):
    Arent delphi exe sizes over 9000?
    Ant || Otoom || says (22:46)
  • private ip

    996354·text·1.1 KB·2008-04-24 21:44 UTC
    Node Time (msec) Address Name
     001 9 172.17.47.254 ?
     002 16 73.124.42.1 ?
     003 192 68.87.136.181 GE-1-21-ur01.elkton.md.bad.comcast.net
     004 22 68.87.128.125 te-9-3-ur01.aber
  • Miscellany

    996351·text·1.5 KB·2008-04-24 21:42 UTC
    $ java -jar jacc.jar json.jacc
    WARNING: 2 rules never reduced
    
    WARNING: conflicts: 1 shift/reduce, 6 reduce/reduce
    
    ***************************************************
    *** json.jacc follows:
  • Untitled

    996350·text·1.0 KB·2008-04-24 21:42 UTC
    ale1987@marambaia:~$ ifconfig
    eth0 Link encap:Ethernet Endereço de HW 00:0f:ea:af:fe:cc 
     inet end.: 172.30.0.152 Bcast:172.30.0.255 Masc:255.255.255.0
     endereço inet6: f
  • KIA / Mini-Tutorial - $v1 $v1

    996349·mirc·1.3 KB·2008-04-24 21:40 UTC
    alias iftest {
     ;Next line echos "hello world" because the left and right sides
     ;of the if statement are assigned to $v1 and $v2, respectively
     if (hello != world) echo -a $v1 $v2
    
     ;Next fe
  • Jemand

    996348·text·1.3 KB·2008-04-24 21:40 UTC
    import java.io.IOException;
    
    public class Palindrom {
     public static void main(String[] args) {
     byte[] buffer = new byte[30]; 
     int length = 0;
     // write introduction to screen
     System.out
  • Unnamed

    996347·text·634 B·2008-04-24 21:38 UTC
    ale1987@marambaia:~$ ifconfig eth0
    eth0 Link encap:Ethernet Endereço de HW 00:0f:ea:af:fe:cc 
     inet end.: 172.30.0.152 Bcast:172.30.0.255 Masc:255.255.255.0
     endereço in
  • Untitled

    996346·text·1.1 KB·2008-04-24 21:37 UTC
    # ./digitemp_DS9097 -s /dev/ttySAC2 -i
    DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
    GNU Public License v2.0 - http://www.digitemp.com
    Turning off all DS2409 Couplers
    
    Searching the 1-Wire
  • Someone

    996344·text·452 B·2008-04-24 21:36 UTC
    rob@localhost ~ $ equo install linux-sabayon --ask
    >> Running with --pretend...
    >> @@ These are the chosen packages:
    >> # (1/1) sys-kernel/linux-sabayon-2.6.24#2.6.24-sabayon >>> Sabayon Linux
  • Version Info

    996342·text·2.3 KB·2008-04-24 21:36 UTC
    [quote][size=1]CPU: Intel(R) Pentium(R) D CPU 3.00GHz [x86 Family 15 Model 6 Stepping 4] [DEP enabled] [2 CPUs]
    Installed RAM: 2047 MBytes
    Operating System: Microsoft Windows XP [versi
  • Vermischtes

    996341·text·3.7 KB·2008-04-24 21:35 UTC
    wiki
    pro * Einer EU-Studie[19] zu Folge, sterben jährlich 65.000 Menschen in der EU vorzeitig, bedingt durch Feinstaub. Studien der WHO, der Universität München und aus dem Ruhrgebiet[20] kommen unab
  • Miscellany

    996340·text·314 B·2008-04-24 21:35 UTC
    # stty -F /dev/ttySAC2 115200
    # stty -F /dev/ttySAC2 9600
    # stty -F /dev/ttySAC2
    speed 9600 baud;
    intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; start = ^Q;
  • Miscellany

    996339·text·250 B·2008-04-24 21:33 UTC
    # stty -F /dev/ttySAC2
    speed 9600 baud;
    intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; start = ^Q;
    stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V;
  • Mine

    996338·text·131 B·2008-04-24 21:31 UTC
    on (release) {
     
    if (code == "code123")
     {
     gotoAndPlay("correct");
     } 
    
    else {
     gotoAndPlay("wrong");
     }
     
    }
  • Someone

    996337·text·385 B·2008-04-24 21:29 UTC
    if (event.keyCode == 13)
    {
     var pattern:RegExp = /\r|\n/g;
     var formattedText:String = myTextArea.text.replace(pattern,"");
     var tmpNum:Number = Number(formattedText);
     
     if (typeof(tmpNum) == "
  • Miscellany

    996336·text·1.4 KB·2008-04-24 21:28 UTC
    $ java -jar jacc.jar json.jacc
    WARNING: 2 rules never reduced
    
    WARNING: conflicts: 1 shift/reduce, 6 reduce/reduce
    
    ***************************************************
    
    %token <String> STRING
  • Unnamed

    996334·text·33.3 KB·2008-04-24 21:28 UTC
    
        

older pastes →