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.
-
atomics9*a set of atomics for Plan 9 -
c_builtins*a few _builtin* for Plan 9, useful for porting other software -
dial.cdial(2) (with "proto!hostname!port" support) for POSIX -
kbd.[ch]API to handle keyboard on lower level, with all modifiers accessible, on Plan 9 -
lrint.clrint* implementation -
msr.cMSR reading tool -
nanosec.cnanosec(), a replacement for (way more expensive) nsec() -
qt.[ch]QP tries -
treewalk.cMorris traversal using threading (pre-, in- and post-order) -
xml.[ch]XML parser, works as a streaming parser as well -
clearremoves all program output from the terminal, leaving only commands used -
gridupconnects to 9grid chat -
helpmeportgenerates files needed to port a Unix library or a binary -
watchwatch-like tool, imagine -
st-xx-lha-convertextract*.lhaarchives and convert samples to WAV, on UNIX