New paste›Public feed

Public feed

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

    1345306·text·329 B·2009-02-23 22:41 UTC
    open Printf
    open Sys
    
    let rec gcd(a,b) =
     if b=1 then 1 else
     let rest = a mod b
     in
     if rest = 0 then b else gcd(b,rest)
    
    let rec func n i acc =
     if i == n then acc+1
     else if gc
  • ergasthrio

    1345304·text·317 B·2009-02-23 22:40 UTC
    import Prelude
    
    gcd2 a b =
     if b == 1 then 1 else
     let rest = a `mod` b
     in
     if rest == 0 then b else gcd2 b rest
     
    
    fun n i acc
     | i == n = acc+1
     | gcd i n /= 1 = fun
  • Time Return Function

    1345289·vbnet·1.3 KB·2009-02-23 22:15 UTC
    ' CerebroJD's Solution to VBScript's Time Format Shortfalls
    ' =========================================================
    ' 1 = 24-hour time HH:mm
    ' 2 = 12-hour time hh:mm
    ' 3 = 12-hour time hh:mm (
  • Anonymous

    1345211·text·14.5 KB·2009-02-23 20:36 UTC
    name of display: :0.0
    display: :0 screen: 0
    direct rendering: Yes
    server glx vendor string: SGI
    server glx version string: 1.2
    server glx extensions:
     GLX_ARB_multisample, GLX_EXT_import_con
  • Miscellany

    1345209·text·6.0 KB·2009-02-23 20:33 UTC
    # menu.lst - See: grub(8), info grub, update-grub(8)
    # grub-install(8), grub-floppy(8),
    # grub-md5-crypt, /usr/share/doc/grub
    # and /usr/share/doc/grub-doc/.
    splas
  • Untitled

    1345177·c·5.3 KB·2009-02-23 19:52 UTC
    /* $Id: plugin_fifo.c 954 2009-01-12 20:16:39Z michux $
     * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/plugin_fifo.c $
     *
     * plugin template
     *
     * Copyright (C) 2008 Michael Vogt <michu@neoph
  • pa forums black mod

    1345165·css·2.5 KB·2009-02-23 19:37 UTC
    html {
     background: #000 !important;
    }
    body {
     background: #000 !important;
     color: #aaa !important;
     font-size: 10.5pt !important;
    }
    
    a {
     border-bottom: none !important;
    }
    a:hover {
     ba
  • JWFox

    1345150·text·3.7 KB·2009-02-23 19:19 UTC
    install: you may need to run ldconfig
    gmake[1]: Leaving directory `/var/tmp/portage/sys-libs/readline-6.0/work/readline-6.0/shlib'
     *
     * ERROR: sys-libs/readline-6.0 failed.
     * Call stack:
     *
  • Unnamed

    1345069·text·66.3 KB·2009-02-23 17:26 UTC
    
        
  • Untitled

    1345066·text·188 B·2009-02-23 17:20 UTC
    tyrion@hydra-ubuntu:~$ cat ~/.ssh/config 
    Host *
     ServerAliveCountMax 4
     ServerAliveInterval 15
    
    Host skynet
     HostName skynet.ie
     Port 22
     LocalForward 1194 private.huggl.es:1194
  • DelaySEOFactory

    1345062·asp·5 B·2009-02-23 17:17 UTC
    empty
  • Something

    1345034·text·1.2 KB·2009-02-23 16:40 UTC
    erinmargault: rpm name match `openoffice.org-l':
     openoffice.org-l10n-af
     openoffice.org-l10n-ar
     openoffice.org-l10n-bg
     openoffice.org-l10n-br
     openoffice.org-l10n-bs
     openoffice.o
  • Popescu Ionut

    1344989·cpp·11.5 KB·2009-02-23 15:26 UTC
    // Liste simplu inlantuite - Alocare dinamica
    // Autor: Popescu Ionut
    // http://www.rstcenter.com
    
    #include<iostream.h>
    
    // Structura in care memoram nodurile
    
    struct Nod
    {
     int inf; /
  • Anonymous

    1344961·text·1.5 KB·2009-02-23 15:07 UTC
    misc: rpm name match `flash':
     dell-bmcflash
     dell-bmcflash-debug
     dell-lsiflash
     dell-lsiflash-debug
     edos-mandriva-manual-tests-flash
     firefox-ext-flashgot
     firefox-ext-flashgot
  • www.xlxx.com

    1344890·text·14 B·2009-02-23 13:15 UTC
    èyfgdqbhjfrzq
  • Unbenannt

    1344846·text·9.2 KB·2009-02-23 11:07 UTC
    #coding:utf-8
    #
    # (c) 2008 Jan-Simon Mller, dl9pf@gmx.de
    # License: GPLv2
    #
    # Script for the opensuse weekly newsletter statistics
    
    import re
    import urllib
    from BeautifulSoup import Beautiful
  • Mine

    1344831·text·481 B·2009-02-23 10:30 UTC
    import java.io.File;
    import javax.swing.JOptionPane;
    
    class MainMethod{
     
     // Main Method
     public static void main (String args[]){
     
     /*boolean ex = (new File("Data/X.PNG")).exists();
  • Untitled

    1344830·text·481 B·2009-02-23 10:28 UTC
    import java.io.File;
    import javax.swing.JOptionPane;
    
    class MainMethod{
     
     // Main Method
     public static void main (String args[]){
     
     /*boolean ex = (new File("Data/X.PNG")).exists();
  • Anonymous

    1344828·text·10.6 KB·2009-02-23 10:27 UTC
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    
    public class WordSearch extends JFrame implements ActionListener { 
    
     private JMenuBar menuBar;
     private JButton menuIte
  • root

    1344746·text·25.4 KB·2009-02-23 06:44 UTC
    !!################################
    !!ALSA Information Script v 0.4.48
    !!################################
    
    !!Script ran on: Mon Feb 23 03:44:35 BRT 2009
    
    !!Linux Distribution
    !!------------------
    
    Ub

older pastes →