shithub: snippets

ref: 1f4f888404943771791d9433de9be98ad30577fb
dir: /README.md/

View raw version
# Snippets

Random snippets of code and scripts that are in public domain.  Just
copy and use for whatever you want.  Except for doing any kind of
harm.

* `c_builtins*` a few __builtin_* for Plan 9, useful for porting other software
* `lrint.c` lrint* implementation
* `msr.c` MSR reading tool
* `nanosec.c` nanosec(), a replacement for (way more expensive) nsec()
* `qt.[ch]` [QP tries](https://dotat.at/prog/qp/README.html)
* `xml.[ch]` XML parser, works as a streaming parser as well

* `watch` watch-like tool, imagine