3 releases
Uses old Rust 2015
0.1.2 | Mar 31, 2019 |
---|---|
0.1.1 | May 28, 2018 |
0.1.0 | May 27, 2018 |
#2 in #colour
7KB
148 lines
huedump
A file dump creator that cycles through hues to colour each byte! Because why not?
Special mention to @STPR for deciphering the text in that GIF and posting it here (I must say, I'm impressed; I didn't expect anyone to automate the process like that).
Installation
- Installl Rust
- Run
cargo install huedump
(It's that simple!)
Usage
Thanks to this great library called clap
, you can just do huedump --help
for detailed help. Here's a short version:
huedump <FILE> [--encoding=ENCODING]
Where ENCODING
is anyone of:
hex
for hexadecimal (default)bin
for binarydec
for decimaloct
for octal
<FILE>
is the path to the file you want to dump. Any path works fine!
Here's how you dump ~/file.dat
in decimal (LINUX).
huedump ~/file.dat --encoding=dec
Here's the same thing in Windows.
huedump C:/Users/<your username here>/file.dat --encoding=dec
This works on files in the same directory you're in too. Relative paths are allowed.
cd ~
huedump file.dat --encoding=dec
Dependencies
~2MB
~26K SLoC