Skip to content

Instantly share code, notes, and snippets.

View kennedyj's full-sized avatar

Josh Kennedy kennedyj

View GitHub Profile
@kennedyj
kennedyj / nxfetch.sh
Created January 30, 2012 22:32
Fetch artifacts from nexus.
#!/bin/bash
# Argument = -h -v -i groupId:artifactId:version -c classifier -p packaging -r repository
#shopt -o -s xtrace
# Define Nexus Configuration
NEXUS_BASE=http://repository.example.com:8081/nexus
REST_PATH=/service/local
ART_REDIR=/artifact/maven/redirect
@kennedyj
kennedyj / Default (Linux).sublime-keymap
Created September 5, 2012 18:52 — forked from coldnebo/Default (Linux).sublime-keymap
simple scripts to prettify your xml and json in sublime text 2
[
{ "keys": ["ctrl+shift+x"], "command": "tidy_xml" },
{ "keys": ["ctrl+shift+j"], "command": "prettify_json" }
]