All pastesPublic feed

Public feed

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

    2048410·text·9.6 KB·2011-04-19 20:17 UTC
    /* Copyright (C) 2003-2007 CAMP
     * Copyright (C) 2007-2009 CAMd
     * Copyright (C) 2005 CSC - IT Center for Science Ltd.
     * Please see the accompanying LICENSE file for further information.
  • Someone

    2048409·text·24 B·2011-04-19 20:14 UTC
    http://www.facebook.com/
  • Mine

    2048408·text·15.3 KB·2011-04-19 20:13 UTC
    <?
    
    require_once("bittorrent.php");
    require_once("bonus_settings.php");
    
    $seed_bonus=$bonus_settings['seed'];
    $res = mysql_query("UPDATE `temp` SET `sb` = '$seed_bonus'") or sqlerr(__FILE__, __L
  • Mine

    2048406·text·1.0 KB·2011-04-19 19:57 UTC
    //==Disabled inactive users
     $days = 90; //==days of inactivity
     $dt= time() - ($days * 86400);
     $res = mysql_query("SELECT id, modcomment, last_access FROM users WHERE last_access <
  • Anonymous

    2048405·bash·514 B·2011-04-19 19:55 UTC
    # With visual block mode I can get from this...
    
    long line on line two
    line one
    shorter lines
    for all the rest
    of the way
    
    # ...to this by moving the block to the end of the first line and usi
  • Mine

    2048403·text·1.0 KB·2011-04-19 19:53 UTC
    //==Disabled inactive users
     $days = 60; //==days of inactivity
     $dt= time() - ($days * 86400);
     $res = mysql_query("SELECT id, modcomment, last_access FROM users WHERE last_access <
  • Miscellany

    2048402·text·6.1 KB·2011-04-19 19:52 UTC
    <style>
    
    html, body { 
    
    background: #14233A;
    
    }
    
    body, table, .rate b { color: #ffffff; }
    
    a:link, .menu2, .menu2 a:link { color: #cccccc; }
    
    a:visited, .menu2 a:visited { color: #
  • Something

    2048391·java·1.4 KB·2011-04-19 19:21 UTC
    import java.io.BufferedReader;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.util.Arrays;
    
    public class reportin {
     public static Stri
  • Something

    2048388·text·1.4 KB·2011-04-19 19:20 UTC
    import java.io.BufferedReader;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.util.Arrays;
    
    public class reportin {
     public static Stri
  • Stuff

    2048385·text·673 B·2011-04-19 19:16 UTC
    # By Brian Gross #
    # Co editor Liz Henry #
    # 4/19/11 #
    url = raw_input('Please enter a website url: ')
    x = raw_input('Please enter a search word: ')
    import urllib
    var_html = urllib.urlopen(url).
  • Untitled

    2048384·text·663 B·2011-04-19 19:14 UTC
    # By Brian Gross #
    # Co editor Liz Henry #
    # 4/19/11 #
    url = raw_input('Please enter a website url: ')
    x = raw_input('Please enter a search word: ')
    import urllib
    var_html = urllib.urlopen(url).
  • Anonymous

    2048383·text·9 B·2011-04-19 19:14 UTC
    sだf
  • Something

    2048382·text·579 B·2011-04-19 19:12 UTC
    # By Brian Gross #
    # Co editor Liz Henry #
    # 4/19/11 #
    url = raw_input('Please enter a website url: ')
    x = raw_input('Please enter a search word: ')
    import urllib
    var_html = urllib.urlopen(url).
  • Stuff

    2048381·text·544 B·2011-04-19 19:09 UTC
    # By Brian Gross #
    # Co editor Liz Henry #
    # 4/19/11 #
    url = raw_input('Please enter a website url: ')
    x = raw_input('Please enter a search word: ')
    import urllib
    var_html = urllib.urlopen(url).
  • Stuff

    2048380·text·777 B·2011-04-19 19:08 UTC
    2011 Apr 19 21:07:33 localhost Oops: 0000 [#1] PREEMPT SMP 
    2011 Apr 19 21:07:33 localhost last sysfs file: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/input/input3/capabilities/sw
    2011 Apr 19 21:
  • Something

    2048376·text·177.7 KB·2011-04-19 18:54 UTC
    
        
  • Anonymous

    2048374·text·1.4 KB·2011-04-19 18:49 UTC
    sbcore: deregistering interface driver dw2102
    dvb-usb: found a 'TeVii S660 USB' in cold state, will try to load a firmware
    ir_core: exports duplicate symbol ir_raw_handler_unregister (owned by rc_co
  • Something

    2048373·text·1.2 KB·2011-04-19 18:44 UTC
    Q: Given an array, tell me if there are any duplicate values in that array.
    A: Sort the array, start comparing values
    
    var array;
    sort(array);
    for(i = 0; i < array.length - 1; i++) {
     if(arr
  • Miscellany

    2048370·text·459 B·2011-04-19 18:40 UTC
    Q: Given an array of data structures that look like:
    
    class MenuItem {
     String Name
     Array<MenuItem> Children
    }
    
    write a single method that will output all the MenuItem names and includ
  • Dagmar

    2048367·text·835 B·2011-04-19 18:33 UTC
    dagmar@eek:~/.minecraft/bin$ find . -type f -exec md5sum {} \;
    a7835a73a130656aba23e34147a55367 ./jinput.jar
    7a07c4285fa9a6b204ba59f011f1cd77 ./lwjgl.jar
    24289130902822d73f8722b52bc07cdb ./minec

older pastes →