Skip to content

Instantly share code, notes, and snippets.

@bdkosher
Created June 22, 2016 18:52
Show Gist options
  • Save bdkosher/0528d495ea4f725ff4f43013925007c8 to your computer and use it in GitHub Desktop.
Save bdkosher/0528d495ea4f725ff4f43013925007c8 to your computer and use it in GitHub Desktop.
Simple base-64 decoder for command line use
@Grab(group='commons-codec', module='commons-codec', version='1.10')
import org.apache.commons.codec.binary.Base64
println new String(Base64.decodeBase64(args[0]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment