All pastesPublic feed

Public feed

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

    2074642·text·460 B·2011-06-04 16:15 UTC
    ; Addiert eine Zahl d zu allen Elementen einer Liste
    ;Caesar-Code like, nur mit Zahlen
    
    (defun caesar( l d) ; Funktion caesar
     (setq r '() ) ;initailisiere leere Liste r
     (while (eq ( eq l
  • Miscellany

    2074641·text·706 B·2011-06-04 16:14 UTC
    ; Berechnet die Fakutaet und den Binomialkoeffizienten
    
    (defun fak (a) ; Funktion Fakultaet berechnen
     if (<= a 1) ; Trivialfall, komische Eingaben und Ende der Rekursion abfangen
     (
  • Something

    2074638·text·646 B·2011-06-04 15:55 UTC
    categories = [
     ("general",["name","description","side","category","footprintx",footprinty","movementclass","buildcostenergy,"buildcostmetal","maxdamage","corpse",|]),
     ("movement"
  • Stuff

    2074637·text·198 B·2011-06-04 15:53 UTC
    (defun caesar( l d)
     (setq r '() )
     (while (eq ( eq l () ) nil ))
     (
     ( cons ( ( + (pop l) d) r) ) 
     )
     (reverse r)
    )
    
    (setq somelist '(1 2 3 4))
    
    (caesar somelist 2)
  • Miscellany

    2074636·text·351 B·2011-06-04 15:51 UTC
    (defun fak (a)
     if (= a 1)
     (
     1
     )else
     (
     (* a fak(- a 1 ))
     )
    )
     
    (fak 3)
    
    (defun binom (n k)
     if (= k 0)
     (
     0
     )else
     (
     if
  • Unnamed

    2074635·text·10.6 KB·2011-06-04 15:48 UTC
    aubergine:redland wlach$ build
    
    =============
    Building module redland
    =============
    Entering /Users/wlach/git/libo/redland/raptor
    
    if [ -f ../unxmacxi.pro/misc/build/raptor-1.4.18.exists ] ;
  • Unnamed

    2074633·php·841 B·2011-06-04 15:45 UTC
    <?php
    $slider = query_posts(array('post_type' => 'slider_item'));
    
     
    ?>
     <!--Slider -->
     <div class="outer-slider">
     <ul id="slider">
     <?php
     foreach ($slider as
  • Stuff

    2074630·php·873 B·2011-06-04 15:44 UTC
    <?php
    $slider = query_posts(array('post_type' => 'slider_item', 'column_order' => 'menu_order'));
    
     
    ?>
     <!--Slider -->
     <div class="outer-slider">
     <ul id="slider">
     <?p
  • Unnamed

    2074629·text·223.6 KB·2011-06-04 15:43 UTC
    
        
  • Miscellany

    2074626·text·223.8 KB·2011-06-04 15:34 UTC
    
        
  • Something

    2074615·objectivec·1.0 KB·2011-06-04 15:03 UTC
    - (void)stream:(NSStream *)stream handleEvent:(NSStreamEvent)eventCode {
     switch(eventCode) {
     case NSStreamEventHasBytesAvailable:
     {
     uint8_t buf[256];
     N
  • 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

older pastes →