New paste›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • simple ifthen statement

    934318·mirc·239 B·2008-03-08 19:35 UTC
    on *:text:!timer*:#iwa2:{
     if ($$2 == A1) {
     if ($$3 == reset) { .msg $chan timer $$2 is reset (not really) }
     else { .msg $chan timer $$2 will end in XXX seconds }
     }
     else { .msg $chan
  • Unnamed

    934312·javascript·321 B·2008-03-08 19:33 UTC
    function readCookie(name)
    {
     var ca = document.cookie.split(';');
     var nameEQ = name + "=";
     for(var i=0; i < ca.length; i++) {
     var c = ca[i];
     while (c.charAt(0)==' ') c = c.substring(1, c.l
  • zdenek

    934311·text·15.3 KB·2008-03-08 19:29 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Sat Mar 8 20:29:40 CET 2008
    
    !!Linux Distribution
    !!------------------
    
    We
  • SHM1L

    934309·java·567 B·2008-03-08 19:25 UTC
    public class Select 
    {
     public static void main(String[] args)
     {
     Select s = new Select();
     s.getObject(new Driver("Guy","Israel",25, 1));
     s.getObject(new Car("Toyot
  • code

    934308·text·347 B·2008-03-08 19:24 UTC
    program Project2;
    var
    count:integer;
    num:integer;
    total:integer;
    ptotal:integer;
    ntotal:integer;
    begin
    for count := 0 to 9 do
    readln(num);
    IF ((num > 0) AND (num <= 100)) THEN
    total := tota
  • code

    934307·text·337 B·2008-03-08 19:22 UTC
    program Project2;
    var
    count:integer;
    num:integer;
    total:integer;
    ptotal:integer;
    total:integer;
    begin
    for count := 0 to 9 do
    readln(num);
    IF ((num > 0) AND (num <= 100)) THEN
    total := total
  • Someone

    934306·text·1.5 KB·2008-03-08 19:22 UTC
    alias -l c1 { return $+($chr(3),05,$1-) }
    alias -l c2 { return $+($chr(3),04,$1-) }
    on $*:TEXT:/[!@]defname */Si:*: {
     if ($1 == !defname) || ($1 == @defname) {
     if ($len($2-) > 12) { notice $
  • Anonymous

    934304·php·755 B·2008-03-08 19:21 UTC
    // A function to find the total number of chapters, and list the chapters by name.
     function chapters($content)
     {
     $subArray = $this->returnSubStrings($content, "<TD ALIGN='RIGHT'>"
  • Zoopz - Inventory

    934299·php·121 B·2008-03-08 19:19 UTC
    } elseif ($_GET['act']=='inventory') {
     $page_main .= '<h1>Inventory</h1><br>...';
    } elseif ($_GET['act']=='lore') {
  • Untitled

    934296·text·2.0 KB·2008-03-08 19:19 UTC
    alias stats { sockopen stats hiscore.runescape.com 80 | set %user $replace($regsubex($lower($1-),/\b(.)/g,$upper(\1)),$chr(32),_) }
    on *:SOCKOPEN:stats:{ sockwrite -nt stats GET /index_lite.ws?player
  • Zoopz - Item Application

    934294·php·489 B·2008-03-08 19:17 UTC
    $items = getUserItems($user, true);
     if (count($items) > 0) {
     foreach ($items as $item_info) {
     $item = getItem($item_info['itemid']);
     
     if ($item['type'] == 'appearance') {
  • Miscellany

    934293·text·270 B·2008-03-08 19:17 UTC
    Darc-net dreadis # equo packages python-updater
    >> @@ Multiple Python directories found:
    >> # /usr/lib/python2.4
    >> # /usr/lib/python2.5
    >> @@ Scanning: /usr/lib/python2.4
    >> @@ There
  • adr

    934291·text·554 B·2008-03-08 19:17 UTC
    /**
     * @param args
     */
     public static void main(String[] args) {
     BigInteger num = new BigInteger("9");
     long start = System.currentTimeMillis();
     num.pow(387420489);
     long end = System.
  • Anonymous

    934290·text·36.2 KB·2008-03-08 19:15 UTC
    
        
  • haxplorer

    934289·text·493 B·2008-03-08 19:14 UTC
    Path ID SRC NODE DEST NODE seq
    1 6 7 1
    1 7 9 2
    1 9
  • Anonymous

    934288·text·227 B·2008-03-08 19:13 UTC
    function setCookie(c_name,value,expiredays)
    {
    var exdate=new Date();
    exdate.setDate(exdate.getDate()+expiredays);
    document.cookie=c_name+ "=" +escape(value)+
    ((expiredays==null) ? "" : ";expires=
  • Anonymous

    934287·text·353 B·2008-03-08 19:13 UTC
    @article {
    pho75-phongshading,
     author = "Bui Tuong Phong",
     title = "Illumination for computer generated pictures",
     journal = "Communications of the ACM (CACM)",
     year = "1975",
     volume = "18"
  • Miscellany

    934284·text·680 B·2008-03-08 19:11 UTC
    #0 jb_getall (jb=0x8d9c10, frameout=0x427d4340) at jitterbuf.c:409
    409 frame->prev->next = frame->next;
    (gdb) bt
    #0 jb_getall (jb=0x8d9c10, frameout=0x427d4340) at jitterbuf.c
  • Stuff

    934283·text·4.3 KB·2008-03-08 19:10 UTC
    dialog -l blist {
     title "Blacklist Manager"
     size -1 -1 324 144
     option dbu
     check "&Enable Blacklist", 1, 8 8 52 10
     list 2, 8 24 161 109, size extsel
     box "Blacklist Info", 3, 176 8 141
  • Someone

    934282·text·477 B·2008-03-08 19:09 UTC
    app-defaults X xorg.conf.1 Xsession.d
    cursors xinit xorg.conf.failsafe Xsession.options
    default-display-manager xkb Xresources

older pastes →