Skip to content

zarakay/horse-in-aisle-five

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

horse-in-aisle-five

Novel file 'compression' method from XKCD's "What If?" series. Original here: http://what-if.xkcd.com/34/.

How it works

Zeros get encoded into the string "There's a horse in aisle five.". Ones get encoded into the string "My house is full of traps.". Simple.

Dependencies

  • bitarray
  • bitstring

Running

Encode a file python horse_encode.py [filename] The encoded file will be named filename.horse.

Decode a file python horse_decode.py [filename] The decoded file will be named filename.unhorse.

About

Novel file 'compression' method from XKCD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%