New paste›Public feed

Public feed

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

    956637·text·3.5 KB·2008-03-25 13:31 UTC
    Intro:
    My reason for this "Tutorial" is to make you aware that there might be other, safer, alternatives out there. I will try to explain the basics and then I will give you some links where you can
  • Stuff

    956636·text·916 B·2008-03-25 13:31 UTC
    #!/bin/bash
    
    index() {
     usedext=0
     for (( i=0; i < ${#exts[@]}; i++ )); do
     if [ "${exts[i]}" = "$1" ]; then
     usedext=1
     (( counts[i]++ ))
     i=${#exts[@]}
     fi
     done
     if [ $
  • jforbes

    956634·text·1.2 KB·2008-03-25 13:28 UTC
    flavor ~MySQL-python.threadsafe, ~X, ~!alternatives, ~bootstrap, ~builddocs, ~buildtests, ~cross, ~desktop, ~dietlibc, ~!dom0, ~!domU, ~emacs, ~gcj, ~glibc.tls, ~gnome, ~!grub.stati
  • Something

    956630·cpp·1.8 KB·2008-03-25 13:26 UTC
    BASS_ChannelGetData(chan,FFT,BASS_DATA_FFT8192);
    for (i=0;i<4096;i++)
    {
    temp=(sqrt(FFT[i]));
    tablica[i].z = log(temp)*scale;
    
    }
    
    glBegin(GL_QUADS);
    
    for (i=0;i<63;i++)
    {
    
     for (j=0;j<63
  • Anonymous

    956629·text·2.3 KB·2008-03-25 13:25 UTC
    Index: src/game/GameObject.cpp
    ===================================================================
    --- src/game/GameObject.cpp (revision 5490)
    +++ src/game/GameObject.cpp (working copy)
    @@ -528,9
  • Something

    956626·text·901 B·2008-03-25 13:22 UTC
    velbloud ~ # genlop -t konsole
     * kde-base/konsole
    
     Sat Nov 25 23:50:55 2006 >>> kde-base/konsole-3.5.5
     merge time: 2 minutes and 14 seconds.
    
     Sat Mar 3 04:49:55 2007 >>> kde-b
  • firewall

    956624·text·1.1 KB·2008-03-25 13:21 UTC
    # wlaczenie w kernelu forwardowania
    echo 1 > /proc/sys/net/ipv4/ip_forward
    # czyszczenie starych regul
    iptables -F
    iptables -X
    iptables -t nat -X
    iptables -t nat -F
    # ustawienie polityki dziala
  • ccfreak2k

    956621·text·1.5 KB·2008-03-25 13:15 UTC
    root@helios:~# ./timetest.sh
    24 Mar 12:24:56 ntpdate[5714]: adjust time server 72.167.54.201 offset 0.260485 sec
    24 Mar 13:24:56 ntpdate[6413]: step time server 72.167.54.201 offset 0.647119 sec
    24
  • Unnamed

    956618·text·119 B·2008-03-25 13:14 UTC
    class Foo {
     class Bar {
     public void doWhatever() {
     bar();
     }
     }
     public void bar() {
     }
    }
  • Untitled

    956616·text·1.3 KB·2008-03-25 13:12 UTC
    #!/bin/bash 
     
    myFileHodn="hodnoceni.txt"
    
     
     
    for (( i=1 ; i <= $# ; i++ )) ;do
     eval arg='$'$i
     if ["$arg" = "-h"] ;then i=`expr $i + 1`; eval arg='$'$i ; myFileHodn=$arg
     elif
  • Stuff

    956612·text·5.5 KB·2008-03-25 13:02 UTC
    ==> Making package: stfl 0.18-1 (Tue Mar 25 18:31:39 IST 2008)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
     -> Found stfl-0.18.tar.gz in
  • atti

    956599·text·10.2 KB·2008-03-25 12:45 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Tue Mar 25 14:45:11 EET 2008
    
    !!Linux Distribution
    !!------------------
    
    We
  • Mine

    956598·text·1.8 KB·2008-03-25 12:41 UTC
    Index: src/game/GameObject.cpp
    ===================================================================
    --- src/game/GameObject.cpp (revision 5489)
    +++ src/game/GameObject.cpp (working copy)
    @@ -528,9
  • timmeh

    956597·python·9.0 KB·2008-03-25 12:41 UTC
    import re
    import sys
    import pretty
    
    class token:
    
     unknown = 0
     number = 1
     mnemonic = 2
     label = 3
     address = 4
     identifier = 5
     line = 6
    
     def __init__(self, to
  • sam

    956596·text·23.2 KB·2008-03-25 12:41 UTC
    !!################################
    !!ALSA Information Script v 0.4.41
    !!################################
    
    !!Script ran on: Tue Mar 25 07:40:59 CDT 2008
    
    !!Linux Distribution
    !!------------------
    
    Ub
  • Unnamed

    956580·text·1.3 KB·2008-03-25 12:34 UTC
    CREATE PROCEDURE [dbo].[spGetCostCentre] 
     (
     @StaffID char(10),
     @PayDate datetime
     )
    AS
    BEGIN
     -- SET NOCOUNT ON added to prevent extra result sets from
     -- interfering with SELECT statement
  • Etwas

    956576·text·6.1 KB·2008-03-25 12:31 UTC
    STATUS | wrapper | 2008/03/25 13:29:43 | --> Wrapper Started as Console
    STATUS | wrapper | 2008/03/25 13:29:44 | Launching a JVM...
    INFO | jvm 1 | 2008/03/25 13:29:44 | Wrapper (Version 3.1.2
  • Something

    956575·text·214 B·2008-03-25 12:31 UTC
    <?php
     $email = $_REQUEST['email'] ;
     $message = $_REQUEST['message'] ;
    
     mail( "gizmoguy@gmail.com", "Feedback Form Results",
     $message, "From: $email" );
     header( "thankyou.html" );
    ?>
  • Something

    956573·text·223 B·2008-03-25 12:30 UTC
    <?php
     $email = $_REQUEST['email'] ;
     $message = $_REQUEST['message'] ;
    
     mail( "webby1411993@googlemail.com", "Feedback Form Results",
     $message, "From: $email" );
     header( "thankyou.htm
  • Something

    956572·text·209 B·2008-03-25 12:29 UTC
    <?php
     $email = $_REQUEST['email'] ;
     $message = $_REQUEST['message'] ;
    
     mail( "webby1411993@googlemail.com", "Feedback Form Results",
     $message, "From: $email" );
     header( "thankyou.htm

older pastes →