-
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
-
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
(
-
2074638·text·646 B·2011-06-04 15:55 UTC
categories = [
("general",["name","description","side","category","footprintx",footprinty","movementclass","buildcostenergy,"buildcostmetal","maxdamage","corpse",|]),
("movement"
-
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)
-
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
-
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 ] ;
-
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
-
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
-
2074629·text·223.6 KB·2011-06-04 15:43 UTC
-
2074626·text·223.8 KB·2011-06-04 15:34 UTC
-
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
-
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
(
-
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))
-
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
-
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
-
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
-
2074604·text·34.5 KB·2011-06-04 14:32 UTC
-
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++) {
-
2074601·text·62.2 KB·2011-06-04 14:26 UTC
-
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