New paste›Public feed

Public feed

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

    912511·text·896 B·2008-02-21 12:52 UTC
    debian:/home/andre# apt-get install mythtv
    Lecture des listes de paquets... Fait
    Construction de l'arbre des dépendances... Fait
    Certains paquets ne peuvent être installés. Ceci peut signifier
    que
  • Python

    912510·python·15.0 KB·2008-02-21 12:52 UTC
    # -*- test-case-name: couchdb.test.test_couchdb -*-
    # -*- coding: utf-8 -*-
    #
    # Copyright (C) 2007-2008 Christopher Lenz
    # Copyright (C) 2008 Federico Stella
    # All rights reserved.
    #
    # Redistribution
  • Unnamed

    912507·html·264 B·2008-02-21 12:51 UTC
    <!-- blabla.tpl -->
    {assign var=onslide_handler value=$input_id|string_format:'function (value){$("%s").value = value;}'}
    <!-- результат: -->
    Smarty error: [in file:blabla.tpl line ...]: syntax err
  • Anonymous

    912506·text·101 B·2008-02-21 12:50 UTC
    def funkcija():
     varijablja = [ 'foo' ]
    
     def nijelambda():
     varijabla[0] = 'bar'
    
    ....
  • Stuff

    912504·text·810 B·2008-02-21 12:48 UTC
    ---ERRORS /START---
    W: Couldn't stat source package list http://http.us.debian.org stable/free Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_free_binary-i386_Packages) - stat (2
  • Something

    912503·text·569 B·2008-02-21 12:48 UTC
    // run on game start
    
     if BattleState.Battle.NATType = 1 then // "hole punching" method
     begin
     // let's acquire our public UDP source port from the server:
     InitWaitForm.ChangeCaption(M
  • Mine

    912502·text·452 B·2008-02-21 12:48 UTC
    Script.TryToRemoveUDPSourcePort;
     if not (BattleState.Status = Hosting) then
     case BattleState.Battle.NATType of
     0: ; // use default (system assigned) port
     1: Script.AddOrChangeKeyVa
  • Mine

    912501·text·452 B·2008-02-21 12:47 UTC
    Script.TryToRemoveUDPSourcePort;
     if not (BattleState.Status = Hosting) then
     case BattleState.Battle.NATType of
     0: ; // use default (system assigned) port
     1: Script.AddOrChangeKeyVa
  • grom358

    912500·java·10.1 KB·2008-02-21 12:46 UTC
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.Image;
    import java.awt.RenderingHints;
    import java.awt.Toolkit;
    import ja
  • Someone

    912499·text·728 B·2008-02-21 12:45 UTC
    // script.txt generation
    
     if not (BattleState.Status = Hosting) then
     case BattleState.Battle.NATType of
     0: ; // use default (system assigned) port
     1: Script.AddOrChangeKeyValue('GAM
  • Anonymous

    912498·text·493 B·2008-02-21 12:45 UTC
    // script creation
    
     if BattleState.Status = Hosting then
     begin
     Script.AddOrChangeKeyValue('GAME/HostIP','localhost');
     if BattleState.Battle.NATType = 1 then
     Script.AddOrChangeK
  • Anonymous

    912497·text·1.3 KB·2008-02-21 12:45 UTC
    config_opts['root'] = 'fedora-8-x86_64'
    config_opts['target_arch'] = 'x86_64'
    config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
    config_opts['macros']['%vendor'] = 'kwizart at gmail.co
  • Anonymous

    912495·text·493 B·2008-02-21 12:44 UTC
    // script creation
    
     if BattleState.Status = Hosting then
     begin
     Script.AddOrChangeKeyValue('GAME/HostIP','localhost');
     if BattleState.Battle.NATType = 1 then
     Script.AddOrChangeK
  • Someone

    912494·text·1.1 KB·2008-02-21 12:41 UTC
    procedure TBattleForm.OnStartGameMessage(var Msg: TMessage); // responds to WM_STARTGAME message
    var
     i,j: Integer;
     v,springexe: string;
     script:string;
     scriptGenerationResult: boolean;
    be
  • Mine

    912493·text·804 B·2008-02-21 12:39 UTC
    // used with "hole punching" NAT traversal technique
    procedure TBattleForm.PunchThroughNAT;
    var
     i: Integer;
    begin
     for i := 1 {skip the host} to BattleState.Battle.Clients.Count-1 do
     try
  • Mine

    912492·text·5 B·2008-02-21 12:35 UTC
    mnkl;
  • fic

    912490·java·2.3 KB·2008-02-21 12:32 UTC
    package oving5.card;
    
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ArrayList;
    
    public class Hand implements Iterabl
  • Easyxdcc popup

    912489·text·1.2 KB·2008-02-21 12:31 UTC
    1) Ajouter en haut du fichier popup.conf du dossier ".xchat2" (dans le dossier de votre nom d'utilisateur):
    
    =========Debut du code=======
    NAME SUB
    CMD EasyXdcc
    
    NAME Xdcclist bot
    CMD msg %s xd
  • Something

    912488·text·319 B·2008-02-21 12:30 UTC
    [meusdoc]
     comment = Public Directory
     path = /public
     guest ok = no
     valid users = %S
     browseable = yes
     public = yes
     writable = yes
     printable = no
     force create mode = 0777
  • Untitled

    912487·text·344 B·2008-02-21 12:29 UTC
    #include<iostream.h>
    #include<conio.h>
    int i=1,v[7],min;
    int min1(int v[],int n)
    {int a,b;
    if(i==n)
    return b;
    else
    {a=v[i];
    b=min1(v[i+1],n);
    if(a<b)
    return a;
    else
    return b;}};
    void m

older pastes →