This repository aims to provide smallest and simplest possible working code examples.
Smallest possible program using ALSA to generate sine signals. Based on speaker-test
from alsa-utils
.
This program demonstrates how terminal multiplexer can be implemented. Creates new tty, runs new shell, connects it to new terminal and provides basic communication between old and new tty.
Simple demo of Lua based on "Programming in Lua" tutorial. It creates module, reads global variables and tables and runs Lua functions running C functions.
Prints events gathered from chosen evdev input. May require root privileges. Based on evtest
.
Takes photo using webcam and saves it in PPM format.