sigrid/snippets

Description
# 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

* `clear` removes all program output from the terminal, leaving only commands used
* `helpmeport` generates files needed to port a Unix library or a binary
* `watch` watch-like tool, imagine
Last 5 commits (shortlog)
Date Author Short message Commit hash
2021-03-08 Sigrid helpmeport: reduce header clutter b5485070f68da54643f4a69f156390409947a054
2021-03-08 Sigrid helpmeport: add more stuff 3160d64112b0f517da51ad82ec4f00f0a5ebe6e3
2021-03-03 Sigrid helpmeport: clean up the mess of OFILES d3bd7f0977707fe012384b3dd6ce5e2a3048704c
2021-03-03 Sigrid helpmeport: fix some shit d44e426a561d752cdcb5d9484e20e66b25676c77
2021-03-03 Sigrid add helpmeport script 6669b2c0a19c010493f5343ec136987081672efd
Files (browse)
LICENSE
README.md
c_builtins.c
c_builtins_amd64.s
clear
helpmeport
lrint.c
msr.c
nanosec.c
qp.c
qp.h
watch
xml.c
xml.h