Created
January 21, 2019 17:10
-
-
Save jlizanab/3b4525bad15cc1de8104f51947e58116 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#add the following code to your bash_profile | |
#open new terminal to test it | |
base64d(){ | |
printf "`echo $1 | base64 --decode` Copied to clipboard!\n" | |
echo $1 | base64 --decode | pbcopy | |
} | |
base64e(){ | |
#echo -n '35855518' | openssl base64 | |
printf "`echo -n $1 | openssl base64` Copied to clipboard!\n" | |
echo -n $1 | openssl base64 | pbcopy | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment