All pastesPublic feed

Public feed

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

    2074614·text·351 B·2011-06-04 15:00 UTC
    (defun fak (a)
     if (eq a 1)
     (
     1
     )else
     (
     (* a fak(- a 1 ))
     )
    )
     
    (fak 3)
    
    (defun binom (n k)
     if (eq k 0)
     (
     0
     )else
     (
  • Someone

    2074613·text·190 B·2011-06-04 15:00 UTC
    (defun caesar( l d)
     (setq r '() )
     (while (!= l () ) )
     (
     ( cons ( ( + (pop l) d) r) ) 
     )
     (reverse r)
    )
    
    (setq somelist '(1 2 3 4))
    
    (caesar (somelist 2))
  • Anonymous

    2074608·text·13.2 KB·2011-06-04 14:39 UTC
    C:\Windows\system32\cmd.exe /c python main.py
    Sat Jun 04 16:39:12 2011 profile
    
     3612422 function calls in 30.857 CPU seconds
    
     Ordered by: cumulative time
    
     ncalls tottime per
  • Anonymous

    2074607·text·2.4 KB·2011-06-04 14:38 UTC
    C:\Windows\system32\cmd.exe /c python main.py
    Sat Jun 04 16:35:56 2011 profile
    
     3285200 function calls in 30.826 CPU seconds
    
     Ordered by: cumulative time
     List reduced from 178
  • vdr01

    2074606·text·5.0 KB·2011-06-04 14:37 UTC
    Section "ServerLayout"
     Identifier "X.org Configured"
     Screen 0 "Screen0" 0 0
     InputDevice "Mouse0" "CorePointer"
     InputDevice "Keyboard0" "CoreKeyboard"
     Option "AuotAddDevices
  • vdr01

    2074604·text·34.5 KB·2011-06-04 14:32 UTC
    
        
  • Mine

    2074602·java·560 B·2011-06-04 14:30 UTC
    int i = 0;
     int j = 0;
     
     outerLoop:
     for (i = 0; i < 5; i++) {
     System.out.printf("i = %d\n", i);
     innerLoop:
     for (; j < 3; j++) {
  • vdr01

    2074601·text·62.2 KB·2011-06-04 14:26 UTC
    
        
  • Anonymous

    2074594·objectivec·951 B·2011-06-04 13:52 UTC
    - (void)stream:(NSStream *)stream handleEvent:(NSStreamEvent)eventCode {
     switch(eventCode) {
     case NSStreamEventHasBytesAvailable:
     {
     uint8_t buf[100];
     u
  • Untitled

    2074592·text·1.4 KB·2011-06-04 13:49 UTC
    All products by these companies are vegan:
    
     - Ace Cider
     - Blue Mountain Cider Company
     - Wyder's Cider Company
     - Thatchers Cider
     - Thornbury Village Cidery
     - Sheppy's Cider Has Some Vegan
  • Untitled

    2074590·java·7.5 KB·2011-06-04 13:34 UTC
    package me.juze.DropPlugin;
    
    import org.bukkit.event.block.BlockBreakEvent;
    import org.bukkit.event.block.BlockListener;
    import org.bukkit.inventory.ItemStack;
    import org.bukkit.Material;
    
    publ
  • Someone

    2074589·java·3.8 KB·2011-06-04 13:30 UTC
    package me.juze.DropPlugin;
    
    import java.io.*;
    import java.util.logging.Logger;
    import org.bukkit.util.config.Configuration;
    
    public class ConfigHandler {
     
     Configuration file;
     Boolea
  • Something

    2074588·text·2.4 KB·2011-06-04 13:28 UTC
    C:\Windows\system32\cmd.exe /c python main.py
    Sat Jun 04 15:20:00 2011 profile
    
     4371479 function calls (4368180 primitive calls) in 31.058 CPU seconds
    
     Ordered by: cumulative time
  • Anonymous

    2074587·java·7.5 KB·2011-06-04 13:27 UTC
    package me.juze.DropPlugin;
    
    import org.bukkit.event.block.BlockBreakEvent;
    import org.bukkit.event.block.BlockListener;
    import org.bukkit.inventory.ItemStack;
    import org.bukkit.Material;
    
    publ
  • Untitled

    2074582·vb·1.1 KB·2011-06-04 13:10 UTC
    Sub gah()
     Dim weeks, absent As Integer
     Dim here As Boolean
     absent = 0
     here = False
     Range("B6").Select
     Do Until IsEmpty(ActiveCell.Offset(0, 1))
  • Anonymous

    2074581·objectivec·694 B·2011-06-04 13:04 UTC
    - (void)stream:(NSStream *)stream handleEvent:(NSStreamEvent)eventCode {
     switch(eventCode) {
     case NSStreamEventHasBytesAvailable:
     {
     uint8_t buf[1];
     uns
  • Anonymous

    2074580·text·694 B·2011-06-04 13:04 UTC
    - (void)stream:(NSStream *)stream handleEvent:(NSStreamEvent)eventCode {
     switch(eventCode) {
     case NSStreamEventHasBytesAvailable:
     {
     uint8_t buf[1];
     uns
  • Untitled

    2074579·text·1.1 KB·2011-06-04 12:58 UTC
    Sub gah()
     Dim weeks, absent As Integer
     Dim here As Boolean
     absent = 0
     here = False
     Range("B6").Select
     Do Until IsEmpty(ActiveCell.Offset(0, 1))
  • Anonymous

    2074578·text·709 B·2011-06-04 12:55 UTC
    - (void)stream:(NSStream *)stream handleEvent:(NSStreamEvent)eventCode {
     switch(eventCode) {
     case NSStreamEventHasBytesAvailable:
     {
     uint8_t buf[1];
     uns
  • Unnamed

    2074577·csharp·657 B·2011-06-04 12:49 UTC
    MailAddress recipient1 = new MailAddress("foo@contoso.com");
     MailAddress recipient2 = new MailAddress("bar@contoso.com");
     MailAddress sender = new MailAddress("th

older pastes →