Syntax-highlighting in your Bash

I've just been working with some xml's recently and was getting annoyed that I don't have any syntaxhighlighting on the bash stdout.. Ok, I can save it and let then vim open it, so I've got my syntax highlighting. Not what I want ;-) After a quick ...

more ...

slow /dev/urandom

Something that always bugged me, was the speed of the /dev/urandom device, which provides random data. I needed it to benchmark some network devices and urandom just wasn't fast enough for that :-D
Anyway, openssl provides also a way to generate some random data, which is much faster ...

more ...

networkers .bashrc

I couldn't find anything existing to lookup a specific TCP/UDP port, so I quickly created some messy bash functions. What I wanted is to have a simple command to lookup a specific TCP/UDP Port, and also to lookup a MAC-address -> manufacturer.

script

In order to get this ...

more ...

check ssl certificate expiry dates

Another one for today.. :-D
I wanted to find a quick way to show me the expiry dates of ssl certificates on the fly, without going through any browsers etc.
A combination of sed and openssl did the job.

``` {.lang:sh .decode:true} echo "" | openssl s_client -showcerts -connect www.ubs ...

more ...

remove print restriction in pdf files

I've just received a PDF that I wanted to convert for my ebook-reader, but it was protected with a password + was restricted for printing. So I didn't have a chance to convert it into a suitable format for it. ahm... aren't there some tools around to decrypt ...

more ...

secure (audio) ripping under linux

Finally, somebody wrote an alternative to Exact Audio Copy, which now runs under linux (EAC worked fine with WINE under linux altough..). For those who don't know, EAC is THE well-known ripper, which supports accuraterip, and now finally there's a linux alternative!
..for those who don't buy ...

more ...