Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Creds – manage API keys with GPG on the command line.
Lazy version:
$ encfs $HOME/Dropbox/creds $HOME/.creds $ cat >~/bin/creds <<<'EOF' #!/bin/sh $CREDS=$HOME/.creds/$2.sh case "$1" in add|edit) $EDITOR $CREDS [ -f $CREDS ] && chmod +x $CREDS ;; list) echo $HOME/.creds/*.sh \ | xargs -I '{}' -n1 basename {} .sh \ | less -SRFX ;; esac EOF $ chmod +x ~/bin/creds
There are no comments on this comment yet.
Lazy version:
EDIT: lessen <pre> width