Used to go to some site when in need of en/de-code from/to base64. Turns out we can do that from the shell directly.
echo -n 'My TextTo Encode' | base64
-n is to prevent the new line of the echo from being included in the result(by default
echo outputs a trailing newline).
echo 'My Encoded TExt | base64 --decode.
we can also use
-d(Linux) instead of
--decode for short.