Skip to content

Instantly share code, notes, and snippets.

@autf
Created September 25, 2022 13:34
Show Gist options
  • Save autf/6a9047cc4e4ee09d1c299e0a4e5c059e to your computer and use it in GitHub Desktop.
Save autf/6a9047cc4e4ee09d1c299e0a4e5c059e to your computer and use it in GitHub Desktop.
find -name '*.rs' -exec bash -c \
'wc -c $0; base64 -w0 < $0 | wc -c; ruby -r uri -e "p URI.encode_www_form_component(STDIN.read).size" < $0; echo' {} \;
@autf
Copy link
Author

autf commented Sep 25, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment