This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 30%] Building CXX object CMakeFiles/Towerdefense.dir/src/hud.cpp.o | |
In file included from /usr/include/c++/4.4/bits/localefwd.h:43, | |
from /usr/include/c++/4.4/string:45, | |
from /usr/local/include/osg/Object:21, | |
from /usr/local/include/osg/Node:18, | |
from /usr/local/include/osg/Group:17, | |
from /usr/local/include/osg/Transform:17, | |
from /usr/local/include/osg/Camera:17, | |
from /home/rincewind/realistictowerdefense/include/hud.h:2, | |
from /home/rincewind/realistictowerdefense/src/hud.cpp:1: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(net.cgrand.enlive-html/html-snippet | |
"<html><head></head> | |
<body> | |
<span itemprop='geo' itemscope | |
itemtype='http://data-vocabulary.org/Geo'> | |
<meta itemprop='latitude' content='45.499576' /> | |
<meta itemprop='longitude' content='-73.565958' /> | |
</span> | |
</body> | |
</html>") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let rec iterate fn prop start = | |
if prop start then start | |
else iterate fn prop (fn start) | |
let rec next node = | |
if is_left node then node |> right |> up |> firstChild | |
else node |> iterate up is_left |> next | |
let rec delete n off node = | |
let newnode = node |> toString |> boundedsubstring n off |> fromString |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map() { | |
while read line ; do | |
$1 "$line"; | |
done; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
primrec :: (a -> b) -> (a -> Int -> b -> b) -> (a -> Int -> b) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prelude> let church n f = foldl (.) id (map (\x -> f) [1..n]) | |
Prelude> let unchurch fun = fun (+1) 0 | |
Prelude> let mul = (.) | |
Prelude> let exp a b = ($) b a | |
Prelude> let exp2 m n f x = n m f x | |
Prelude> :t exp2 | |
exp2 :: t -> (t -> t1 -> t2 -> t3) -> t1 -> t2 -> t3 | |
Prelude> let exp1 m n = n m | |
Prelude> :t exp1 | |
exp1 :: t -> (t -> t1) -> t1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Learn more about F# at http://fsharp.net | |
#light | |
module Module1 | |
open System | |
open System.Collections.Generic | |
type Rope = Rope of int * int * RopeNode | |
and RopeNode = | |
Concat of Rope * Rope |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module test | |
#light | |
type 'element Tree = | |
| TreeNode of 'element Tree * 'element Tree | |
| TreeLeaf of 'element | |
type 'element Zipper = | |
| LeftNode of 'element Zipper * 'element Tree | |
| RightNode of 'element Zipper * 'element Tree | |
| Root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 06311538cd292e01cd5a720eb900cc92b8121a21 Mon Sep 17 00:00:00 2001 | |
From: robert.pfeiffer <robert.pfeiffer@0edcaff0-1f94-41fd-a3cc-b4922521d3a4> | |
Date: Thu, 28 Jan 2010 16:45:04 +0000 | |
Subject: [PATCH] populate task | |
git-svn-id: svn+ssh://svn.hpi.uni-potsdam.de/svn/branches/accounting@2729 0edcaff0-1f94-41fd-a3cc-b4922521d3a4 | |
--- | |
lib/tasks/populate.rake | 6 +++- | |
lib/tasks/populate_accounting.rake | 42 ++++++++++++++++++++++++++++++++++++ | |
2 files changed, 46 insertions(+), 2 deletions(-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Embedded webshell</title> | |
<script type="text/javascript" src="http://prototypejs.org/assets/2009/8/31/prototype.js"></script> | |
<script type="text/javascript" src="http://localhost:8081/rest/backend/eval.js"></script> | |
</head> | |
<body> | |
<h1>Embedded webshell</h1> | |
<div id="output" > </div> |