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
import os, cmd, sys, re, glob, os.path, shutil, zipfile, tarfile, gzip | |
# Credits | |
# | |
# The python code here was written by pudquick@github | |
# | |
# License | |
# | |
# This code is released under a standard MIT license. | |
# |
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
--- base64.lua | |
-- | |
-- V0.3 for Lua 5.1 | |
-- | |
-- A full description of the specification can be found here: http://tools.ietf.org/html/rfc4648 | |
-- | |
-- To encode, use base64.encode(input), where input is a string of arbitrary bytes. The output is a Base64 encoded string. | |
-- To decode, use base64.decode(input), where input is a Base64 encoded string. The output is a string of arbitrary bytes. | |
-- | |
-- The library will throw an error on invalid input, you can catch these as such: |