New paste›Public feed

Public feed

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

    930444·text·3.2 KB·2008-03-06 16:34 UTC
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="content-type" content="text/html; ch
  • Anonymous

    930441·text·15.7 KB·2008-03-06 16:31 UTC
    killall HAL ; /usr/pluto/bin/HAL
    HAL, v.2.0.0.44.0802262200
    Visit www.plutohome.com for source code and license information
    
    05 03/06/08 11:28:13.389 Creating child 2 <0xb78206c0>
  • Someone

    930440·text·1.1 KB·2008-03-06 16:30 UTC
    <html>
    <body>
    <table class="stocktable" cellspacing="0">
    
    <tbody><tr>
     <td class="stocktable">Market</td><td>&nbsp;</td>
     <td class="stocktable">LAST</td><td>&nbsp;</td>
    
     <td class="stocktabl
  • Miscellany

    930439·text·4.5 KB·2008-03-06 16:30 UTC
    [Icon Theme]
    Name=Crashbit
    Comment= A Tango & Gnome inspired Icon Theme.
    Inherits=Tango
    Example=x-directory-normal
    
    # KDE Specific Stuff
    DisplayDepth=32
    LinkOverlay=link_overlay
    LockOverlay=l
  • Jemand

    930437·text·678 B·2008-03-06 16:29 UTC
    if(strcmp(cmdtext, "/ticket", true) == 0)
     {
     if(PD[playerid]==1)
     {
     new nearcarid;
     nearcarid = GetClosestCar(playerid);
     if(0.0<=GetDistanceToCar(play
  • Combing Detection

    930436·diff·23.5 KB·2008-03-06 16:27 UTC
    Index: test/test.c
    ===================================================================
    --- test/test.c (revision 1331)
    +++ test/test.c (working copy)
    @@ -300,6 +300,13 @@
     fprintf( stderr
  • Mine

    930435·text·131 B·2008-03-06 16:26 UTC
    # clean up the spaces
     html = html.replace(' ', '')
     html = html.replace('\n', '')
     html = html.replace('\t', '')
  • Unnamed

    930434·text·1.2 KB·2008-03-06 16:26 UTC
    First of all, in tt_news's locallang.xml, change the "more" setting to:
    
    <label index="more"><![CDATA[<!--]]></label>
    
    Then, use this in tt_news TS:
    
    temp.tt_news_more_button = Read More
    
    plug
  • Meins

    930433·csharp·4.7 KB·2008-03-06 16:25 UTC
    public void FlyTo(P3d destination)
     {
     Random rnd = new Random();
     FrameLock fl = new FrameLock(false);
     fl.Lock();
     P3d me = new P3d(is
  • Something

    930432·text·903 B·2008-03-06 16:25 UTC
    drmOpenDevice: open result is 12, (OK)
    drmOpenByBusid: Searching for BusID pci:0000:00:02.0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 12, (OK)
    drmOpenByBusid: drmOpe
  • Stuff

    930430·text·373 B·2008-03-06 16:24 UTC
    # $row->{ttime} == 301.2
    # $row->{tcalls} == 1
    my $ttime = sprintf( "%1.02f", $row->{ttime} );
    my $a = ( ( $ttime * 60 ) / $row->{tcalls} );
    my $s = $ttime * 60;
    
    sprintf ( "%02d:%02d:%02d [%s]"
  • Untitled

    930429·text·682 B·2008-03-06 16:24 UTC
    <?xml version="1.0" encoding="utf-8"?>
    
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
     creationComplete="initApp()" backgroundAlpha="0">
    
    <mx:Script>
     import flash.display.*;
  • AsR0b

    930428·c·271 B·2008-03-06 16:24 UTC
    #include <stdio.h>
    
    int main() {
    int n,m=0,o=0;
     scanf("%d", &n);
     if (n == 0)
     printf("nem volt bemenet");
     else while(scanf("%d", &n) != 0) {
     m+=n
  • Untitled

    930427·text·558 B·2008-03-06 16:21 UTC
    'start button 2
    
     If Button2.Text = Button1.Text Or Button2.Text = Button3.Text Or Button2.Text = Button4.Text Then
     MsgBox("there is a mistake in row 1")
     Exit Sub
  • Miscellany

    930426·python·899 B·2008-03-06 16:19 UTC
    fracs = {"8x8x.3125":"8x8x5/16", "10x10x.625":"10x10x5/8", "6x6x.250":"6x6x1/4", "8x8x.500":"8x8x1/2"}
    f = open("c:/TEST.TXT", "r")
    rawlines = f.readlines()
    f.close
    for line in rawlines:
     line
  • Something

    930425·text·531 B·2008-03-06 16:19 UTC
    If Button1.Text = Button2.Text Or Button1.Text = Button3.Text Or Button1.Text = Button4.Text Then
     MsgBox("there is a mistake in row 1")
     Exit Sub
    
     End If
  • Miscellany

    930422·cpp·2.5 KB·2008-03-06 16:17 UTC
    #include <list>
    #include <boost/shared_ptr.hpp>
    
    using namespace std;
    using namespace boost;
    
    typedef list<int> array;
    typedef shared_ptr<array> array_ptr;
    
    static array_ptr
    merge(array_ptr
  • Anonymous

    930421·text·10.2 KB·2008-03-06 16:16 UTC
    16_HAL.log PlutoDHCP.log.1
    17_Asterisk.log pluto.log
    18_Text_To_Speech.log pluto.log.1
    20_LaunchOrbiter.sh.log remote_command.
  • Untitled

    930419·text·266 B·2008-03-06 16:15 UTC
    x|y=2x-4
    0|
    1|
    2|
    3|
    
     5|
     4|
     3|
     2|
     1|
    ______________0|_____________
    -5 -4 -3 -2 -1 |1 2 3 4 5
     -1|
  • Miscellany

    930418·text·515 B·2008-03-06 16:14 UTC
    # $row->{ttime} == 301.2
    my $ttime = sprintf( "%1.02f", $row->{ttime} );
    # $ttime == 301.20
    my $s = $ttime * 60;
    # $s == 301.2
    sprintf ( "%02d:%02d:%02d", $s / 3600, $s % 3600 / 60, $s % 60 );
    #

older pastes →