New paste›Public feed

Public feed

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

    939107·csharp·370 B·2008-03-12 01:27 UTC
    namespace testnamespace
    {
     public delegate void testdelegate<Q> (Q thing); 
     public class testclass : testinterface
     {
     event testdelegate<object> testevent; 
     pu
  • Anonymous

    939106·text·287 B·2008-03-12 01:27 UTC
    In JavaScript, the following code would perform which of the following?
    <a href="#" onCLick="alert('youclicked');"> text link </a>
     Insert a function from an external file
     Trigger an event to car
  • Anonymous

    939105·text·61 B·2008-03-12 01:23 UTC
    Insert a function
     Use inline code
     Hide code
     Revise code
  • hellppp

    939104·text·946 B·2008-03-12 01:22 UTC
    function submit($input) {
     
     $elements = self::elements();
     
     $headers = 'MIME-Version: 1.0' . "\r\n";
     $headers = 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
     
     $message
  • Anonymous

    939099·text·142 B·2008-03-12 01:21 UTC
    The statement: var abc = "New York"; causes the type of the variable abc to be interpreted as:
    
     numeric.
     character.
     string.
     Boolean.
  • Mine

    939098·text·872 B·2008-03-12 01:19 UTC
    labbott@andrew$ ./sdriver -t 05
    Running trace05.txt...
    Oops: test and reference outputs for trace05.txt differed.
    
    Test output:
    #
    # trace05.txt - Run a background job.
    #
    tsh> ./myspin1 &
    [1]
  • Anonymous

    939097·text·173 B·2008-03-12 01:18 UTC
    Question 14 text JavaScript determines a variable's "type" when:
    
     it is declared.
     the program starts.
     it first occurs in the program.
     a value is assigned to it.
  • Unnamed

    939096·text·23.4 KB·2008-03-12 01:18 UTC
    chemikalz@chemikalz:~$ lsmod
    Module Size Used by
    af_packet 24840 4 
    nls_iso8859_1 5120 1 
    nls_cp437 6784 1 
    vfat 14080
  • XOR cipher in C++

    939095·cpp·980 B·2008-03-12 01:18 UTC
    #include <cstdlib>
    #include <iostream>
    
    using namespace std;
    
    int main(int argc, char *argv[])
    {
     char str[20];
     char buf[20];
     char dbuf[20];
     int key = 1337;
     
     strcpy(
  • Anonymous

    939093·text·143 B·2008-03-12 01:17 UTC
    Question 13 text If a variable is declared but has not been assigned a value, its default value is:
    
     zero.
     null.
     undefined.
     empty.
  • Anonymous

    939092·text·109 B·2008-03-12 01:16 UTC
    To define a variable, use the keyword ________ preceding the variable name.
    
     val
     define
     reserve
     var
  • Anonymous

    939091·text·161 B·2008-03-12 01:14 UTC
    The scope of a variable can be either "local" or "global" depending on:
    
     where it is located.
     what it is used for.
     how it is defined.
     where it is used.
  • taxonomy parents

    939090·text·470 B·2008-03-12 01:13 UTC
    <?php
    global $conf;
    
    foreach($node->taxonomy as $term) {
     if ($term->vid == $conf['uc_catalog_vid']) {
     $tree = taxonomy_get_parents_all($term->tid);
     break;
     }
    }
    if (isset($tree)) {
     $tre
  • Anonymous

    939089·text·1.1 KB·2008-03-12 01:12 UTC
    ; Configuration file for AMX Mod X
    amxx_logs addons/amxmodx/logs
    amxx_configsdir addons/amxmodx/configs
    amxx_datadir addons/amxmodx/data
    amxx_modules addons/amxmodx/configs/modules.ini
    amxx_plugi
  • mithro

    939087·cpp·278 B·2008-03-12 01:11 UTC
    #include <iostream>
    #include <vector>
    
    class A {};
    
    class B : public A {};
    
    class C : public A {};
    
    int main() {
     std::vector<A*> my_vector;
     my_vector[0] = new B();
    
     // WTF - Thi
  • josho sprankle

    939086·text·3.5 KB·2008-03-12 01:10 UTC
    Hello, and welcome to your guided tour of St. Petersburg! My name is Joshua and I’ll be guiding you through today’s tour. If you have a video iPod, and have our power point presentation, you can enjoy
  • verden

    939085·text·2.5 KB·2008-03-12 01:09 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Wed Mar 12 11:39:46 CST 2008
    
    !!Linux Distribution
    !!------------------
    
    We
  • Someone

    939083·text·514 B·2008-03-12 01:06 UTC
    yum -y update fas-clients
    rpmdb: Lock table is out of available locker entries
    rpmdb: Unknown locker ID: 3268
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Providename i
  • Miscellany

    939077·text·2.1 KB·2008-03-12 01:02 UTC
    alias mario {
     msg $chan 0,0------4,4------------0,0--------
     msg $chan 0,0----4,4--------------------0,0--
     msg $chan 0,0----5,5------7,7----5,5--7,7----0,0------
     msg $chan 0,0-
  • Untitled

    939075·text·1.0 KB·2008-03-12 01:01 UTC
    Lou Gregorio
    Global
    
     Global #12
    
    I Conflict in Spain
     A. Civil War in Spain
     1. Spain had little industries in 1930
     2. Nobility opened most of the state
     3. Spain becomes constitu

older pastes →