Skip to content

Instantly share code, notes, and snippets.

@xelxebar
xelxebar / fcat.c
Last active August 29, 2015 14:19
fcat: A file union server
/* fcat: A file union server
*
* fcat <pipe_path> [<file 1> [<file 2> [...]]]
*
* This little program creates a pipe at pipe_path which acts like a file with
* the concatenated contents of a list o files.
*
* For debugging and troubleshooting purposes a small logging system is also
* provided.
*
@xelxebar
xelxebar / cabal-store
Created August 20, 2015 06:26
Cabal wrapper to manage a store of independently sandboxed packages.
#! /usr/bin/env sh
# vim: filetype=sh :
function __init__ () {
#--- Module Start ---#
### Global Variables ###
typeset -A ErrCode