Skip to content

Latest commit

 

History

History
26 lines (13 loc) · 805 Bytes

README.md

File metadata and controls

26 lines (13 loc) · 805 Bytes

Introduction

This repository aims to provide smallest and simplest possible working code examples.

Examples

sndgen

Smallest possible program using ALSA to generate sine signals. Based on speaker-test from alsa-utils.

monoplexer

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.

lua

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.

evdev

Prints events gathered from chosen evdev input. May require root privileges. Based on evtest.

webcam

Takes photo using webcam and saves it in PPM format.