All pastesPublic feed

Public feed

Pastes people chose to make public. Author names hidden.
  • ebony-oop

    2051086·perl·1.0 KB·2011-04-27 04:18 UTC
    use strict;
    use warnings;
    
    use HashObj;
    
    package Goth;
    
    sub Summon {
     my ($caller, %argh) = @_;
    
     my $class = ref($caller) || $caller;
     my $self = bless {}, $class;
    
     my $argr
  • ebony-oop

    2051085·perl·1.2 KB·2011-04-27 04:18 UTC
    use strict;
    use warnings;
    
    =head 1
    sub slit {
     my ($writDensity) = @_;
    
     return $_/12;
    }
    
    my @writs = qw( 12 54 72 2 6 12 );
    
    print "@writs\n";
    my @blood = map &slit, @writs;
    print
  • Something

    2051084·text·3.2 KB·2011-04-27 04:11 UTC
    ARRAY NOTATION
    
    my @array = (e, l ,e2, m, e3, n, t);
    
    print $array[0];
    prints “e”.
    
    HASH NOTATION
    
    my %hash = (key => element, key2 => element2);
    
    print $hash{key};
    prints “element”.
  • Mine

    2051080·text·975 B·2011-04-27 03:23 UTC
    \\\textup{A flywheel turns through } 40 \textup{rev as it slows from an angular speed of 1.5 rad/s to a stop.}
    \\\textup{a) Assuming a constant angular acceleration, find the time for it to come to r
  • devilz char

    2051067·text·48.5 KB·2011-04-27 02:29 UTC
    
        
  • Someone

    2051066·text·1.9 KB·2011-04-27 02:20 UTC
    // Celso Garcia da Silva
    // RA 435457
    
    // Verificar a validade de duas datas dadas
    
    #include <stdio.h>
    #include <stdlib.h>
    
    #define x1 11
    
    int main(int argc, char *argv[])
    {
     int resu
  • Anonymous

    2051064·text·1.4 KB·2011-04-27 02:01 UTC
    @TS1:~$ traceroute please.passthepopcorn.me
    traceroute to please.passthepopcorn.me (67.215.65.132), 30 hops max, 60 byte packets
     1 trojan.coderz.me (192.168.1.1) 0.115 ms 0.157 ms 0.196 ms
     2
  • Anonymous

    2051061·text·789 B·2011-04-27 01:50 UTC
    l@ss1:~$ traceroute please.passthepopcorn.me
    traceroute to please.passthepopcorn.me (85.17.5.15), 30 hops max, 60 byte packet s
     1 192.168.1.1 (192.168.1.1) 0.222 ms 0.267
  • Untitled

    2051057·text·1.8 KB·2011-04-27 01:47 UTC
    word = raw_input('Enter a word (or name) ') ## This gets the inout and assigns it to the variable word
    wordlist = list(word) ## This puts the word into a list form (Ra
  • Untitled

    2051056·cpp·1.2 KB·2011-04-27 01:44 UTC
    /**
     * tiff.cpp
     * @author: Dan Armstrong
     * @date: 2011-04-26
     * Sample application to help Tiffany.
     */
    
    #include <iostream>
    
    int main() {
     int month = 0;
     int day = 0;
     int year = -1;
  • Anonymous

    2051055·text·1.2 KB·2011-04-27 01:44 UTC
    /**
     * tiff.cpp
     * @author: Dan Armstrong
     * @date: 2011-04-26
     * Sample application to help Tiffany.
     */
    
    #include <iostream>
    
    int main() {
     int month = 0;
     int day = 0;
     int year = -1;
  • Something

    2051052·text·1.4 KB·2011-04-27 01:12 UTC
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html>
     <head>
     <title>command</title>
     <meta name="GENERAT
  • Something

    2051048·text·123 B·2011-04-27 00:50 UTC
    || *name* || *security* || *help* ||
    || account || 0 || Syntax: .account
    
    Display the access level of your account. ||
  • Mine

    2051046·text·2.0 KB·2011-04-27 00:45 UTC
    Estado HTTP 500 -
    
    type Informe de Excepción
    
    mensaje
    
    descripción El servidor encontró un error interno () que hizo que no pudiera rellenar este requerimiento.
    
    excepción
    
    org.apache.jasper
  • Something

    2051044·text·3.6 KB·2011-04-27 00:38 UTC
    #!/usr/bin/env python
    
    # Derived from http://sundararajana.blogspot.com/2007/05/motion-detection-using-opencv.html
    
    import cv
    
    class Target:
     def __init__(self):
     self.capture = cv.C
  • Anonymous

    2051041·python·3.3 KB·2011-04-27 00:32 UTC
    # SwiderskiNicholasHW3.py
    # Displaying simple graphics
    # 4.24.11
    # Nicholas Swiderski
    # CSC 110.05
    
    # Copied from TreeTest.py
    
    # Required import statement for Gui tools
    import Gui
    
    # Named
  • Something

    2051040·python·1.0 KB·2011-04-27 00:31 UTC
    #Ryan Sherwood
    #CSC110
    #Sp'11
    #April 25, 2011
    #Creating a picture with the GUI
    #
    #
    
    # Statement for Gui tools
    import Gui
    
    # Named Constants 
    CANVAS_WIDTH = 640
    CANVAS_HEIGHT = 480
    
    #d
  • Someone

    2051035·text·977 B·2011-04-26 23:41 UTC
    traceroute to 208.93.152.1 (208.93.152.1), 30 hops max, 40 byte packets
     1 DD-WRT (192.168.1.1) 3.001 ms 0.481 ms 0.419 ms
     2 c-98-234-16-1.hsd1.ca.comcast.net (98.234.16.1) 33.272 ms 15.598
  • Unnamed

    2051034·cpp·2.0 KB·2011-04-26 23:40 UTC
    void FindLargestWolfHordeCPU()
    {
     // equ classes
     //int* linked = (int*) malloc(NX * NY * sizeof(int) + 2 * sizeof(int));
     int* linked = new int[NX * NY + 2];
    
     // binarize matrix
     int labelMat
  • Untitled

    2051033·text·4.6 KB·2011-04-26 23:23 UTC
    # menu.lst - See: grub(8), info grub, update-grub(8)
    # grub-install(8), grub-floppy(8),
    # grub-md5-crypt, /usr/share/doc/grub
    # and /usr/share/doc/grub-doc/.
    
    ##

older pastes →