All pastesPublic feed

Public feed

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

    2053471·c·469 B·2011-05-03 14:01 UTC
    /* Lab - 6 */
    
    domains
     
     E = string*
     T = string
     
    predicates
    
     enter_list(E)
     test(E).
     program.
    
    goal
    
     program.
     
    /* santa */
    clauses
     
     program:-
     write("\nВведите список\n(т
  • Mine

    2053470·cpp·469 B·2011-05-03 14:00 UTC
    /* Lab - 6 */
    
    domains
     
     E = string*
     T = string
     
    predicates
    
     enter_list(E)
     test(E).
     program.
    
    goal
    
     program.
     
    /* santa */
    clauses
     
     program:-
     write("\nВведите список\n(т
  • Untitled

    2053469·text·201 B·2011-05-03 13:56 UTC
    notebook02 ~ # pquery --raw app-office/koffice-meta
    app-office/koffice-meta-2.2.2
    app-office/koffice-meta-2.3.3
    notebook02 ~ # pmerge app-office/koffice-meta
    !!! app-office/koffice-meta: no matche
  • Anonymous

    2053468·text·2.1 KB·2011-05-03 13:54 UTC
    /* 2. Nibbles
    Definieren Sie eine Klasse nibbles, die ein (privates) Nibble repräsentiert,
    das einen der Werte von 0 bis 15 darstellt, also nur aus 4 Bit besteht.
    Größere oder kleinere Werte sind d
  • Unnamed

    2053466·text·1.6 KB·2011-05-03 13:51 UTC
    public static boolean isPeriodoDentroMesSeguinte(FeriasPeriodo periodoNEW, FeriasPeriodo periodoDB) {
     
     
     //Representa data com período mês/ano seguinte ao atual. Ex.: se o mês atual é maio/201
  • Stuff

    2053465·text·2.1 KB·2011-05-03 13:51 UTC
    #!/bin/sh
    if [ $# -ne 3 ]; then
     echo "Invalid Number of parameters"
     exit 1;
    fi
    PRJROOT=$1
    SUFF=$2
    FILE=$3
    
     cp $PRJROOT/Tools/database/$FILE $PRJROOT/QUIK/src/main/sql/agent/environment
  • Miscellany

    2053464·java·554 B·2011-05-03 13:50 UTC
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    public class test {
    
     /**
     * @param args
     */
     public static void main(String[] args) {
     String text = "<td class=\"tableb
  • No sound on Ubuntu 11.04

    2053458·text·111.2 KB·2011-05-03 13:28 UTC
    
        
  • Anonymous

    2053454·text·591.0 KB·2011-05-03 13:15 UTC
    
        
  • Someone

    2053450·text·288 B·2011-05-03 12:57 UTC
    ~ $ cat test.php
    <?php
    
    $x = 1;
    switch ($x) {
    case $x++:
     print "here\n";
     break;
    case $x:
     print "there\n";
    }
    
    switch ((int)$x) {
    case $x++:
     print "here\n";
  • Miscellany

    2053449·text·2.1 KB·2011-05-03 12:53 UTC
    10 Extractor M:29 G:0
    10 Overlord M:101 G:0
    10 ExtractorTrick M:81 G:0
    10 +1 Drone on gas M:6 G:0
    11 SpawningPool M:201 G:17
    12 +1 Drone on gas M:5 G:27
    12 +1 Drone on gas M:5 G:27
    15 O
  • Miscellany

    2053448·text·375 B·2011-05-03 12:48 UTC
    def mean_and_stdev(list):
     mean=sum(list)/len(list)
     sdsq = sum([(i - mean) ** 2 for i in list])
     stdev = (sdsq / (len(list) )) ** .5
     return mean,stdev
    
    def get_mean_and_stdev(list):
     m
  • Anonymous

    2053442·text·2.2 KB·2011-05-03 12:32 UTC
    make[4]: [/home/alextai/fonosfera-devel/trunk/openwrt/build_dir/linux-fonera2n/linux-2.6.21/.configured] Error 2 (ignored)
    rm -rf /home/alextai/fonosfera-devel/trunk/openwrt/build_dir/linux-fonera2n/
  • Mine

    2053440·text·1.2 KB·2011-05-03 12:23 UTC
    ~$ cat sier.c
    #include <stdio.h>
    
    int main() {
     int a=1<<10;
     while(a--){putchar(040+0b11*!((a^((a>>5)&a))&037));if(!(a&0x1F))putchar('\n');}
    }
    
    ~$ ./sier 
    ################################
  • Miscellany

    2053437·text·1003 B·2011-05-03 12:07 UTC
    2011-05-03 13:17:34 +04:30 --- info: PID: 31953 Time: 900.1621 Memory: 7.73MB URI: message_queue/frontend/server/common/keep_alive IP:Unknown
    2011-05-03 13:02:34 +04:30 --- info: SADERAT VERIFY order
  • Anonymous

    2053436·text·446 B·2011-05-03 12:04 UTC
    ~ $ cat test.py
    from snakeoil.weakrefs import WeakRefFinalizer
    import gc
    
    class foo(object):
     __metaclass__ = WeakRefFinalizer
     def __init__(self, attr):
     self.attr = attr
     def
  • Mine

    2053434·text·7.6 KB·2011-05-03 11:53 UTC
    # 
    # General settings
    #
    
    # the path to the widget directory
    #setWidgetPath ""
    
    # the color of the bar
    setBarColor #252B3E
    
    # the color of the text displayed in the bar
    setTextColor #9F97A3
  • Miscellany

    2053433·text·6.9 KB·2011-05-03 11:52 UTC
    Bugreport
    
    DATE/TIME: Tue May 3 10:52:22 CEST 2011]
    VERSION: 1.3rc1
    HOSTNAME: localhost.localdomain
    EXECUTABLE: /usr/bin/tclsh
    SCRIPT: 
    
    SYSTEM:
    -------
    TCL: 8.5.9
    OS: L
  • Anonymous

    2053431·text·859 B·2011-05-03 11:51 UTC
    l# apt-get -o DPkg::Options::="--force-confmiss" --reinstall install mysql-server-5.0
    Reading package lists... Done
    Building dependency tree 
    Reading state information... Done
    0 upgraded, 0
  • Untitled

    2053430·text·1.5 KB·2011-05-03 11:42 UTC
    # apt-get -o DPkg::Options::="--force-confmiss" --reinstall install mysql-server 
    Reading package lists... Done
    Building dependency tree 
    Reading state information... Done
    The following N

older pastes →