Skip to content

Instantly share code, notes, and snippets.

View thomd's full-sized avatar

Thomas Dürr thomd

  • Hamburg, Germany
View GitHub Profile
@thomd
thomd / cli-libs.md
Last active November 18, 2023 12:41
A list of libraries for creating command line interfaces #list #cli
@rapha
rapha / visualise
Created April 30, 2009 07:55
Visualise the class hierarchy in a Java project with this script
#!/bin/bash
DIR=$1
FORMAT=${2:-'pdf'}
FILENAME="hierarchy.$FORMAT"
cat \
<(echo 'digraph types {') \
<(ack '(class|interface) \w+ (extends|implements) \w+' --java -h -o $DIR | \
awk '{print "\"" $4 "\"", "->", "\"" $2 "\""}') \
<(echo '}') \