Skip to content

ska-ops/stream-sampler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Description

Random data sampler for a stream. It samples random data out of stream.

How to run

PHP version must be >= 7.0.0

Pass data through pipes. For checking with file please create a file and put random data into it.

$ cat test.txt | ./stream-sampler 5
$ dd if=/dev/urandom count=100 bs=1MB | base64 | ./stream-sampler 5

Generate random data from language

$ ./stream-sampler 5 --generate-random

Run Tests

$ phpunit

About

Picks random data from stream

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages