kazbek/README.md

29 lines
742 B
Markdown
Raw Normal View History

2025-01-28 11:59:18 +01:00
## 7digital.rb
7digital sells digital music but they can't handle files with non-English names.
7digital.rb takes 2 arguments, a zip archive with audio files and a target
directory. It extracts the archive into the directory and renames its contents
according to the meta information saved in the audio files. The audio files are
expected to be in 2 directories, the artist and album directories. These
directories are also renamed.
2025-02-01 10:37:15 +01:00
## mock\_server.rb
mock\_server.rb takes some JSON on its STDIN and starts a simple HTTP server that
slowly (in chunks) answers all requests with the given input.
For example:
```sh
echo '{"var": "stuff"}' | ./bin/mock_server.rb
```
and in another session:
```
curl localhost:8082
```
2025-01-28 11:59:18 +01:00
## tea-cleaner