Simple portable programs that make using my desktop easier, while teaching me how things work in the backstage

kzimmermann 17cb5318dd updated .gitignore před 8 měsíci
cpu-utils 6755aeb5fc finally a usable throttler. před 2 roky
freebsd d06c3545a9 Created simple util to toggle FreeBSD sound sink (headphones) před 8 měsíci
mini-poker ffdee44f52 cosmetic improvements in poker před 1 rokem
tempconv 77355e789c created latest function for temp conv před 2 roky
.gitignore 17cb5318dd updated .gitignore před 8 měsíci
LICENSE f04b7d15be Initial commit před 2 roky
README.md 00cab8ceb6 added the mini poker před 2 roky
cputemp.c 6ce071e090 created cputemp před 2 roky
layoutswitch.c 40411b62d7 Improved layout switching cycles by expanding it with arrays před 2 roky
parsechar.c 652fd57b8e study about parsing characters, readme fix před 2 roky
setbrightness.c a768629a86 fixed segfault bug před 2 roky
stringtest.c 14eee01e0b Test for deploy key před 8 měsíci
zzz.c 2fca3436e5 Fixed small syntax error před 2 roky

README.md

Simple miscelaneous Linux utilities that teach you how stuff works

Because sometimes reinventing the wheel will teach you lots of great stuff about how the wheel works and how you can improve it!

Contents

Simple, mostly self-contained programs written in C that do the raw way the stuff that sometimes a full-blown DE would solve. Why, then, would I ever want to code something like these, or even use it?

Because they solve the same problems but with an order of magnitude less resource consumption. And also teach you what is really going on in the back while you do it.

These are all programs that are designed to be easy and fast to compile, and used in the terminal, making them suitable for pretty much any environment, even the simple console.

Instructions

Clone this repo and, where Makefiles aren't available yet, a simple:

$ gcc -Wall -o bin/program program.c

Or something similar should suffice for any one of the programs. There will be a binary placed in a bin/ directory of the cloned repository. Place that binary somewhere in your $PATH and you're good to go.

On the other hand, subdirectories for specific programs contain their own Makefiles (another study of mine!) and a simple

$ make

Is all you need.

At this time, I'm not including external config files for these programs. Edit the source code at the specific config bits and recompile to change how this works.

License

Copyright 2022 kzimmermann. All programs in this repo are released under the GNU GPL v3, except where otherwise noted.