All pastesPublic feed

Public feed

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

    2110034·mirc·313 B·2012-02-05 23:04 UTC
    $form['user_selection'] = array ('#access' => TRUE,
     '#type' => 'select',
     '#name' => 'name',
     '#weight' => '1',
     '#options' => $lista_usuarios
     );
    
    $form['submit'] = array(
     '#access' =
  • Untitled

    2110033·text·313 B·2012-02-05 23:04 UTC
    $form['user_selection'] = array ('#access' => TRUE,
     '#type' => 'select',
     '#name' => 'name',
     '#weight' => '1',
     '#options' => $lista_usuarios
     );
    
    $form['submit'] = array(
     '#access' =
  • rect.inflate_ip()

    2110018·python·937 B·2012-02-05 22:38 UTC
    import pygame
    
    pygame.init()
    
    class Box(pygame.sprite.Sprite): 
     
     def __init__(self):
     pygame.sprite.Sprite.__init__(self)
     self.image = pygame.Surface((10, 10))
  • Someone

    2110015·text·190 B·2012-02-05 22:16 UTC
    <form enctype="multipart/form-data" action="upload.php" method="POST">
     Please choose a file: <input name="uploaded" type="file" /><br />
     <input type="submit" value="Upload" />
     </form>
  • Untitled

    2110014·text·748 B·2012-02-05 22:16 UTC
    <html>
    <head>
     <title>Результат загрузки файла</title>
    </head>
    <body>
    <?php
     if($_FILES["filename"]["size"] > 1024*3*1024)
     {
     echo ("Размер файла превышает три мегабайта");
     exi
  • Stuff

    2110013·text·6.8 KB·2012-02-05 22:13 UTC
    {Nissan|Machine|Car} {includes a|features a|carries a} {knack|talent|skill} for {doing|performing|carrying out} {things|issues|points} {inside a|in the|in a very} {various ways|other ways|different me
  • Miscellany

    2110012·text·7.3 KB·2012-02-05 22:11 UTC
    {Nissan|Machine|Car} {includes a|features a|carries a} {knack|talent|skill} for {doing|performing|carrying out} {things|issues|points} {inside a|in the|in a very} {various ways|other ways|different me
  • cy8ctma375.asm

    2110010·nasm·101.2 KB·2012-02-05 22:03 UTC
    
        
  • ssh-copy-id

    2110009·bash·1.3 KB·2012-02-05 21:58 UTC
    #!/bin/sh
    
    # Shell script to install your public key on a remote machine
    # Takes the remote machine name as an argument.
    # Obviously, the remote machine must accept password authentication,
    # or
  • ssh-copy-id

    2110008·bash·1.3 KB·2012-02-05 21:57 UTC
    #!/bin/sh
    
    # Shell script to install your public key on a remote machine
    # Takes the remote machine name as an argument.
    # Obviously, the remote machine must accept password authentication,
    # or
  • ssh-copy-id

    2110006·text·1.3 KB·2012-02-05 21:57 UTC
    #!/bin/sh
    
    # Shell script to install your public key on a remote machine
    # Takes the remote machine name as an argument.
    # Obviously, the remote machine must accept password authentication,
    # or
  • Someone

    2109995·text·749 B·2012-02-05 20:55 UTC
    set
     { //Lock to ensure full values is set or returned
     lock (this) //This value is always locked while the thread is live?
     {
     //
  • kde-4.8.mask

    2109993·text·8.6 KB·2012-02-05 20:30 UTC
    # Autogenerated by regenerate-files, DO NOT EDIT.
    # You can use this file to mask/unmask KDE SC 4.8 release.
    # Edit Documentation/package.unmask/.kde-4.8/ files instead.
    >=kde-base/kdeplasma-addons
  • Stuff

    2109985·javascript·120.1 KB·2012-02-05 19:36 UTC
    
        
  • Someone

    2109984·text·1.1 KB·2012-02-05 19:27 UTC
    import de.tuberlin.prog1.interfaces.Sortable;
    
    class Produkt implements Sortable<Produkt>{
    
     private int productNumber = (int)(Math.random() * (99999 - 10000) + 100000); 
     private String productN
  • Miscellany

    2109981·text·831 B·2012-02-05 19:16 UTC
    4. Write a script (lab2_q4.vbs) to do the following menu:
    
     PROG 4103 Menu
     --------------------------
    
    1. Display Name and Age
    2. Display the sum of two numbers
    3. Compute repair cost
    4
  • Mine

    2109980·text·3.5 KB·2012-02-05 19:12 UTC
    Feb 5 14:01:52 li289-215 postfix/cleanup[5449]: DD3E314DA02: message-id=<20120205190042.DD3E314DA02@li289-215.members.linode.com>
    Feb 5 14:01:52 li289-215 postfix/smtpd[5445]: public/cleanup socket
  • Miscellany

    2109974·text·799 B·2012-02-05 18:42 UTC
    static List<Olut> olutlista = new LinkedList();
    
    -------
    
     @Override
     public Olut lisaaOlut(Olut olut) {
     olutlista.add(olut);
     System.out.println(olutlista.toString());
  • Untitled

    2109970·text·201 B·2012-02-05 18:10 UTC
    #!/usr/bin/python
    #
    
    import re
    
    buf = open("foo").readlines()
    for l in buf:
     (a,b) = l.split(":")
     (b,c) = b.split(";")
     print "%s:%s;%s" % (re.sub("\s", "", a),b,re.sub("\s","",c))
  • Mine

    2109967·text·1.3 KB·2012-02-05 17:27 UTC
    //MAIN CLASS
    
    import java.util.*;
    
    public class SodaCanTest {
    
     private static double sodaCanSurfaceArea; 
     private static double sodaCanRadius;
    
     
     public static void main(String[] a

older pastes →