New paste›Public feed

Public feed

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

    910341·text·636 B·2008-02-19 21:48 UTC
    first algo
    
    A[] =7 2 5 1 6
    n= 5
    
    i | j | A[j] > A[j+1] | A[0] A[1] A[2] A[3] A[4]
    -----------------------------------------------------
    0 0 true | 2 7 5 1 6
    0 1 true | 2 5 7 1 6
    0 2 true
  • Untitled

    910338·text·623 B·2008-02-19 21:46 UTC
    #include <iostream>
    #include <sstream>
    using namespace std;
    
    int main (int argc, char * const argv[]) {
     char szHexInput [9];
     char szHexFixed [9];
     stringstream ssHexInputFixed, ssByteBuffer,
  • Someone

    910337·text·207 B·2008-02-19 21:46 UTC
    bufsize| read | write
    4k | 666 kB/s | 463 kB/s
    8k | 699 kB/s | 511 kB/s
    16k | 738 kB/s | 545 kB/s
    32k | 756 kB/s | 565 kB/s
    64k | 770 kB/s | 577 kB/s
    128k | 772 kB/s | 579
  • Miscellany

    910336·text·1.6 KB·2008-02-19 21:46 UTC
    //********************************************************************
    // WinPercentage.java Author: Saiful Islam
    //
    // Finds the win percentage of a certain team.
    //**********************
  • Anonymous

    910334·text·2.4 KB·2008-02-19 21:45 UTC
    ====polls/urls.py====
    #from django.conf.urls.defaults import *
    
    #urlpatterns = patterns('mysite.polls.views',
    # (r'^$', 'index'),
    # (r'^(?P<poll_id>\d+)/$', 'detail'),
    # (r'^(?P<poll_id
  • Stuff

    910333·text·1.2 KB·2008-02-19 21:45 UTC
    Traceback (most recent call last):
     File "enomalism2d", line 70, in <module>
     mods=model.variable.by_name('modules')
     File "<string>", line 1, in <lambda>
     File "c:\python25\lib\site-package
  • Something

    910329·text·6.8 KB·2008-02-19 21:42 UTC
    Problems with the code:
    
     :AMMMMMMMMMMMMA:
     :AMMMMMMMMMMMMMMMMMMA: 
     :AMMMMMMMMMHHHHHMMMMMMMMA: 
     :AMHMMMMHHMHIHHIMMMHMMMMHH
  • Stuff

    910328·text·493 B·2008-02-19 21:40 UTC
    public cmd_dmg(id)
    {
     if(is_user_alive(id) && id != 0) pug_msg_tmp_empty(id,"PUG_CMD_NOTALLOWED"); 
     else
     {
     if(read_argc() == 1) display_dmg_all(id)
     else
     {
     static name[32]
     read_a
  • Someone

    910325·text·623 B·2008-02-19 21:40 UTC
    client: 
    tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
     inet addr:172.17.0.6 P-t-P:172.17.0.5 Mask:255.255.255.255
     UP POINTOPOINT RUNNING
  • Something

    910323·text·9.2 KB·2008-02-19 21:37 UTC
    menu * { 
     --Az437-- DISCOO { 
     if ($exists($qt($mircdirfreedom.mp3))) && ($file($qt($mircdirfreedom.mp3)).size >= 8796744) { 
     dialog -md disco disco 
     } 
     else { 
     dialog -
  • Unnamed

    910322·text·9.2 KB·2008-02-19 21:37 UTC
    menu * { 
     --Az437-- DISCOO { 
     if ($exists($qt($mircdirfreedom.mp3))) && ($file($qt($mircdirfreedom.mp3)).size >= 8796744) { 
     dialog -md disco disco 
     } 
     else { 
     dialog -
  • Stuff

    910321·java·646 B·2008-02-19 21:36 UTC
    import static java.lang.System.*;
    import java.text.NumberFormat;
    
    public class Autobox {
     public static void main(String[] args) throws java.text.ParseException {
     NumberFormat nf = NumberFormat
  • Someone

    910319·text·820 B·2008-02-19 21:34 UTC
    The books main characters are three teenagers named Mark, Hannah and Kara. 
    They are going to participate in a contest for the popular teenage program 
    "What's hot?", and the winner is going to get
  • Miscellany

    910318·text·819 B·2008-02-19 21:34 UTC
    The books main characters are three teenagers named Mark, Hannah and Kara. 
    They are going to participate in a contest for the popular teenage program 
    "What's hot?", and the winner is going to get
  • Something

    910316·text·1.6 KB·2008-02-19 21:33 UTC
    $ grep jack yum.list 
    jack-audio-connection-kit.x86_64 0.103.0-1.fc7 installed 
    jack-audio-connection-kit-devel.x86_64 0.103.0-1.fc7 installed 
    qjackctl.x86_
  • Unnamed

    910309·text·1.1 KB·2008-02-19 21:29 UTC
    don@don-main:~$ diff mail.sysctl holo.sysctl |grep "> "|sed -e 's/^> //g'
    net.ipv4.ip_conntrack_max = 16376
    net.ipv4.netfilter.ip_conntrack_buckets = 2047
    net.ipv4.netfilter.ip_conntrack_count = 8
  • Something

    910308·text·2.1 KB·2008-02-19 21:28 UTC
    [ 81%] Built target kaddressbookpart
    [ 82%] Built target kaddrbk_cryptosettings
    [ 82%] Building CXX object akregator/src/CMakeFiles/akregatorpart.dir/frame.o
    /home/stephen/kdesvn/kdepim/akregator/s
  • Unnamed

    910307·text·599 B·2008-02-19 21:26 UTC
    don@don-main:~$ diff mail.sysctl holo.sysctl |grep "> "|sed -e 's/^> //g'
    net.ipv4.ip_conntrack_max = 16376
    net.ipv4.netfilter.ip_conntrack_buckets = 2047
    net.ipv4.netfilter.ip_conntrack_count = 8
  • Stuff

    910304·mirc·191 B·2008-02-19 21:24 UTC
    on *:TEXT:!W1E3*:#:{
     if ($nick isop $chan) {
     set %w1e3 $2-
     notice $nick 4The Event is changed to:7 %w1e3
     }
     else { 4You do not have permision to change/add events. }
    }
  • Miscellany

    910303·text·2.1 KB·2008-02-19 21:22 UTC
    ucasemap.c: In function 'caseMap':
    ucasemap.c:505: warning: passing argument 1 of '_toTitle' discards qualifiers from pointer target type
    i686-pc-linux-gnu-gcc -D_REENTRANT -I. -I../i18n -DU_COMMO

older pastes →