Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 2.15 KB

README.md

File metadata and controls

37 lines (31 loc) · 2.15 KB

shmit

stuff that does not deserve to be split into multiple repos

scripts

File Description
scripts/argvtoc shellscript for printing argv as c array. Useful for debugging and calling exec*() by hand. Public domain
scripts/screenshot shellscript for doing screenshots on x11 and saving them in clipoard and disk. Public domain
scripts/marktable shellscript for converting tabular data into markdown syntax. Public domain
scripts/gmintbl shellscript for minifing google benchmark output. Public domain
scripts/codepoint shellscript for printing utf8 stdin as list of unicode codepoints Public domain
scripts/euclid awkscript that executes extended euclidean algorithm step-by-step Public domain

shlag - single header libs libs that don't deserve separate repos

File Description
shitest.h Minimal unittesting lib. Written due to my discontent with fullblown frameworks like gtest. UNSTABLE
shlag_b64.h base64 implementation with support for inplace enc/dec. UNSTABLE
shlag_pcg.h 32 bit pcg prng wrapped in single header lib along fast, unbiased algo for randrange(). STABLE, MIT Licensed

There are examples in shlag/examples/ and tests in shlag/tests/

abyss - random, poorly documented stuff

File Description
trie.cpp Simple, universal trie/prefix-tree implementation

building tests and examples

In root project dir run:

meson setup build/
meson compile -C build/

executables will be outputed into build/ dir

For quick check you can use meson test -C build which will run some tests and examples. NOTE: output is way less verbose than when running them by hand