<commit_before># Template of codes

Here remain many examples of source files I have developed for years.

Those examples of code are mostly written in *C/C++*, *Shell/Bash*, and
*make/Makefile*. Those languages are the foundations of *low-level* and *system*
development.

Some of these examples, as [zpc-publisher,zpc-subscriber] or [docker-shell],
have served as *proof of concept*. The primary goal was to get familiar with new
libraries; sometimes to mix libraries together as [ProtoBuf] and [ZeroMQ] with
[zpc-publisher,zpc-subscriber]. Latter, some have become *standalone* projects:
[docker-shell] gave birth to [dosh].

Others examples, such as [getopt] or [hexdump], are good templates to get
started with a brand new project or to reuse code.

## C/C++

[addressbook](c++/protobuf/README.md) - example of how to use protobuf API and
create a Makefile

[alarm](c/alarm/README.md) - example of how to use alarm function

[ueventcat](c/netlink/README.md) - concatenate UEVENT(s) to standard output

[blkpg-part](c/ioctl/README.md) - partition table and disk geometry handling
utility

[daemonize](c/daemonize/README.md) - create daemon process

[epoll](c/epoll/README.md) - example of how to use epoll API

[getopt](c/getopt/README.md) - example of how to use getopt\_long function

[hexdump](c/hexdump/README.md) - display buffer content in hexadecimal and
ascii

[ini](c/parser/ini/README.md) - simple C ini parser without context

[line](c/parser/line/README.md) - simple C line parser without context

[pexec](c/pipe/README.md) - execute file in an interprocess channel

[publisher,epoll-publisher,subscriber](c/zmq/README.md) - simple ZMQ publisher
and subscriber applets

[mime-types](c/regex/README.md) - example of how to use regex API

[sigwaitinfo](c/sigwaitinfo/README.md) - example of how to use sigwaitinfo
function

[sqlite-blob](c/sqlite/README.md) - example of how to insert/replace or select a
blob in sqlite

[uevent](c/parser/uevent/README.md) - simple C kobject/uevent parser without
context

[verrevcmp](pkg/version-lt/README.md) - comparison of version numbers

[zombize](c/zombize/README.md) - create zombie process

[zpc-publisher,zpc-subscriber](c/zmq+protobuf/README.md) - simple ZMQ publisher
and subscriber applets using protobuf messages

## MAKEFILE

[asm-setup](android/asm) - asm installer written in make<commit_msg>README.md: fix alphabetical applet order<commit_after># Template of codes

Here remain many examples of source files I have developed for years.

Those examples of code are mostly written in *C/C++*, *Shell/Bash*, and
*make/Makefile*. Those languages are the foundations of *low-level* and *system*
development.

Some of these examples, as [zpc-publisher,zpc-subscriber] or [docker-shell],
have served as *proof of concept*. The primary goal was to get familiar with new
libraries; sometimes to mix libraries together as [ProtoBuf] and [ZeroMQ] with
[zpc-publisher,zpc-subscriber]. Latter, some have become *standalone* projects:
[docker-shell] gave birth to [dosh].

Others examples, such as [getopt] or [hexdump], are good templates to get
started with a brand new project or to reuse code.

## C/C++

[addressbook](c++/protobuf/README.md) - example of how to use protobuf API and
create a Makefile

[alarm](c/alarm/README.md) - example of how to use alarm function

[blkpg-part](c/ioctl/README.md) - partition table and disk geometry handling
utility

[daemonize](c/daemonize/README.md) - create daemon process

[epoll](c/epoll/README.md) - example of how to use epoll API

[getopt](c/getopt/README.md) - example of how to use getopt\_long function

[hexdump](c/hexdump/README.md) - display buffer content in hexadecimal and
ascii

[ini](c/parser/ini/README.md) - simple C ini parser without context

[line](c/parser/line/README.md) - simple C line parser without context

[mime-types](c/regex/README.md) - example of how to use regex API

[pexec](c/pipe/README.md) - execute file in an interprocess channel

[publisher,epoll-publisher,subscriber](c/zmq/README.md) - simple ZMQ publisher
and subscriber applets

[sigwaitinfo](c/sigwaitinfo/README.md) - example of how to use sigwaitinfo
function

[sqlite-blob](c/sqlite/README.md) - example of how to insert/replace or select a
blob in sqlite

[uevent](c/parser/uevent/README.md) - simple C kobject/uevent parser without
context

[ueventcat](c/netlink/README.md) - concatenate UEVENT(s) to standard output

[verrevcmp](pkg/version-lt/README.md) - comparison of version numbers

[zombize](c/zombize/README.md) - create zombie process

[zpc-publisher,zpc-subscriber](c/zmq+protobuf/README.md) - simple ZMQ publisher
and subscriber applets using protobuf messages

## MAKEFILE

[asm-setup](android/asm) - asm installer written in make
{'fraction_non_alphanumeric': 0.10715039021303523, 'fraction_numerical': 0.0, 'mean_word_length': 4.672248803827751, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1102466', 'n_tokens_mistral': 1584, 'n_tokens_neox': 1534, 'n_words': 519}