Skip to content

Instantly share code, notes, and snippets.

View nickavv's full-sized avatar
🤖
beep boop

Nick Ver Voort nickavv

🤖
beep boop
View GitHub Profile
@nickavv
nickavv / pom.xml
Created March 24, 2017 18:15
An example of how to override a transitive dependency in Maven
<dependency>
<groupId>transitive.group.id</groupId>
<artifactId>artifact-id</artifactId>
<version>your.preferred.version</version>
</dependency>
@nickavv
nickavv / .bashrc
Created March 2, 2018 18:34
A nicely colored bash prompt for Mac with current git branch
function parse_git_branch {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\[\1\]/'
}
export PS1="\[\e[00;36m\]\u@\h:\[\e[0m\]\[\e[00;35m\]\w\[\033[0;31m\]\$(parse_git_branch)\[\e[00;35m\]\\$\[\e[0m\] "