All pastesPublic feed

Public feed

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

    2093463·python·416 B·2011-11-10 01:23 UTC
    # -*- Coding: Latin-1 -*
    import os
    
    print("Entrez une année :")
    annee = input()
    annee = int(annee)
    bissextile = False
    
    if annee%400==0:
     bissextile = True
     elif annee%100==0:
     bissextile
  • Untitled

    2093458·lisp·1006 B·2011-11-10 00:34 UTC
    (defun all-operations (a b)
     (loop for op in '(+ - * /) collect (list op a b)))
    
    (defun extract (ll)
     (if (null ll) 
     ll
     (cons ll (loop for l in (extract (cdr ll)) collect (cons (car l)
  • Unnamed

    2093457·text·681 B·2011-11-10 00:29 UTC
    public static void sortByID()
     {
     String temp;
     Employee tmpEmp = new Employee();
     double tmpTotal, tmpTax, tmpNett;
     for (int j=1; j<recs; ++j)
     {
     for (int i=0; i<recs
  • Stuff

    2093455·text·1.3 KB·2011-11-10 00:17 UTC
    #include <stdlib.h>
    #include <windows.h>
    #include <stdio.h>
    #include <assert.h>
    
    typedef struct elem {
     struct elem* next;
    } elem;
    
    int main()
    {
     elem* head = 0;
     elem* curr, *lat
  • Untitled

    2093454·text·1.1 KB·2011-11-10 00:00 UTC
    X Protocol Version 11, Revision 0
    Build Operating System: FreeBSD 8.2-RELEASE-p1 i386 
    Current Operating System: FreeBSD eatpussy 8.2-RELEASE-p1 FreeBSD 8.2-RELEASE-p1 #0: Thu May 12 09:16:52 UTC 20
  • Anonymous

    2093453·text·1.2 KB·2011-11-09 23:12 UTC
    root@debian:/# apt-get install locales
    Reading package lists... Done
    Building dependency tree 
    Reading state information... Done
    locales is already the newest version.
    0 upgraded, 0 newly i
  • Stuff

    2093452·text·1.7 KB·2011-11-09 23:06 UTC
    root@debian:/bin# apt-get install locales
    Reading package lists... Done
    Building dependency tree 
    Reading state information... Done
    locales is already the newest version.
    0 upgraded, 0 newl
  • Anonymous

    2093451·text·14.1 KB·2011-11-09 22:58 UTC
    2011-11-10 00:54:12 Running command: "['C:\\Python27\\pythonw.exe', 'C:\\Program Files (x86)\\Google\\google_appengine\\dev_appserver.py', '--admin_console_server=', '--port=8080', 'C:\\Users\\Karl\\D
  • Stuff

    2093449·text·43.6 KB·2011-11-09 22:48 UTC
    
        
  • KVM PCI Passthrough Question

    2093448·text·13.7 KB·2011-11-09 22:47 UTC
    Goal: I want to pass the PCI-E device 04:00.0 to KVM, and keep the device 03:00.0 working on the host (it's got the host OS).
    
    proxmox:~# dmesg | grep -e DMAR -e IOMMU 
    ACPI: DMAR 00000000bf79e0c0
  • Something

    2093447·text·966 B·2011-11-09 22:45 UTC
    #talker on
    
    on 1:input:*: {
     if (!%co1) || (!%co2) { echo -a Please set the colors in the menu, or disable the talker. | halt }
     elseif (/ !iswm $left($1,1)) && (Status Window !iswm $active) {
  • Mine

    2093446·text·359 B·2011-11-09 22:35 UTC
    route -n get 172.21.27.10
     route to: 172.21.27.10
    destination: 172.21.27.0
     mask: 255.255.255.0
     gateway: 10.0.10.5
     interface: tun0
     flags: <UP,GATEWAY,DONE,STATIC,PRCLONING>
  • Untitled

    2093445·text·30.6 KB·2011-11-09 22:31 UTC
    00:00.056 [Main:UnityBootstrapper.Run] Logger was created successfully.
    00:00.075 [Main:UnityBootstrapper.Run] Creating module catalog.
    00:00.094 [Main:UnityBootstrapper.Run] Configuring module cata
  • Someone

    2093443·text·1.1 KB·2011-11-09 22:19 UTC
    daky@b0x00r:~/javalernen$ cat /etc/apt/sources.list
    #
    
    # deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official i386 NETINST Binary-1 20110628-13:01]/ squeeze main
    
    #deb cdrom:[Debian GNU/Linux
  • Anonymous

    2093440·text·389 B·2011-11-09 22:02 UTC
    Nov 9 22:20:19 tron postfix/smtpd[7979]: connect from myserver[xxx.xxx.xxx.xxx]
    Nov 9 22:20:19 tron postfix/smtpd[7979]: NOQUEUE: reject: RCPT from myserver[xxx.xxx.xxx.xxx]: 554 5.7.1 <recipient@a
  • Untitled

    2093439·text·969 B·2011-11-09 21:55 UTC
    #!/usr/bin/perl
    use strict;
    
    my $malefile = "malefirst.txt";
    my $femalefile = "femalefirst.txt";
    my $lastfile = "alllast.txt";
    my $domain = "\@eastcentral.edu";
    
    my $gender_choice = 0;
    my $nu
  • Miscellany

    2093438·text·677 B·2011-11-09 21:47 UTC
    #!/bin/bash
    
    # Carlos Ferry Sauterel - Ingenieria Ejecución Informática #
    
    MODELNAME=$( awk '/model name/ {print $4}' < cpuinfo )
    KERNELVERSION=$( awk '/Linux version/ {print $3}' < version )
  • Untitled

    2093437·text·356 B·2011-11-09 21:47 UTC
    wine
    zsh: command not found: wine
    
    which wine
    /usr/bin/wine
    
    /usr/bin/wine
    zsh: no such file or directory: /usr/bin/wine
    
    file /usr/bin/wine
    /usr/bin/wine: ELF 32-bit LSB executable, Intel
  • Something

    2093436·text·677 B·2011-11-09 21:45 UTC
    $ git log --pretty=short --author='mansour'
    commit 674bc6a29e9a33e0c057508f46f3c9b6035a3e96
    Author: Mansour Moufid <mansourmoufid@gmail.com>
    
     Fix typo in whatsnew-2.0.txt
    
    commit c8953d1b486
  • Unnamed

    2093435·text·2.5 KB·2011-11-09 21:40 UTC
    address_verify_map = btree:/usr/lib/postfix/verify
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    allow_percent_hack = no
    append_dot_mydomain = no
    biff = no
    broken_sasl_auth_c

older pastes →