Junk


Česky | English

Any undocumented and seldom maintained quick hacks ends up here. Majority is unusable for anyone else, but maybe someone can found something useful here.

Syntax highlighter for XML

It's script for sed(1) editor, but wrapped in shell script <span style="t"> is used by Linux Software

#!/bin/bash
  
sed -e 's/&/&amp;/g' -e 's/</\&lt;/g' -e 's/>/\&gt;/g' \
    -e 's/&lt;/<span class="t">\&lt;/g' \ 
    -e 's/&gt;/\&gt;<\/span>/g'

pfs

Some time ago I wanted to modify image of hard disk with DOS-style partitions, so I've written trivial filesystem using fuse in order to allow easy manipulation with such images.

pfs.tar.bz2

byc

Simple tool for measuring data flow thru pipe. Data can be either discarded or sent to stdout.

byc.tar.gz

uuid.c

Simplest way to generate version 4 (random) UUID on Linux (unix with reasonable /dev/urandom).

uuid.c

sse - Simple Symetric Encryption

Simple program for symetric encryption (AES) combined with HMAC authentication (something like HMAC-SHA-256) of arbitrary files.

sse.tar.gz
$Id: junk.xml 81 2008-02-11 19:38:49Z dfox $