New paste›Public feed

Public feed

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

    948117·text·1.1 KB·2008-03-18 22:12 UTC
    <?
    $ordner = "./pics/"; // Verzeichnis der Bilder
    // ---------------------------------------------------------------------------- //
     $img = array();
     // Vorhandene Bilder einlesen
     $handle=op
  • Something

    948113·text·118 B·2008-03-18 22:09 UTC
    $criteria= $this->xpdo->newQuery('Bid', array('productid' => $productid, 'time:<' => $bidtime))->sortby('sum','DESC');
  • Untitled

    948106·text·233 B·2008-03-18 22:02 UTC
    #include <stdio.h>
     int fun1(int t, int *tp){
     *tp=*tp + t;
     t=t+(*tp);
     return (t+(*tp));
    }
    int main(){
     int num=12;
     int *np=&num, ans;
     ans=fun1(num, np);
     printf(”\n%d %d
  • Untitled

    948105·text·209 B·2008-03-18 22:02 UTC
    #include <stdio.h>
    int fun1(int t, int *tp){
    *tp=*tp + t;
    t=t+(*tp);
    return (t+(*tp));
    }
    int main(){
    int num=12;
    int *np=&num, ans;
    ans=fun1(num, np);
    printf(”\n%d %d %d\n”, ans, num, *np);
  • Something

    948101·text·1.7 KB·2008-03-18 21:57 UTC
    " Use all the cool Vim features.
    set nocompatible
    
    " Use line numbering.
    set number
    
    " Indent stuff automagically.
    set autoindent
    set smartindent
    
    " How much space for indentions.
    set tabst
  • Unbenannt

    948099·cpp·6.4 KB·2008-03-18 21:57 UTC
    /* 
     * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public Lic
  • Zeug

    948097·cpp·12.1 KB·2008-03-18 21:54 UTC
    /*
     * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public Lice
  • Untitled

    948096·text·195.4 KB·2008-03-18 21:54 UTC
    
        
  • Mine

    948095·text·195.4 KB·2008-03-18 21:54 UTC
    
        
  • Someone

    948092·text·11.2 KB·2008-03-18 21:51 UTC
    #
    # Sample configuration file for the Samba suite for Debian GNU/Linux.
    #
    #
    # This is the main Samba configuration file. You should read the
    # smb.conf(5) manual page in order to understand the o
  • FiSH encryption module for irssi

    948090·cpp·31.9 KB·2008-03-18 21:50 UTC
    // FiSH encryption module for irssi, v0.99
    
    #include "FiSH.h"
    
    // encrypt a message and store in bf_dest (using key for target)
    static int FiSH_encrypt(char *msg_ptr, const char *target, char
  • Something

    948089·text·261 B·2008-03-18 21:50 UTC
    <?php
    
    if ( function_exists('register_sidebars') )
     register_sidebars(3,array(
     'before_widget' => '<li id="%1$s" class="widget %2$s">',
     'after_widget' => '</li>',
     'before
  • Something

    948088·text·261 B·2008-03-18 21:50 UTC
    <?php
    
    if ( function_exists('register_sidebars') )
     register_sidebars(3,array(
     'before_widget' => '<li id="%1$s" class="widget %2$s">',
     'after_widget' => '</li>',
     'before
  • Zeug

    948086·cpp·12.2 KB·2008-03-18 21:50 UTC
    /*
     * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public Lice
  • Mine

    948085·text·2.3 KB·2008-03-18 21:49 UTC
    //C-versio
    
    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>
    
    int main(int argc, char **argv) {
    
     unsigned int i, n, steps = 16;
     double phase, step = 1.0 / steps;
     double fx[
  • Unnamed

    948084·text·10.9 KB·2008-03-18 21:49 UTC
    <?xml version="1.0" encoding="UTF-8"?>
    
    <!--
     Sphinx-4 Configuration file
    -->
    
    <!-- ******************************************************** -->
    <!-- an4 configuration file
  • Diffie-Hellman 1080bit Key-excha

    948082·cpp·4.8 KB·2008-03-18 21:48 UTC
    // New Diffie-Hellman 1080bit Key-exchange
    
    /* For Diffie-Hellman key-exchange a 1080bit germain prime is used, the
    generator g=2 renders a field Fp from 1 to p-1. Therefore breaking it
    means to s
  • Anonymous

    948079·text·480 B·2008-03-18 21:47 UTC
    2008-03-17 21:20:02,119 cherrypy.msg INFO HTTP: Page handler: <bound method Grou
    p.sponsor of <fas.group.Group object at 0x8ad6e50>>
    Traceback (most recent call last):
     File "/usr/lib/python2.4/si
  • thephpfile

    948077·text·89.6 KB·2008-03-18 21:44 UTC
    
        
  • SHA-256 hash function

    948076·cpp·5.3 KB·2008-03-18 21:44 UTC
    /*
     * An implementation of the SHA-256 hash function, this is endian neutral
     * so should work just about anywhere.
     *
     * This code works much like the MD5 code provided by RSA. You sha_init()
     *

older pastes →