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 9e826f30ee3c84bb2f30558547fc465c5d727a3c Mon Sep 17 00:00:00 2001 | |
From: Johan Brinch <[email protected]> | |
Date: Fri, 9 Oct 2009 17:22:14 +0200 | |
Subject: [PATCH] added test data | |
--- | |
test-data.sql | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
1 files changed, 112 insertions(+), 0 deletions(-) | |
create mode 100644 test-data.sql |
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 1028a421cb7d7e9e38f4b8e50c240e6fd211c270 Mon Sep 17 00:00:00 2001 | |
From: Johan Brinch <[email protected]> | |
Date: Fri, 9 Oct 2009 18:19:00 +0200 | |
Subject: [PATCH] minor changes in comments | |
--- | |
schema.sql | 3 +++ | |
1 files changed, 3 insertions(+), 0 deletions(-) | |
diff --git a/schema.sql b/schema.sql |
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
56c56 | |
< alle elektroniske ydre enheder er bandlyste. | |
--- | |
> alle elektroniske hjælpemidler er bandlyste. | |
70c70 | |
< s: [overpædagogisk] Det er MEGET besværligt at installere en ny | |
--- |
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
#!/usr/bin/env zsh | |
# Dependencies: | |
# wget, Xvfb, ImageMagick, Xmonad/awesome/ratpoisen | |
# Configure path if neccessary | |
PATH=/home/jos/bin:$PATH | |
# Original background |
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
#!/bin/zsh | |
# Unpack in unique folder | |
dir=${1}_`uuid`; | |
mkdir ${dir}; | |
tar vxf $1 -C ${dir}; | |
# Move to working dir if only one folder unpacked | |
output=${dir}; | |
if [ `find ${dir} -maxdepth 1|wc -l` -eq 2 ]; then |
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
Array.prototype.unique = function() { | |
var OBJ = 'objects_5b299b192302406291224af702b05463'; | |
var set = {}; | |
set[OBJ] = {}; | |
var arr = new Array(); | |
for(var i = 0; i < this.length; i++) | |
{ | |
var e = this[i]; |
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 Main where | |
import System.Environment | |
import Data.ByteString.Char8 as B | |
import Data.Map as M | |
import Data.List as L | |
import Data.Maybe |
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 Main where | |
-- A MoreList is either a More value which contains a list of MoreList's, or | |
-- an Elem value, which contains a single value of type a | |
data MoreList a = More [MoreList a] | |
| Elem a | |
-- printE takes a MoreList and prints all its Elem values, | |
-- recursing on More values |
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
> git clone https://github.com/MateVM/hs-java.git | |
Cloning into 'hs-java'... | |
remote: Counting objects: 494, done. | |
remote: Compressing objects: 100% (183/183), done. | |
remote: Total 494 (delta 299), reused 494 (delta 299) | |
Receiving objects: 100% (494/494), 103.25 KiB | 98 KiB/s, done. | |
Resolving deltas: 100% (299/299), done. | |
> cd hs-java | |
> l |
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
(lblX, SIf cond lblY) <- ifP | |
body1 <- untilLabel lblY | |
case lastMay body1 of | |
-- if with else (body1 ends in GOTO) | |
Just (_, SGoto lblZ) -> do | |
body2 <- untilLabel lblZ | |
return [(lblX, SIfElse cond body2 (init body1))] | |
-- if with no else |
OlderNewer