shithub: snippets

Clone

clone: git://shithub.us/sigrid/snippets gits://shithub.us/sigrid/snippets
push: hjgit://shithub.us/sigrid/snippets
patches to: sigrid on grid, freenode, or ftrvxmtrx@gmail.com

Last commit

4b95f4f4 – Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com> authored on 2021/05/04 19:16
add st-xx-lha-convert

About

# 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