https://github.com/tsertkov/workout-logs-scripting
Playground: Log stream generation, processing and graphing.
https://github.com/tsertkov/workout-logs-scripting
Last synced: about 2 months ago
JSON representation
Playground: Log stream generation, processing and graphing.
- Host: GitHub
- URL: https://github.com/tsertkov/workout-logs-scripting
- Owner: tsertkov
- Created: 2019-02-18T17:42:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-05T10:34:07.000Z (about 6 years ago)
- Last Synced: 2025-02-01T23:41:44.782Z (4 months ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 1.06 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Workout: Logs scripting
This repo contains scripts for playing around following topics:
- Emitting log stream
- Graphing log stream
- Processing log stream## Prerequisites
Docker, `make`, and `bash` must be available.
## Usage
Run `make` to recreate all artifacts.
> NB! It will take a lot of time to build docker images on first run.
- `make all-browser`: Open `js-all-in-one/index.html` in browser.
- `make all-perl`: Run all perl parts sequentially (See `part-*/perl/`).
- `make all-bash`: Run all bash parts sequentially (See `part-*/bash/`).
- `make all-python`: Run all bash parts sequentially (See `part-*/python/`).
- `make stream-bash`: Build all artifacts with streams using bash into `stream-artifacts/`.
- `make stream-perl`: Build all artifacts with streams using perl into `stream-artifacts/`.
- `make stream-python`: Build all artifacts with streams using python into `stream-artifacts/`.```bash
$ time (make stream-perl)
>> Building all artifacts with streams (using perl).
>> Done. See files in stream-artifacts/ directory.
( make stream-perl; ) 0.06s user 0.10s system 5% cpu 2.957 total
```## Example artifacts
### RRDTool (Bash)
### GD::Graph (Perl)
### Matplotlib (Python)
### D3 (JavaScript)
