Skip to content

Instantly share code, notes, and snippets.

@willjasen
Last active August 29, 2015 14:05
Show Gist options
  • Save willjasen/6eda7b5e2a4bcdeab1a7 to your computer and use it in GitHub Desktop.
Save willjasen/6eda7b5e2a4bcdeab1a7 to your computer and use it in GitHub Desktop.
#!/usr/bin/ruby
# Calculate the entropy of a file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment