Skip to content

Instantly share code, notes, and snippets.

View thorhs's full-sized avatar

Þórhallur Sverrisson thorhs

View GitHub Profile

Keybase proof

I hereby claim:

  • I am thorhs on github.
  • I am thorhs (https://keybase.io/thorhs) on keybase.
  • I have a public key ASCvjWWs6eb3NGCKJF66NMUBGQNPJAUAC1jcMO0-p2D8Vgo

To claim this, I am signing this object:

@thorhs
thorhs / nxfetch.sh
Last active August 29, 2015 13:57
Improved version of nxfetch.sh which includes SHA1 checking of the downloaded artifact, quiet/verbose options, output to file and a few more.
#!/bin/bash -eu
#shopt -o -s xtrace
# Define Nexus Configuration
NEXUS_BASE=http://nexus.example.com:8001/nexus
REST_PATH=/service/local
ART_REDIR=/artifact/maven/redirect
META_PATH=/artifact/maven/resolve