Skip to content

Very simplistic examples of use of some complicated at first sight tools, libraries and mechanisms.

Notifications You must be signed in to change notification settings

proton-decay/simplistic-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Very simplistic examples of use of some complicated at first sight tools, libraries and mechanisms.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published