Skip to content

Instantly share code, notes, and snippets.

View sskrla's full-sized avatar

Steve Skrla sskrla

  • Tenable
  • Salt Lake City, UT
View GitHub Profile
#!/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 {
@spuder
spuder / .bash_profile
Last active August 29, 2015 14:03
Docker Cleanup for mac
# 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() {