This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
//usr/bin/env groovy -cp "$(dirname "$0")" "$0" $@; exit $? | |
if (args.size() == 0) { | |
println 'missing root dir' | |
System.exit(1) | |
} | |
def linter = new AvroSchemaLinter() | |
try { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Functions to clean up docker containers on mac | |
# Based on this blog article, however is more mac friendly (no xargs -r) | |
# http://blog.stefanxo.com/2014/02/clean-up-after-docker/ | |
# Searches for images and containers that are named/tagged with '<none>' and removes them | |
# If no results, prints out the usage information | |
#Create functions since aliases don't play nicely with subshells | |
dci() { |