Other articles


  1. ndjson-env - Loads environment from ndjson files, selected by `jq ._name`

    Description

    I have a tool called pgpass-env that, given a suitably commented PostgreSQL ~/.pgpass file will allow you to easily set the environmental variables for software that doesn't support reading from that format.

    Thinking about this problem, it seems to be a general problem:

    • Given a file, which somehow has …
    read more
  2. jdbc-pipe

    Quick JDBC queries respecting UNIX conventions (environmental variables, STDIN, STDOUT etc)

    Installation

    1. Install the Java SDK, preferably avoiding Oracle.
    2. Install Leiningen.
    3. Check this project out and cd into it (git clone git@github.com:forbesmyester/jdbc-pipe.git && cd jdbc-pipe)
    4. Run lein uberjar.
    5. Create the destination directories in to ~/.local/bin …
    read more

links