There are two python programs in this gist
The first one is binary_letters.py
It has two functions: binary_to_text and text_to_binary
The seconf one is hex_letters.py
It has two functions: string_to_hex and hex_to_string
| # --------------------------------------------------------------------------- | |
| # | |
| # Description: This file holds all my BASH configurations and aliases | |
| # | |
| # Sections: | |
| # 1. Environment Configuration | |
| # 2. Make Terminal Better (remapping defaults and adding functionality) | |
| # 3. File and Folder Management | |
| # 4. Searching | |
| # 5. Process Management |
| /* | |
| Example of how to write binary stuff in C++ | |
| Illustrates some of the various quirks/annoyances | |
| */ | |
| #include <iostream> | |
| #include <fstream> | |
| #include <string> | |
| #include <vector> |