All pastesPublic feed

Public feed

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

    2052950·cpp·199 B·2011-05-02 17:45 UTC
    while (!done)
     {
     see_what_user_has_pressed_if_anything()
     do_game()
     wait_250_ms_or_until_user_presses_key()
     }
    /*
    while(startTime >= 250)
    {
     //put code here...
    }
    */
  • Unnamed

    2052948·text·136 B·2011-05-02 17:40 UTC
    while (!done)
     {
     see_what_user_has_pressed_if_anything()
     do_game()
     wait_250_ms_or_until_user_presses_key()
     }
  • Someone

    2052944·text·3.7 KB·2011-05-02 17:23 UTC
    Features I'd like included:
    
    1. Rank system - the player types !wr to view the statistics of the ranked players in this format:
    NAME_HERE , Completed the map in xx.xx.xx, with xxx jumps, FPS: xxx
  • Miscellany

    2052942·text·1.2 KB·2011-05-02 17:19 UTC
    Fest der Ahnen
    
    [Chorus]
    Hebet die Hörner, hebet die Humpen
    trinket auf die alte zeit
    lasst fliesen den Wein, lasst fliesen das Bier
    auf die ahnen, nun trinken wir
    
    [Verse]
    die Eichenfässer n
  • Stuff

    2052927·c·243 B·2011-05-02 16:31 UTC
    #include <string.h>
    
    char* fileBuffer = new char[FLen];
    int rb;
    int readOffset = 0;
    int localBuffer[1024];
    
    while (rb = read(FHandle, localBuffer, 1024) != 0) {
     memcpy(fileBuffer + readOffset
  • something

    2052926·c·1.1 KB·2011-05-02 16:31 UTC
    const Arr=102400;
    char StrBuf[Arr];
    int FHandle;
    UnicodeString StrHld;
    UnicodeString Final,LStrHld;
    FILE *FileHLD;
    int Errhld=0;
    FTemp="";
    try{
    if(!FileExists(OpenDialog1->FileName))
    {if(!Fi
  • Untitled

    2052921·text·235 B·2011-05-02 16:16 UTC
    #!/bin/bash
    
    cd /home/user
    eval `dbus-launch --sh-syntax --exit-with-session`
    /usr/bin/X :0.0 -br -audit 0 -nolisten tcp vt7 &
    export DISPLAY=:0.0
    sleep 10
    gnome-panel &
    compiz --replace &
    sl
  • Unnamed

    2052916·text·363 B·2011-05-02 16:03 UTC
    pupsleep=0; $
     while ( SDL_PollEvent(&event) );$
     {$
     if (pupsleep > 10 || event.type == SDL_KEYUP || event.type == SDL_KEYDOWN || event.type == SDL_MOUSEBUTTONDOWN || options.cli_
  • apt/sources.list

    2052915·text·626 B·2011-05-02 16:02 UTC
    deb http://ftp.hk.debian.org/debian/ squeeze main non-free contrib
    
    deb http://ftp.jp.debian.org/debian/ squeeze main non-free contrib
    deb-src http://ftp.jp.debian.org/debian/ squeeze main non-free
  • Untitled

    2052914·text·19.8 KB·2011-05-02 16:00 UTC
    # dmesg
    wlan0: [8c:7b:9d:d6:65:ba] discard MPDU frame, BA win <3697:3760> (4 frames) rxseq 3661 tid 0 (retransmit)
    wlan0: [8c:7b:9d:d6:65:ba] discard MPDU frame, BA win <3697:3760> (4 frames) rxseq
  • Untitled

    2052913·text·22.3 KB·2011-05-02 15:59 UTC
    wlan0: [8c:7b:9d:d6:65:ba] recv ADDBA request: dialogtoken 148 baparamset 0x1002 (tid 0 bufsiz 64) batimeout 0 baseqctl 0:0
    wlan0: [8c:7b:9d:d6:65:ba] send ADDBA response: dialogtoken 148 status 0 ba
  • Stuff

    2052908·text·3.9 KB·2011-05-02 15:52 UTC
    [starlight@zero ~]$ wget http://downloads.sourceforge.net/project/anope/anope-devel/Anope%201.9.3/anope-1.9.3-source.tar.gz?r=http%3A%2F%2Fanope.org%2F&ts=1304351324&use_mirror=ovh
    [1] 29827
    [2] 298
  • Anonymous

    2052892·text·754 B·2011-05-02 15:41 UTC
    root@estinabox:/home/vbox/.VirtualBox# cat vboxwebsrv.log 
    00:00:00.003 main VirtualBox web service 4.0.6 r71344 linux.amd64 (Apr 21 2011 11:51:24) release log
    00:00:00.003 main Log opened 2
  • Miscellany

    2052891·text·2.1 KB·2011-05-02 15:41 UTC
    root@estinabox:/home/vbox/.VirtualBox# /etc/init.d/vboxweb-service start
    + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/bin:/sbin:/usr/sbin
    + DEBIAN=yes
    + NOLSB=
    + [ -f /lib/
  • Anonymous

    2052890·text·13.1 KB·2011-05-02 15:33 UTC
    execve("/usr/sbin/chroot", ["chroot", "/mnt/disk/", "/bin/bash"], [/* 39 vars */]) = 0
    brk(0) = 0x945b000
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No suc
  • Miscellany

    2052888·text·2.4 KB·2011-05-02 15:31 UTC
    root@estinabox:/etc/init.d# /etc/init.d/vboxweb-service start
    + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/bin:/sbin:/usr/sbin
    + DEBIAN=yes
    + NOLSB=
    + [ -f /lib/lsb/init-fu
  • Miscellany

    2052885·text·879 B·2011-05-02 15:24 UTC
    root@estinabox:/etc/init.d# su vbox --command "vboxwebsrv -H localhost -p 8080 -t 20 -i 5"
    Oracle VM VirtualBox web service version 4.0.6
    (C) 2005-2011 Oracle Corporation
    All rights reserved.
    00:0
  • Untitled

    2052883·text·10.5 KB·2011-05-02 15:21 UTC
    wlan0: [8c:7b:9d:d6:65:ba] discard MPDU frame, BA win <94:157> (0 frames) rxseq 80 tid 0 (retransmit)
    wlan0: [8c:7b:9d:d6:65:ba] discard MPDU frame, BA win <94:157> (0 frames) rxseq 81 tid 0 (retrans
  • Miscellany

    2052881·text·9.0 KB·2011-05-02 15:17 UTC
    --------[ AIDA64 Extreme Edition ]--------------------------------------------------------------------------------------
    
     Версия AIDA64 v1.00.1111/ru
  • Anonymous

    2052880·text·226 B·2011-05-02 15:15 UTC
    src/gz snapshots http://wifi.ozo.com/airo/openwrt/firmware/kamikaze/2.6/ar71xx/RB/26751/packages
    dest root /
    dest ram /tmp
    lists_dir ext /var/opkg-lists
    option overlay_root /overlay
    option http_p

older pastes →