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
* `st-xx-lha-convert` extract `*.lha` archives and convert samples to WAV, on UNIX
Last 5 commits (shortlog)
Date Author Short message Commit hash
2021-05-04 Sigrid add st-xx-lha-convert 4b95f4f4f1f3caae8e09e16f9bcd4af303a33a8b
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
Files (browse)
LICENSE
README.md
c_builtins.c
c_builtins_amd64.s
clear
helpmeport
lrint.c
msr.c
nanosec.c
qp.c
qp.h
st-xx-lha-convert
watch
xml.c
xml.h