Skip to content

Instantly share code, notes, and snippets.

@chrisdone
Created February 8, 2019 14:53
Show Gist options
  • Save chrisdone/f19a98e66056be447c746afe78f81df7 to your computer and use it in GitHub Desktop.
Save chrisdone/f19a98e66056be447c746afe78f81df7 to your computer and use it in GitHub Desktop.
find ~/Work -name stack.yaml | xargs grep -o '^resolver: \([^#]*\)'
find ~/Work -name stack.yaml | xargs grep -oh '^resolver: \([^#]*\)' | sort | uniq
du -hc ~/.stack/snapshots/* | egrep 'snapshots/.*linux/[^/]*$'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment